← Back to team overview

kernel-packages team mailing list archive

[Bug 1010600] Re: 0557:1808 Aten CM0264 KVM misdetected as CD-ROM

 

Tapani Tarvainen, as per https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Desktop+Boards&ProductLine=Intel%C2%AE+6+Series+Chipset+Boards&ProductProduct=Intel%C2%AE+Desktop+Board+DH67CF an update is available for your BIOS (0160). If you update to this following https://help.ubuntu.com/community/BiosUpdate , does it change anything? If it doesn't, could you please both specify what happened, and just provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Thank you for your understanding.

** Tags added: bios-outdated-0160

** Description changed:

  Aten CM0264 KVM misbehaves with Ubuntu: it is apparently misdetected as
  CD-ROM, causing long delays and all kinds of strange errors, making the
  KVM all but unusable. (Disconnecting USB cable from it temporarily
  during boot acts as a workaround, albeit a very inconvenient one.)
  
  This happens with 64-bit 10.04 and 12.04 at least (others not tested).
  
- lsusb -v output below. Note in particular 0557:1808 is detected as "mass
- storage".
- 
- Bus 002 Device 010: ID 0557:8021 ATEN International Co., Ltd 
+ WORKAROUND: sed '1i\
+ > SUBSYSTEM=="block", ATTRS{vendor}=="ATEN", GOTO="cdrom_end"' /lib/udev/rules.d/60-cdrom_id.rules >/etc/udev/rules.d/60-cdrom_id.rules
+ 
+  sed '1i\
+ SUBSYSTEM=="block", ATTRS{vendor}=="ATEN", GOTO="persistent_storage_end"' /lib/udev/rules.d/60-persistent-storage.rules > /etc/udev/rules.d/60-persistent-storage.rules
+ 
+ After those at least "udevadm test /dev/sr1" finishes quickly.
+ 
+ lsusb -v output below. Note in particular 0557:1808 is detected as "mass storage":
+ Bus 002 Device 010: ID 0557:8021 ATEN International Co., Ltd
  Device Descriptor:
-   bLength                18
-   bDescriptorType         1
-   bcdUSB               1.10
-   bDeviceClass            9 Hub
-   bDeviceSubClass         0 Unused
-   bDeviceProtocol         0 Full speed (or root) hub
-   bMaxPacketSize0         8
-   idVendor           0x0557 ATEN International Co., Ltd
-   idProduct          0x8021 
-   bcdDevice            1.00
-   iManufacturer           0 
-   iProduct                0 
-   iSerial                 0 
-   bNumConfigurations      1
-   Configuration Descriptor:
-     bLength                 9
-     bDescriptorType         2
-     wTotalLength           25
-     bNumInterfaces          1
-     bConfigurationValue     1
-     iConfiguration          0 
-     bmAttributes         0xe0
-       Self Powered
-       Remote Wakeup
-     MaxPower              100mA
-     Interface Descriptor:
-       bLength                 9
-       bDescriptorType         4
-       bInterfaceNumber        0
-       bAlternateSetting       0
-       bNumEndpoints           1
-       bInterfaceClass         9 Hub
-       bInterfaceSubClass      0 Unused
-       bInterfaceProtocol      0 Full speed (or root) hub
-       iInterface              0 
-       Endpoint Descriptor:
-         bLength                 7
-         bDescriptorType         5
-         bEndpointAddress     0x81  EP 1 IN
-         bmAttributes            3
-           Transfer Type            Interrupt
-           Synch Type               None
-           Usage Type               Data
-         wMaxPacketSize     0x0001  1x 1 bytes
-         bInterval             255
+   bLength                18
+   bDescriptorType         1
+   bcdUSB               1.10
+   bDeviceClass            9 Hub
+   bDeviceSubClass         0 Unused
+   bDeviceProtocol         0 Full speed (or root) hub
+   bMaxPacketSize0         8
+   idVendor           0x0557 ATEN International Co., Ltd
+   idProduct          0x8021
+   bcdDevice            1.00
+   iManufacturer           0
+   iProduct                0
+   iSerial                 0
+   bNumConfigurations      1
+   Configuration Descriptor:
+     bLength                 9
+     bDescriptorType         2
+     wTotalLength           25
+     bNumInterfaces          1
+     bConfigurationValue     1
+     iConfiguration          0
+     bmAttributes         0xe0
+       Self Powered
+       Remote Wakeup
+     MaxPower              100mA
+     Interface Descriptor:
+       bLength                 9
+       bDescriptorType         4
+       bInterfaceNumber        0
+       bAlternateSetting       0
+       bNumEndpoints           1
+       bInterfaceClass         9 Hub
+       bInterfaceSubClass      0 Unused
+       bInterfaceProtocol      0 Full speed (or root) hub
+       iInterface              0
+       Endpoint Descriptor:
+         bLength                 7
+         bDescriptorType         5
+         bEndpointAddress     0x81  EP 1 IN
+         bmAttributes            3
+           Transfer Type            Interrupt
+           Synch Type               None
+           Usage Type               Data
+         wMaxPacketSize     0x0001  1x 1 bytes
+         bInterval             255
  Hub Descriptor:
-   bLength               9
-   bDescriptorType      41
-   nNbrPorts             4
-   wHubCharacteristic 0x0009
-     Per-port power switching
-     Per-port overcurrent protection
-   bPwrOn2PwrGood       50 * 2 milli seconds
-   bHubContrCurrent    100 milli Ampere
-   DeviceRemovable    0x00
-   PortPwrCtrlMask    0x1e
-  Hub Port Status:
-    Port 1: 0000.0303 lowspeed power enable connect
-    Port 2: 0000.0100 power
-    Port 3: 0000.0100 power
-    Port 4: 0000.0100 power
+   bLength               9
+   bDescriptorType      41
+   nNbrPorts             4
+   wHubCharacteristic 0x0009
+     Per-port power switching
+     Per-port overcurrent protection
+   bPwrOn2PwrGood       50 * 2 milli seconds
+   bHubContrCurrent    100 milli Ampere
+   DeviceRemovable    0x00
+   PortPwrCtrlMask    0x1e
+  Hub Port Status:
+    Port 1: 0000.0303 lowspeed power enable connect
+    Port 2: 0000.0100 power
+    Port 3: 0000.0100 power
+    Port 4: 0000.0100 power
  Device Status:     0x0001
-   Self Powered
- 
- Bus 002 Device 011: ID 0557:1808 ATEN International Co., Ltd 
+   Self Powered
+ 
+ Bus 002 Device 011: ID 0557:1808 ATEN International Co., Ltd
  Device Descriptor:
-   bLength                18
-   bDescriptorType         1
-   bcdUSB               2.00
-   bDeviceClass            0 (Defined at Interface level)
-   bDeviceSubClass         0 
-   bDeviceProtocol         0 
-   bMaxPacketSize0        64
-   idVendor           0x0557 ATEN International Co., Ltd
-   idProduct          0x1808 
-   bcdDevice            3.10
-   iManufacturer           1 ATEN
-   iProduct                2 USB-VNC
-   iSerial                 0 
-   bNumConfigurations      1
-   Configuration Descriptor:
-     bLength                 9
-     bDescriptorType         2
-     wTotalLength           82
-     bNumInterfaces          3
-     bConfigurationValue     1
-     iConfiguration          0 
-     bmAttributes         0x40
-       (Missing must-be-set bit!)
-       Self Powered
-     MaxPower               32mA
-     Interface Descriptor:
-       bLength                 9
-       bDescriptorType         4
-       bInterfaceNumber        0
-       bAlternateSetting       0
-       bNumEndpoints           2
-       bInterfaceClass         8 Mass Storage
-       bInterfaceSubClass      6 SCSI
-       bInterfaceProtocol     80 Bulk-Only
-       iInterface              2 USB-VNC
-       Endpoint Descriptor:
-         bLength                 7
-         bDescriptorType         5
-         bEndpointAddress     0x81  EP 1 IN
-         bmAttributes            2
-           Transfer Type            Bulk
-           Synch Type               None
-           Usage Type               Data
-         wMaxPacketSize     0x0200  1x 512 bytes
-         bInterval               0
-       Endpoint Descriptor:
-         bLength                 7
-         bDescriptorType         5
-         bEndpointAddress     0x02  EP 2 OUT
-         bmAttributes            2
-           Transfer Type            Bulk
-           Synch Type               None
-           Usage Type               Data
-         wMaxPacketSize     0x0200  1x 512 bytes
-         bInterval               0
-     Interface Descriptor:
-       bLength                 9
-       bDescriptorType         4
-       bInterfaceNumber        1
-       bAlternateSetting       0
-       bNumEndpoints           1
-       bInterfaceClass         3 Human Interface Device
-       bInterfaceSubClass      1 Boot Interface Subclass
-       bInterfaceProtocol      1 Keyboard
-       iInterface              3 Kb
-         HID Device Descriptor:
-           bLength                 9
-           bDescriptorType        33
-           bcdHID               1.10
-           bCountryCode            3 Canadian-Bilingual
-           bNumDescriptors         1
-           bDescriptorType        34 Report
-           wDescriptorLength      65
-          Report Descriptors: 
-            ** UNAVAILABLE **
-       Endpoint Descriptor:
-         bLength                 7
-         bDescriptorType         5
-         bEndpointAddress     0x83  EP 3 IN
-         bmAttributes            3
-           Transfer Type            Interrupt
-           Synch Type               None
-           Usage Type               Data
-         wMaxPacketSize     0x0008  1x 8 bytes
-         bInterval               5
-     Interface Descriptor:
-       bLength                 9
-       bDescriptorType         4
-       bInterfaceNumber        2
-       bAlternateSetting       0
-       bNumEndpoints           1
-       bInterfaceClass         3 Human Interface Device
-       bInterfaceSubClass      1 Boot Interface Subclass
-       bInterfaceProtocol      2 Mouse
-       iInterface              4 Ms
-         HID Device Descriptor:
-           bLength                 9
-           bDescriptorType        33
-           bcdHID               1.10
-           bCountryCode            3 Canadian-Bilingual
-           bNumDescriptors         1
-           bDescriptorType        34 Report
-           wDescriptorLength      51
-          Report Descriptors: 
-            ** UNAVAILABLE **
-       Endpoint Descriptor:
-         bLength                 7
-         bDescriptorType         5
-         bEndpointAddress     0x84  EP 4 IN
-         bmAttributes            3
-           Transfer Type            Interrupt
-           Synch Type               None
-           Usage Type               Data
-         wMaxPacketSize     0x0005  1x 5 bytes
-         bInterval               4
+   bLength                18
+   bDescriptorType         1
+   bcdUSB               2.00
+   bDeviceClass            0 (Defined at Interface level)
+   bDeviceSubClass         0
+   bDeviceProtocol         0
+   bMaxPacketSize0        64
+   idVendor           0x0557 ATEN International Co., Ltd
+   idProduct          0x1808
+   bcdDevice            3.10
+   iManufacturer           1 ATEN
+   iProduct                2 USB-VNC
+   iSerial                 0
+   bNumConfigurations      1
+   Configuration Descriptor:
+     bLength                 9
+     bDescriptorType         2
+     wTotalLength           82
+     bNumInterfaces          3
+     bConfigurationValue     1
+     iConfiguration          0
+     bmAttributes         0x40
+       (Missing must-be-set bit!)
+       Self Powered
+     MaxPower               32mA
+     Interface Descriptor:
+       bLength                 9
+       bDescriptorType         4
+       bInterfaceNumber        0
+       bAlternateSetting       0
+       bNumEndpoints           2
+       bInterfaceClass         8 Mass Storage
+       bInterfaceSubClass      6 SCSI
+       bInterfaceProtocol     80 Bulk-Only
+       iInterface              2 USB-VNC
+       Endpoint Descriptor:
+         bLength                 7
+         bDescriptorType         5
+         bEndpointAddress     0x81  EP 1 IN
+         bmAttributes            2
+           Transfer Type            Bulk
+           Synch Type               None
+           Usage Type               Data
+         wMaxPacketSize     0x0200  1x 512 bytes
+         bInterval               0
+       Endpoint Descriptor:
+         bLength                 7
+         bDescriptorType         5
+         bEndpointAddress     0x02  EP 2 OUT
+         bmAttributes            2
+           Transfer Type            Bulk
+           Synch Type               None
+           Usage Type               Data
+         wMaxPacketSize     0x0200  1x 512 bytes
+         bInterval               0
+     Interface Descriptor:
+       bLength                 9
+       bDescriptorType         4
+       bInterfaceNumber        1
+       bAlternateSetting       0
+       bNumEndpoints           1
+       bInterfaceClass         3 Human Interface Device
+       bInterfaceSubClass      1 Boot Interface Subclass
+       bInterfaceProtocol      1 Keyboard
+       iInterface              3 Kb
+         HID Device Descriptor:
+           bLength                 9
+           bDescriptorType        33
+           bcdHID               1.10
+           bCountryCode            3 Canadian-Bilingual
+           bNumDescriptors         1
+           bDescriptorType        34 Report
+           wDescriptorLength      65
+          Report Descriptors:
+            ** UNAVAILABLE **
+       Endpoint Descriptor:
+         bLength                 7
+         bDescriptorType         5
+         bEndpointAddress     0x83  EP 3 IN
+         bmAttributes            3
+           Transfer Type            Interrupt
+           Synch Type               None
+           Usage Type               Data
+         wMaxPacketSize     0x0008  1x 8 bytes
+         bInterval               5
+     Interface Descriptor:
+       bLength                 9
+       bDescriptorType         4
+       bInterfaceNumber        2
+       bAlternateSetting       0
+       bNumEndpoints           1
+       bInterfaceClass         3 Human Interface Device
+       bInterfaceSubClass      1 Boot Interface Subclass
+       bInterfaceProtocol      2 Mouse
+       iInterface              4 Ms
+         HID Device Descriptor:
+           bLength                 9
+           bDescriptorType        33
+           bcdHID               1.10
+           bCountryCode            3 Canadian-Bilingual
+           bNumDescriptors         1
+           bDescriptorType        34 Report
+           wDescriptorLength      51
+          Report Descriptors:
+            ** UNAVAILABLE **
+       Endpoint Descriptor:
+         bLength                 7
+         bDescriptorType         5
+         bEndpointAddress     0x84  EP 4 IN
+         bmAttributes            3
+           Transfer Type            Interrupt
+           Synch Type               None
+           Usage Type               Data
+         wMaxPacketSize     0x0005  1x 5 bytes
+         bInterval               4
  Device Status:     0x0002
-   (Bus Powered)
-   Remote Wakeup Enabled
+   (Bus Powered)
+   Remote Wakeup Enabled
  
  Bus 002 Device 012: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
  Device Descriptor:
-   bLength                18
-   bDescriptorType         1
-   bcdUSB               1.10
-   bDeviceClass            0 (Defined at Interface level)
-   bDeviceSubClass         0 
-   bDeviceProtocol         0 
-   bMaxPacketSize0         8
-   idVendor           0x0557 ATEN International Co., Ltd
-   idProduct          0x2213 CS682 2-Port USB 2.0 DVI KVM Switch
-   bcdDevice            1.00
-   iManufacturer           1 ATEN
-   iProduct                2 CM0264 V1.0.097
-   iSerial                 0 
-   bNumConfigurations      1
-   Configuration Descriptor:
-     bLength                 9
-     bDescriptorType         2
-     wTotalLength           59
-     bNumInterfaces          2
-     bConfigurationValue     1
-     iConfiguration          0 
-     bmAttributes         0xe0
-       Self Powered
-       Remote Wakeup
-     MaxPower              100mA
-     Interface Descriptor:
-       bLength                 9
-       bDescriptorType         4
-       bInterfaceNumber        0
-       bAlternateSetting       0
-       bNumEndpoints           1
-       bInterfaceClass         3 Human Interface Device
-       bInterfaceSubClass      1 Boot Interface Subclass
-       bInterfaceProtocol      1 Keyboard
-       iInterface              4 Kb
-         HID Device Descriptor:
-           bLength                 9
-           bDescriptorType        33
-           bcdHID               1.00
-           bCountryCode            0 Not supported
-           bNumDescriptors         1
-           bDescriptorType        34 Report
-           wDescriptorLength      65
-          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     0x0008  1x 8 bytes
-         bInterval              10
-     Interface Descriptor:
-       bLength                 9
-       bDescriptorType         4
-       bInterfaceNumber        1
-       bAlternateSetting       0
-       bNumEndpoints           1
-       bInterfaceClass         3 Human Interface Device
-       bInterfaceSubClass      1 Boot Interface Subclass
-       bInterfaceProtocol      2 Mouse
-       iInterface              0 
-         HID Device Descriptor:
-           bLength                 9
-           bDescriptorType        33
-           bcdHID               1.00
-           bCountryCode            0 Not supported
-           bNumDescriptors         1
-           bDescriptorType        34 Report
-           wDescriptorLength      52
-          Report Descriptors: 
-            ** UNAVAILABLE **
-       Endpoint Descriptor:
-         bLength                 7
-         bDescriptorType         5
-         bEndpointAddress     0x83  EP 3 IN
-         bmAttributes            3
-           Transfer Type            Interrupt
-           Synch Type               None
-           Usage Type               Data
-         wMaxPacketSize     0x0008  1x 8 bytes
-         bInterval               5
+   bLength                18
+   bDescriptorType         1
+   bcdUSB               1.10
+   bDeviceClass            0 (Defined at Interface level)
+   bDeviceSubClass         0
+   bDeviceProtocol         0
+   bMaxPacketSize0         8
+   idVendor           0x0557 ATEN International Co., Ltd
+   idProduct          0x2213 CS682 2-Port USB 2.0 DVI KVM Switch
+   bcdDevice            1.00
+   iManufacturer           1 ATEN
+   iProduct                2 CM0264 V1.0.097
+   iSerial                 0
+   bNumConfigurations      1
+   Configuration Descriptor:
+     bLength                 9
+     bDescriptorType         2
+     wTotalLength           59
+     bNumInterfaces          2
+     bConfigurationValue     1
+     iConfiguration          0
+     bmAttributes         0xe0
+       Self Powered
+       Remote Wakeup
+     MaxPower              100mA
+     Interface Descriptor:
+       bLength                 9
+       bDescriptorType         4
+       bInterfaceNumber        0
+       bAlternateSetting       0
+       bNumEndpoints           1
+       bInterfaceClass         3 Human Interface Device
+       bInterfaceSubClass      1 Boot Interface Subclass
+       bInterfaceProtocol      1 Keyboard
+       iInterface              4 Kb
+         HID Device Descriptor:
+           bLength                 9
+           bDescriptorType        33
+           bcdHID               1.00
+           bCountryCode            0 Not supported
+           bNumDescriptors         1
+           bDescriptorType        34 Report
+           wDescriptorLength      65
+          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     0x0008  1x 8 bytes
+         bInterval              10
+     Interface Descriptor:
+       bLength                 9
+       bDescriptorType         4
+       bInterfaceNumber        1
+       bAlternateSetting       0
+       bNumEndpoints           1
+       bInterfaceClass         3 Human Interface Device
+       bInterfaceSubClass      1 Boot Interface Subclass
+       bInterfaceProtocol      2 Mouse
+       iInterface              0
+         HID Device Descriptor:
+           bLength                 9
+           bDescriptorType        33
+           bcdHID               1.00
+           bCountryCode            0 Not supported
+           bNumDescriptors         1
+           bDescriptorType        34 Report
+           wDescriptorLength      52
+          Report Descriptors:
+            ** UNAVAILABLE **
+       Endpoint Descriptor:
+         bLength                 7
+         bDescriptorType         5
+         bEndpointAddress     0x83  EP 3 IN
+         bmAttributes            3
+           Transfer Type            Interrupt
+           Synch Type               None
+           Usage Type               Data
+         wMaxPacketSize     0x0008  1x 8 bytes
+         bInterval               5
  Device Status:     0x0002
-   (Bus Powered)
-   Remote Wakeup Enabled
- 
+   (Bus Powered)
+   Remote Wakeup Enabled
  
  Here's a sample from dmesg:
  
  [  227.479060] usb 1-1.5: new high speed USB device using ehci_hcd and address
  [  227.589410] usb 1-1.5: configuration #1 chosen from 1 choice
  [  227.590036] hub 1-1.5:1.0: 4 ports detected
- [  227.869096] usb 1-1.5.1: new full speed USB device using ehci_hcd and address 
+ [  227.869096] usb 1-1.5.1: new full speed USB device using ehci_hcd and address
  [  227.980093] usb 1-1.5.1: configuration #1 chosen from 1 choice
  [  227.980368] hub 1-1.5.1:1.0: USB hub foun
  [  227.980550] hub 1-1.5.1:1.0: 4 ports detecte
- [  228.059115] usb 1-1.5.2: new high speed USB device using ehci_hcd and address 
+ [  228.059115] usb 1-1.5.2: new high speed USB device using ehci_hcd and address
  [  228.190704] usb 1-1.5.2: configuration #1 chosen from 1 choice
  [  228.192398] input: ATEN USB-VNC as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2:1.1/input/input5
  [  228.192524] generic-usb 0003:0557:1808.0002: input,hidraw1: USB HID v1.10 Keyboard [ATEN USB-VNC] on usb-0000:00:1a.0-1.5.2/input1
  [  228.195121] input: ATEN USB-VNC as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2:1.2/input/input6
  [  228.195302] generic-usb 0003:0557:1808.0003: input,hidraw2: USB HID v1.10 Mouse [ATEN USB-VNC] on usb-0000:00:1a.0-1.5.2/input2
  [  228.205638] Initializing USB Mass Storage driver...
  [  228.205812] scsi7 : SCSI emulation for USB Mass Storage devices
- [  228.205969] usb-storage: device found at 
+ [  228.205969] usb-storage: device found at
  [  228.205974] usb-storage: waiting for device to settle before scanning
  [  228.206008] usbcore: registered new interface driver usb-storage
  [  228.206013] USB Mass Storage support registered.
  [  228.289137] usb 1-1.5.1.1: new low speed USB device using ehci_hcd and address 8
  [  228.433270] usb 1-1.5.1.1: configuration #1 chosen from 1 choice
  [  228.447450] input: ATEN CM0264 V1.0.097 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1.1/1-1.5.1.1:1.0/input/input7
  [  228.447626] generic-usb 0003:0557:2213.0004: input,hidraw3: USB HID v1.00 Keyboard [ATEN CM0264 V1.0.097] on usb-0000:00:1a.0-1.5.1.1/input0
  [  228.461458] input: ATEN CM0264 V1.0.097 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1.1/1-1.5.1.1:1.1/input/input8
  [  228.461631] generic-usb 0003:0557:2213.0005: input,hidraw4: USB HID v1.00 Mouse [ATEN CM0264 V1.0.097] on usb-0000:00:1a.0-1.5.1.1/input1
  [  233.199920] usb-storage: device scan complet
  [  233.200623] scsi 7:0:0:0: CD-ROM            ATEN     Mass Storage     0001 PQ: 0 ANSI: 0
  [  233.202871] sr0: scsi3-mmc drive: 0x/40x cd/rw xa/form2 cdda tray
  [  233.202878] Uniform CD-ROM driver Revision: 3.20
  [  233.203060] sr 7:0:0:0: Attached scsi CD-ROM sr0
  [  233.203232] sr 7:0:0:0: Attached scsi generic sg6 type 5
  [  233.289754] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  233.489774] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  233.689792] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  233.889825] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.089825] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.289850] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.489877] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.689890] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  265.223500] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  296.237135] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  327.230904] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  358.234583] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  358.366069] sr 7:0:0:0: [sr0] Unhandled error code
  [  358.366073] sr 7:0:0:0: [sr0] Result: hostbyte=DID_ABORT driverbyte=DRIVER_
  [  358.366078] sr 7:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 0
  [  358.366088] end_request: I/O error, dev sr0, sector 0
- --- 
+ ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  tt         2011 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  tt         2011 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
-  Card hw:0 'PCH'/'HDA Intel PCH at 0xfe520000 irq 51'
-    Mixer name	: 'Intel CougarPoint HDMI'
-    Components	: 'HDA:10ec0892,80862000,00100302 HDA:80862805,80862805,00100000'
-    Controls      : 49
-    Simple ctrls  : 20
+  Card hw:0 'PCH'/'HDA Intel PCH at 0xfe520000 irq 51'
+    Mixer name	: 'Intel CougarPoint HDMI'
+    Components	: 'HDA:10ec0892,80862000,00100302 HDA:80862805,80862805,00100000'
+    Controls      : 49
+    Simple ctrls  : 20
  CurrentDmesg:
-  Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
-  dmesg: write failed: Broken pipe
+  Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
+  dmesg: write failed: Broken pipe
  DistroRelease: Ubuntu 12.04
  IwConfig:
-  lo        no wireless extensions.
-  
-  eth0      no wireless extensions.
+  lo        no wireless extensions.
+ 
+  eth0      no wireless extensions.
  Package: linux (not installed)
  ProcEnviron:
-  LANGUAGE=en_GB:en
-  TERM=xterm
-  LANG=en_GB.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_GB:en
+  TERM=xterm
+  LANG=en_GB.UTF-8
+  SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=/dev/mapper/soopeli-root ro
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  RfKill:
-  
+ 
  SourcePackage: linux
  Tags:  precise precise
  Uname: Linux 3.2.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: sudo
  WifiSyslog:
-  
+ 
  dmi.bios.date: 05/23/2011
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: BLH6710H.86A.0119.2011.0523.1030
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: DH67CF
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG10215-206
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnIntelCorp.:bvrBLH6710H.86A.0119.2011.0523.1030:bd05/23/2011:svn:pn:pvr:rvnIntelCorporation:rnDH67CF:rvrAAG10215-206:cvn:ct3:cvr:

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1010600

Title:
  0557:1808 Aten CM0264 KVM misdetected as CD-ROM

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Aten CM0264 KVM misbehaves with Ubuntu: it is apparently misdetected
  as CD-ROM, causing long delays and all kinds of strange errors, making
  the KVM all but unusable. (Disconnecting USB cable from it temporarily
  during boot acts as a workaround, albeit a very inconvenient one.)

  This happens with 64-bit 10.04 and 12.04 at least (others not tested).

  WORKAROUND: sed '1i\
  > SUBSYSTEM=="block", ATTRS{vendor}=="ATEN", GOTO="cdrom_end"' /lib/udev/rules.d/60-cdrom_id.rules >/etc/udev/rules.d/60-cdrom_id.rules

   sed '1i\
  SUBSYSTEM=="block", ATTRS{vendor}=="ATEN", GOTO="persistent_storage_end"' /lib/udev/rules.d/60-persistent-storage.rules > /etc/udev/rules.d/60-persistent-storage.rules

  After those at least "udevadm test /dev/sr1" finishes quickly.

  lsusb -v output below. Note in particular 0557:1808 is detected as "mass storage":
  Bus 002 Device 010: ID 0557:8021 ATEN International Co., Ltd
  Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               1.10
    bDeviceClass            9 Hub
    bDeviceSubClass         0 Unused
    bDeviceProtocol         0 Full speed (or root) hub
    bMaxPacketSize0         8
    idVendor           0x0557 ATEN International Co., Ltd
    idProduct          0x8021
    bcdDevice            1.00
    iManufacturer           0
    iProduct                0
    iSerial                 0
    bNumConfigurations      1
    Configuration Descriptor:
      bLength                 9
      bDescriptorType         2
      wTotalLength           25
      bNumInterfaces          1
      bConfigurationValue     1
      iConfiguration          0
      bmAttributes         0xe0
        Self Powered
        Remote Wakeup
      MaxPower              100mA
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        0
        bAlternateSetting       0
        bNumEndpoints           1
        bInterfaceClass         9 Hub
        bInterfaceSubClass      0 Unused
        bInterfaceProtocol      0 Full speed (or root) hub
        iInterface              0
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x81  EP 1 IN
          bmAttributes            3
            Transfer Type            Interrupt
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0001  1x 1 bytes
          bInterval             255
  Hub Descriptor:
    bLength               9
    bDescriptorType      41
    nNbrPorts             4
    wHubCharacteristic 0x0009
      Per-port power switching
      Per-port overcurrent protection
    bPwrOn2PwrGood       50 * 2 milli seconds
    bHubContrCurrent    100 milli Ampere
    DeviceRemovable    0x00
    PortPwrCtrlMask    0x1e
   Hub Port Status:
     Port 1: 0000.0303 lowspeed power enable connect
     Port 2: 0000.0100 power
     Port 3: 0000.0100 power
     Port 4: 0000.0100 power
  Device Status:     0x0001
    Self Powered

  Bus 002 Device 011: ID 0557:1808 ATEN International Co., Ltd
  Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               2.00
    bDeviceClass            0 (Defined at Interface level)
    bDeviceSubClass         0
    bDeviceProtocol         0
    bMaxPacketSize0        64
    idVendor           0x0557 ATEN International Co., Ltd
    idProduct          0x1808
    bcdDevice            3.10
    iManufacturer           1 ATEN
    iProduct                2 USB-VNC
    iSerial                 0
    bNumConfigurations      1
    Configuration Descriptor:
      bLength                 9
      bDescriptorType         2
      wTotalLength           82
      bNumInterfaces          3
      bConfigurationValue     1
      iConfiguration          0
      bmAttributes         0x40
        (Missing must-be-set bit!)
        Self Powered
      MaxPower               32mA
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        0
        bAlternateSetting       0
        bNumEndpoints           2
        bInterfaceClass         8 Mass Storage
        bInterfaceSubClass      6 SCSI
        bInterfaceProtocol     80 Bulk-Only
        iInterface              2 USB-VNC
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x81  EP 1 IN
          bmAttributes            2
            Transfer Type            Bulk
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0200  1x 512 bytes
          bInterval               0
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x02  EP 2 OUT
          bmAttributes            2
            Transfer Type            Bulk
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0200  1x 512 bytes
          bInterval               0
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        1
        bAlternateSetting       0
        bNumEndpoints           1
        bInterfaceClass         3 Human Interface Device
        bInterfaceSubClass      1 Boot Interface Subclass
        bInterfaceProtocol      1 Keyboard
        iInterface              3 Kb
          HID Device Descriptor:
            bLength                 9
            bDescriptorType        33
            bcdHID               1.10
            bCountryCode            3 Canadian-Bilingual
            bNumDescriptors         1
            bDescriptorType        34 Report
            wDescriptorLength      65
           Report Descriptors:
             ** UNAVAILABLE **
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x83  EP 3 IN
          bmAttributes            3
            Transfer Type            Interrupt
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0008  1x 8 bytes
          bInterval               5
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        2
        bAlternateSetting       0
        bNumEndpoints           1
        bInterfaceClass         3 Human Interface Device
        bInterfaceSubClass      1 Boot Interface Subclass
        bInterfaceProtocol      2 Mouse
        iInterface              4 Ms
          HID Device Descriptor:
            bLength                 9
            bDescriptorType        33
            bcdHID               1.10
            bCountryCode            3 Canadian-Bilingual
            bNumDescriptors         1
            bDescriptorType        34 Report
            wDescriptorLength      51
           Report Descriptors:
             ** UNAVAILABLE **
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x84  EP 4 IN
          bmAttributes            3
            Transfer Type            Interrupt
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0005  1x 5 bytes
          bInterval               4
  Device Status:     0x0002
    (Bus Powered)
    Remote Wakeup Enabled

  Bus 002 Device 012: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
  Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               1.10
    bDeviceClass            0 (Defined at Interface level)
    bDeviceSubClass         0
    bDeviceProtocol         0
    bMaxPacketSize0         8
    idVendor           0x0557 ATEN International Co., Ltd
    idProduct          0x2213 CS682 2-Port USB 2.0 DVI KVM Switch
    bcdDevice            1.00
    iManufacturer           1 ATEN
    iProduct                2 CM0264 V1.0.097
    iSerial                 0
    bNumConfigurations      1
    Configuration Descriptor:
      bLength                 9
      bDescriptorType         2
      wTotalLength           59
      bNumInterfaces          2
      bConfigurationValue     1
      iConfiguration          0
      bmAttributes         0xe0
        Self Powered
        Remote Wakeup
      MaxPower              100mA
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        0
        bAlternateSetting       0
        bNumEndpoints           1
        bInterfaceClass         3 Human Interface Device
        bInterfaceSubClass      1 Boot Interface Subclass
        bInterfaceProtocol      1 Keyboard
        iInterface              4 Kb
          HID Device Descriptor:
            bLength                 9
            bDescriptorType        33
            bcdHID               1.00
            bCountryCode            0 Not supported
            bNumDescriptors         1
            bDescriptorType        34 Report
            wDescriptorLength      65
           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     0x0008  1x 8 bytes
          bInterval              10
      Interface Descriptor:
        bLength                 9
        bDescriptorType         4
        bInterfaceNumber        1
        bAlternateSetting       0
        bNumEndpoints           1
        bInterfaceClass         3 Human Interface Device
        bInterfaceSubClass      1 Boot Interface Subclass
        bInterfaceProtocol      2 Mouse
        iInterface              0
          HID Device Descriptor:
            bLength                 9
            bDescriptorType        33
            bcdHID               1.00
            bCountryCode            0 Not supported
            bNumDescriptors         1
            bDescriptorType        34 Report
            wDescriptorLength      52
           Report Descriptors:
             ** UNAVAILABLE **
        Endpoint Descriptor:
          bLength                 7
          bDescriptorType         5
          bEndpointAddress     0x83  EP 3 IN
          bmAttributes            3
            Transfer Type            Interrupt
            Synch Type               None
            Usage Type               Data
          wMaxPacketSize     0x0008  1x 8 bytes
          bInterval               5
  Device Status:     0x0002
    (Bus Powered)
    Remote Wakeup Enabled

  Here's a sample from dmesg:

  [  227.479060] usb 1-1.5: new high speed USB device using ehci_hcd and address
  [  227.589410] usb 1-1.5: configuration #1 chosen from 1 choice
  [  227.590036] hub 1-1.5:1.0: 4 ports detected
  [  227.869096] usb 1-1.5.1: new full speed USB device using ehci_hcd and address
  [  227.980093] usb 1-1.5.1: configuration #1 chosen from 1 choice
  [  227.980368] hub 1-1.5.1:1.0: USB hub foun
  [  227.980550] hub 1-1.5.1:1.0: 4 ports detecte
  [  228.059115] usb 1-1.5.2: new high speed USB device using ehci_hcd and address
  [  228.190704] usb 1-1.5.2: configuration #1 chosen from 1 choice
  [  228.192398] input: ATEN USB-VNC as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2:1.1/input/input5
  [  228.192524] generic-usb 0003:0557:1808.0002: input,hidraw1: USB HID v1.10 Keyboard [ATEN USB-VNC] on usb-0000:00:1a.0-1.5.2/input1
  [  228.195121] input: ATEN USB-VNC as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2:1.2/input/input6
  [  228.195302] generic-usb 0003:0557:1808.0003: input,hidraw2: USB HID v1.10 Mouse [ATEN USB-VNC] on usb-0000:00:1a.0-1.5.2/input2
  [  228.205638] Initializing USB Mass Storage driver...
  [  228.205812] scsi7 : SCSI emulation for USB Mass Storage devices
  [  228.205969] usb-storage: device found at
  [  228.205974] usb-storage: waiting for device to settle before scanning
  [  228.206008] usbcore: registered new interface driver usb-storage
  [  228.206013] USB Mass Storage support registered.
  [  228.289137] usb 1-1.5.1.1: new low speed USB device using ehci_hcd and address 8
  [  228.433270] usb 1-1.5.1.1: configuration #1 chosen from 1 choice
  [  228.447450] input: ATEN CM0264 V1.0.097 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1.1/1-1.5.1.1:1.0/input/input7
  [  228.447626] generic-usb 0003:0557:2213.0004: input,hidraw3: USB HID v1.00 Keyboard [ATEN CM0264 V1.0.097] on usb-0000:00:1a.0-1.5.1.1/input0
  [  228.461458] input: ATEN CM0264 V1.0.097 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1.1/1-1.5.1.1:1.1/input/input8
  [  228.461631] generic-usb 0003:0557:2213.0005: input,hidraw4: USB HID v1.00 Mouse [ATEN CM0264 V1.0.097] on usb-0000:00:1a.0-1.5.1.1/input1
  [  233.199920] usb-storage: device scan complet
  [  233.200623] scsi 7:0:0:0: CD-ROM            ATEN     Mass Storage     0001 PQ: 0 ANSI: 0
  [  233.202871] sr0: scsi3-mmc drive: 0x/40x cd/rw xa/form2 cdda tray
  [  233.202878] Uniform CD-ROM driver Revision: 3.20
  [  233.203060] sr 7:0:0:0: Attached scsi CD-ROM sr0
  [  233.203232] sr 7:0:0:0: Attached scsi generic sg6 type 5
  [  233.289754] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  233.489774] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  233.689792] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  233.889825] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.089825] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.289850] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.489877] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  234.689890] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  265.223500] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  296.237135] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  327.230904] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  358.234583] usb 1-1.5.2: reset high speed USB device using ehci_hcd and address 7
  [  358.366069] sr 7:0:0:0: [sr0] Unhandled error code
  [  358.366073] sr 7:0:0:0: [sr0] Result: hostbyte=DID_ABORT driverbyte=DRIVER_
  [  358.366078] sr 7:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 0
  [  358.366088] end_request: I/O error, dev sr0, sector 0
  ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  tt         2011 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xfe520000 irq 51'
     Mixer name	: 'Intel CougarPoint HDMI'
     Components	: 'HDA:10ec0892,80862000,00100302 HDA:80862805,80862805,00100000'
     Controls      : 49
     Simple ctrls  : 20
  CurrentDmesg:
   Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
   dmesg: write failed: Broken pipe
  DistroRelease: Ubuntu 12.04
  IwConfig:
   lo        no wireless extensions.

   eth0      no wireless extensions.
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=/dev/mapper/soopeli-root ro
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  RfKill:

  SourcePackage: linux
  Tags:  precise precise
  Uname: Linux 3.2.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: sudo
  WifiSyslog:

  dmi.bios.date: 05/23/2011
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: BLH6710H.86A.0119.2011.0523.1030
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: DH67CF
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG10215-206
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnIntelCorp.:bvrBLH6710H.86A.0119.2011.0523.1030:bd05/23/2011:svn:pn:pvr:rvnIntelCorporation:rnDH67CF:rvrAAG10215-206:cvn:ct3:cvr:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1010600/+subscriptions