Public bug reported: 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 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 ** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1010600 Title: Aten CM0264 KVM misdetected as CD-ROM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1010600/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs