I was successfully using a USB keyboard with a 2.4.20 kernel, all USB
components compiled into the kernel (ie, no modules), and the following
in the kernel .config:

# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_UHCI_ALT=y
# CONFIG_USB_OHCI is not set

I have since tried to use kernel 2.4.21 and 2.4.22, and with both the
USB keyboard does not respond at all. I used the same .config file with
a "make oldconfig" before compiling. I have tried compiling all the USB
components as modules but that makes no difference. I tried manually
loading ehci-hcd.o, uhci.o and usb-ohci.o: only uhci.o loaded without
errors (which is what I'd expect). Below is some of dmesg output from
boot, which does show some USB errors which I don't get with the 2.4.20
kernel.

Any pointers as to how to track down what is causing these problems
(and, ideally, fix them!)?

Thanks,
Keith

=================================================
dmesg output (partial):

[snip]
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
host/uhci.c: USB Universal Host Controller Interface driver v1.1
host/uhci.c: USB UHCI at I/O 0xc400, IRQ 19
usb.c: new USB bus registered, assigned bus number 1
host/uhci.c: detected 2 ports
usb.c: kmalloc IF efdc9b00, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI-alt Root Hub
SerialNumber: c400
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface efdc9b00
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
host/uhci.c: USB UHCI at I/O 0xc800, IRQ 19
usb.c: new USB bus registered, assigned bus number 2
host/uhci.c: detected 2 ports
usb.c: kmalloc IF efdc9a00, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI-alt Root Hub
SerialNumber: c800
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface efdc9a00
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
[snip]
host/uhci.c: root-hub INT complete: port1: 58a port2: 5ab data: 6
hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: c800: suspend_hc
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a9 data: 6
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
hub.c: new USB device 00:07.2-2, assigned address 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
[snip]
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
Adding Swap: 499960k swap-space (priority -1)
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide2(33,5), internal journal
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
[snip]
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
[snip]
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
[snip]
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
[snip]
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=2 (error=-110)
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
hub.c: new USB device 00:07.2-2, assigned address 3
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
[snip]
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
host/uhci.c: root-hub INT complete: port1: 58a port2: 58a data: 6
host/uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=3 (error=-110)
hub.c: port 1, portstatus 300, change 2, 1.5 Mb/s
hub.c: port 1 enable change, status 300
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 300, change 3, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 588 port2: 588 data: 6
hub.c: port 1, portstatus 300, change 2, 1.5 Mb/s
hub.c: port 1 enable change, status 300
hub.c: port 2, portstatus 300, change 2, 1.5 Mb/s
hub.c: port 2 enable change, status 300
[snip]
host/uhci.c: root-hub INT complete: port1: 580 port2: 59b data: 4
hub.c: port 1, portstatus 300, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 580 port2: 5ab data: 4
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 580 port2: 599 data: 4
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 580 port2: 59b data: 4
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 3, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 580 port2: 5a9 data: 4
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
host/uhci.c: root-hub INT complete: port1: 580 port2: 5a9 data: 4
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
hub.c: new USB device 00:07.2-2, assigned address 4
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=4 (error=-110)
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
hub.c: new USB device 00:07.2-2, assigned address 5
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=5 (error=-110)
hub.c: port 1, portstatus 300, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to