== Andries, what kind of USB problems did you have with 2.5.16?

It is a bit late, but I just compiled a kernel.

CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI_HCD=y

etc.

Now usbview doesnt work, even though usbdevfs is mounted.
I consider that a bug in the usbdevfs code.
After the mount the file devices should exist, but might
of course be empty.

[create_special_files is called by usbfs_add_bus(), so never
happens if usbfs_add_bus() never happens]

The reason that usbfs_add_bus never happens turns out to be
that nothing in the host directory is compiled.
Maybe

--- Makefile~   Sat May 18 16:25:54 2002
+++ Makefile    Tue May 21 04:33:03 2002
@@ -14,6 +14,7 @@
 subdir-$(CONFIG_USB_OHCI)      += host
 subdir-$(CONFIG_USB_UHCI_ALT)  += host
 subdir-$(CONFIG_USB_UHCI)      += host
+subdir-$(CONFIG_USB_UHCI_HCD)  += host
 
 subdir-$(CONFIG_USB_ACM)       += class
 subdir-$(CONFIG_USB_AUDIO)     += class

is needed in linux/drivers/usb?

After doing this, and with only a keyboard connected, I see

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-uhci-hcd.c: ENXIO (Control)  80000400, flags 0, urb ce1b9120, burb ce1b90c0, 
propably device driver bug...
input: USB HID v1.00 Device [05e3:000a] on usb-00:07.2-1.1
usb-uhci-hcd.c: ENXIO (Control)  80000480, flags 0, urb ce1b9180, burb ce1b90c0, 
propably device driver bug...
USB Mass Storage support registered.

Certainly "propably" is a typo.

Did not look further - am not sure whether things are supposed to work
with only CONFIG_USB_UHCI_HCD selected.

Andries

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to