Stephen, Here is a running example of what happens:
Boot up messages, no usb devices attached.
usb.c: registered new driver usbdevfs usb.c: registered new driver hub PCI: Found IRQ 5 for device 00:10.3 ehci_hcd 00:10.3: VIA Technologies, Inc. USB 2.0 ehci_hcd 00:10.3: irq 5, pci mem e09f9000 usb.c: new USB bus registered, assigned bus number 1 PCI: 00:10.3 PCI cache line size set incorrectly (32 bytes) by BIOS/FW. PCI: 00:10.3 PCI cache line size corrected to 64. ehci_hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4 hub.c: USB hub found hub.c: 6 ports detected uhci.c: USB Universal Host Controller Interface driver v1.1 PCI: Found IRQ 11 for device 00:10.0 PCI: Sharing IRQ 11 with 00:12.0 uhci.c: USB UHCI at I/O 0xd000, IRQ 11 usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 3 for device 00:10.1 uhci.c: USB UHCI at I/O 0xd400, IRQ 3 usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 10 for device 00:10.2 PCI: Sharing IRQ 10 with 00:11.5 uhci.c: USB UHCI at I/O 0xd800, IRQ 10 usb.c: new USB bus registered, assigned bus number 4 hub.c: USB hub found hub.c: 2 ports detected
hid.o, keybdev.o, input.o are not loaded.
Plug in Saitek Cyborg joystick.and run dmesg, Th following is added on.
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x6a3/0x6) is not claimed by any active driver.
usb.c: registered new driver hiddev
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
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
<Keeps repeating last line>
lsmod now yeilds: Module Size Used by Not tainted keybdev 2080 0 (unused) mousedev 4276 0 (unused) hid 21636 0 (unused) input 3232 0 [keybdev mousedev hid] <rest of modules> Still no joydev module.
Now, reboot the system modprobe joydev BEFORE plugging in joystick. Module Size Used by Not tainted joydev 6048 0 (unused) input 3232 0 [joydev] uhci 25616 0 (unused) ehci-hcd 17544 0 (unused) usbcore 62016 1 [uhci ehci-hcd]
Now plugin joystick.usbview adds Cyborg Joystick under the hub,
However, dmesg reveals:
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x6a3/0x6) is not claimed by any active driver.
usb.c: registered new driver hiddev
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
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
and lsmod:
keybdev 2080 0 (unused)
mousedev 4276 0 (unused)
hid 21636 0 (unused)
joydev 6048 0 (unused)
input 3232 0 [keybdev mousedev hid joydev]
uhci 25616 0 (unused)
ehci-hcd 17544 0 (unused)
I also have a Belkin USB serial adapter that works just fine with USB. I hope this helps.
tj
Stephen J. Gowdy wrote:
Are there any error messages in your kernel log files?
On Fri, 9 Apr 2004, tj wrote:
In playing around I notice something. Boot the system with the joystick unplugged. Plug in the joystick and usbview reports cyborg joystick. Plus, modules input, hid, keybdev and mousedev are now loaded. Unplug the stick and it goes away in usbview. Plug it back in and it is listed as an "unkown device" 2.4.22 kernel.
1: Why is joydev not being loaded when the joystick is plugged in, but the other hids are? 2: Why after the first plug in is it listed as unknown when unplugged and plugged back in again?
tj
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
-- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users