Bug 107501 - CP2110 - no serial device created
Summary: CP2110 - no serial device created
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-08 16:09 UTC by Martin Kozelsky
Modified: 2015-11-13 11:23 UTC (History)
0 users

See Also:
Kernel Version: 4.2.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Martin Kozelsky 2015-11-08 16:09:42 UTC
Connecting digital LCR multimeter Uni-t UT612 with USB to serial converter chip CP2110 to PC creates no serial device.

[ 4269.180444] usb 12-2: new full-speed USB device number 2 using ohci-pci
[ 4269.337372] usb 12-2: New USB device found, idVendor=10c4, idProduct=ea80
[ 4269.337377] usb 12-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4269.337380] usb 12-2: Product: CP2110 HID USB-to-UART Bridge
[ 4269.337382] usb 12-2: Manufacturer: Silicon Laboratories
[ 4269.337383] usb 12-2: SerialNumber: 0039764C
[ 4269.437678] hid-generic 0003:10C4:EA80.0006: hiddev0,hidraw3: USB HID v1.11 Device [Silicon Laboratories CP2110 HID USB-to-UART Bridge] on usb-0000:00:13.0-2/input0
[ 4269.455096] usbcore: registered new interface driver cp210x
[ 4269.455176] usbserial: USB Serial support registered for cp210x


lsusb:

Bus 012 Device 002: ID 10c4:ea80 Cygnal Integrated Products, Inc. CP210x UART Bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x10c4 Cygnal Integrated Products, Inc.
  idProduct          0xea80 CP210x UART Bridge
  bcdDevice            1.00
  iManufacturer           1 Silicon Laboratories
  iProduct                2 CP2110 HID USB-to-UART Bridge
  iSerial                 3 0039764C
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     919
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)


cat /proc/tty/driver/usbserial 

usbserinfo:1.0 driver:2.0

nothing else.


I tried Ubuntu 14.04 and Fedora22/23. Chip CP2110 should be supported by cp210x module but it doesn't work.
Comment 1 Greg Kroah-Hartman 2015-11-08 17:17:19 UTC
On Sun, Nov 08, 2015 at 04:09:42PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=107501
> 
>             Bug ID: 107501
>            Summary: CP2110 - no serial device created

Please send this to the linux-usb@vger.kernel.org mailing list.
Comment 2 Martin Kozelsky 2015-11-13 11:23:31 UTC
CP2110 isn't basic USB device but USB HID one. Support in module cp210x is a mistake, it will be removed.

More info in mailing list:

http://marc.info/?l=linux-usb&m=144701151428029&w=2

Thanks all

Martin Kozelsky

Note You need to log in before you can comment on or make changes to this bug.