summary: usb devices do not work since 2.4.10 when using via uhci
controller and Magic Control Technologies usb-ps/2 adaptors.
Hello,
I've some trouble with my computer and those of you who have seen my
recent posting in de.comp.os.unix.linux.hardware and the
recommendation to ask /here/: It the same thing, you can immediatly
start answering ;-)
The computer is based on a VIA chipset, the according uhci controller
identifies as
|00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 11) (prog-if 00 [UHCI])
| Subsystem: Unknown device 0925:1234
| Flags: bus master, medium devsel, latency 64, IRQ 10
| I/O ports at a400 [size=32]
| Capabilities: [80] Power Management version 2
For some reasons I'd like to use an adaptor to connect ps/2 keyboard
and mouse via usb. I've a "usb bay" by Magic Control Technology (which
also has ser/par/usb connectors) and a very small adaptor with ps/2
connectors only which tells the same vend/prod ID.
Both devices stopped working in 2.4.10, I see "usb_control/bulk_msg:
timeout" messages instead and neither keyboard nor mouse are working.
Some things I've done to isolate the problem:
- using uhci instead of usb-uhci - same problem.
- other usb hardware (network) - working
- other hid hardware (usb mouse) - works if plugged in before mct and
stops working then
- plugging adaptor into computer with ohci controller - working
- plugging adaptor into computer with intel uchi controller - working
- kernel versions 2.4.12 up to .17 - same problem
- CONFIG_USB_LONG_TIMEOUT, even manually increasing GET_TIMEOUT in
drivers/usb/usb.c - same problem
So I assume that the problem depends on both via uhci controller and
mct. And that's where I, without deeper knowledge of neither usb or
nor kernel programming, can either diff the sources of .9 and .10 and
hope to see the reason (BTDT); or ask for your help.
Thanks in advance for any idea about this.
Christoph
log files, dumps, information:
The computer runs Debian Linux 3.0 (woody).
The following logfiles have been made on the one machine with the same
configuration and the same kernel config file (i.e. copied
2.4.9/.config to 2.4.10 && make oldconfig). I've some more log files
here but I wanted to keep this e-mail short. Tell me if some
information is missing.
2.4.10:
| 22:23:19 kernel: usb-uhci.c: $Revision: 1.268 $ time 22:13:20 Jan 14 2002
| 22:23:19 kernel: usb-uhci.c: High bandwidth mode enabled
| 22:23:19 kernel: usb-uhci.c: USB UHCI at I/O 0xa400, IRQ 10
| 22:23:19 kernel: usb-uhci.c: Detected 2 ports
| 22:23:19 kernel: usb.c: new USB bus registered, assigned bus number 1
| 22:23:19 kernel: hub.c: USB hub found
| 22:23:19 kernel: hub.c: 2 ports detected
| 22:23:19 kernel: usb-uhci.c: v1.268:USB Universal Host Controller Interface driver
| 22:23:19 kernel: hub.c: USB new device connect on bus1/2, assigned device number 2
| 22:23:19 kernel: hub.c: USB hub found
| 22:23:19 kernel: hub.c: 5 ports detected
| 22:23:19 kernel: hub.c: USB new device connect on bus1/2/3, assigned device number 3
| 22:23:19 kernel: usb.c: USB device 3 (vend/prod 0x711/0x240) is not claimed by any
|active driver.
| 22:23:19 kernel: hub.c: USB new device connect on bus1/2/4, assigned device number 4
| 22:23:19 kernel: usb.c: USB device 4 (vend/prod 0x711/0x230) is not claimed by any
|active driver.
| 22:23:19 kernel: hub.c: USB new device connect on bus1/2/5, assigned device number 5
| 22:23:19 kernel: usb.c: USB device 5 (vend/prod 0x711/0x300) is not claimed by any
|active driver.
| 22:23:19 kernel: usb.c: registered new driver hid
| 22:23:19 kernel: input0: USB HID v1.10 Keyboard [MTC PS/2 to USB converter] on
|usb1:3.0
| 22:23:19 kernel: usb-uhci.c: interrupt, status 2, frame# 1085
| 22:23:19 kernel: input1: USB HID v1.10 Mouse [MTC PS/2 to USB converter] on usb1:3.1
| 22:23:19 kernel: hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]>
| 22:23:19 kernel: hid-core.c: USB HID support drivers
| 22:23:19 kernel: usb.c: registered new driver usblp
| 22:23:19 kernel: usb.c: registered new driver serial
(...)
| 22:23:26 kernel: usb_control/bulk_msg: timeout
| 22:23:26 kernel: printer.c: usblp0: error = -110 reading IEEE-1284 Device ID string
| 22:23:26 kernel: printer.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 1
| 22:23:26 kernel: printer.c: v0.8:USB Printer Device Class driver
After that usbserial will be initialized rather successful, but
neither mouse nor keyboard work. I've also tried to reload hid,
keybdev and mousedev.
There is a perhaps interesting message when doing 'rmmod usb-uhci':
(...)
| 22:24:43 kernel: usb-uhci.c: forced removing of queued URB cf3dacf4 due to disconnect
| 22:24:43 kernel: hid-core.c: ctrl urb status -2 received
| 22:24:43 kernel: hid-core.c: usb_submit_urb(out) failed
(...)
The same using 2.4.9:
| 22:47:37 kernel: usb-uhci.c: $Revision: 1.259 $ time 14:33:17 Oct 28 2001
| 22:47:37 kernel: usb-uhci.c: High bandwidth mode enabled
| 22:47:37 kernel: usb-uhci.c: USB UHCI at I/O 0xa400, IRQ 10
| 22:47:37 kernel: usb-uhci.c: Detected 2 ports
| 22:47:37 kernel: usb.c: new USB bus registered, assigned bus number 1
| 22:47:37 kernel: hub.c: USB hub found
| 22:47:37 kernel: hub.c: 2 ports detected
| 22:47:37 kernel: usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
| 22:47:37 kernel: hub.c: USB new device connect on bus1/2, assigned device number 2
| 22:47:37 kernel: hub.c: USB hub found
| 22:47:37 kernel: hub.c: 5 ports detected
| 22:47:37 kernel: hub.c: USB new device connect on bus1/2/3, assigned device number 3
| 22:47:37 kernel: usb.c: USB device 3 (vend/prod 0x711/0x240) is not claimed by any
|active driver.
| 22:47:37 kernel: hub.c: USB new device connect on bus1/2/4, assigned device number 4
| 22:47:37 kernel: usb.c: USB device 4 (vend/prod 0x711/0x230) is not claimed by any
|active driver.
| 22:47:37 kernel: hub.c: USB new device connect on bus1/2/5, assigned device number 5
| 22:47:37 kernel: usb.c: USB device 5 (vend/prod 0x711/0x300) is not claimed by any
|active driver.
| 22:47:37 kernel: usbserial.c: USB Serial support registered for Generic
| 22:47:37 kernel: usb.c: registered new driver serial
| 22:47:37 kernel: usbserial.c: USB Serial Driver core v1.3
| 22:47:37 kernel: usb.c: registered new driver hid
| 22:47:37 kernel: input0: USB HID v1.10 Keyboard [MTC PS/2 to USB converter] on
|usb1:3.0
| 22:47:37 kernel: usb.c: registered new driver usblp
| 22:47:37 kernel: usbserial.c: USB Serial support registered for Magic Control
|Technology USB-RS232
| 22:47:37 kernel: mouse0: PS/2 mouse device for input1
| 22:47:37 kernel: input1: USB HID v1.10 Mouse [MTC PS/2 to USB converter] on usb1:3.1
| 22:47:37 kernel: printer.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 1
| 22:47:37 kernel: hid.c: v1.16:USB HID support drivers
| 22:47:37 kernel: printer.c: v0.8:USB Printer Device Class driver
| 22:47:37 kernel: usbserial.c: USB Serial support registered for MCT/Sitecom USB-RS232
| 22:47:37 kernel: usbserial.c: MCT/Sitecom USB-RS232 converter detected
| 22:47:37 kernel: usbserial.c: MCT/Sitecom USB-RS232 converter now attached to
|ttyUSB0 (or usb/tts/0 for devfs)
| 22:47:37 kernel: usbserial.c: USB Serial support registered for MCT/D-Link DU-H3SP
|USB BAY
| 22:47:37 kernel: mct_u232.c: v1.1:Magic Control Technology USB-RS232 converter driver
| 22:47:37 kernel: keybdev.c: Adding keyboard: input1
| 22:47:37 kernel: keybdev.c: Adding keyboard: input0
loaded modules:
Module Size Used by
(...)
keybdev 2048 0 (unused)
mct_u232 6200 0 (unused)
printer 5536 0 (unused)
usbserial 17468 0 [mct_u232]
hid 11768 0 (unused)
usb-uhci 20748 0 (unused)
(...)
/proc/bus/usb/devices (in 2.4.9 and .10):
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 45/900 us ( 5%), #Int= 3, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=a400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 5
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04cc ProdID=1122 Rev= 1.10
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=0711 ProdID=0240 Rev= 1.02
S: Manufacturer=MTC
S: Product=PS/2 to USB converter
S: SerialNumber=PS/2 to USB converter
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 8ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl= 8ms
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=0711 ProdID=0230 Rev= 1.02
S: Manufacturer=USB-RS232 Interface Converter
S: Product=USB Ver1.1 Device
S: SerialNumber=079230
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl= 2ms
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl= 1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 32 Ivl= 0ms
T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=03 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0711 ProdID=0300 Rev= 1.04
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=07(print) Sub=01 Prot=01 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
I: If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 4 Ivl= 1ms
$ diff devices-2.4.9 devices-2.4.10
19,21d18
< S: Manufacturer=MTC
< S: Product=PS/2 to USB converter
< S: SerialNumber=PS/2 to USB converter
30,32d26
< S: Manufacturer=USB-RS232 Interface Converter
< S: Product=USB Ver1.1 Device
< S: SerialNumber=079230
$
I should also mention that the number of interrupts counted in
/proc/interrupts stops as soon as the mct is connected.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users