-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I thought I responded to this, but I don't see the response in the archive... so maybe I forgot...
I NEED to use the usbkbd module as a workaround to the bug that I am reporting and have reported in the past (Thu, 29 May 2003 15:20 pm linux-usb-devel) to no response... I have been fine using this workaround, but it seems that no work is being done to correct the problem, and the workaround does not work in the 2.6 kernels. Perhaps it is as simple as an off-by-one error in the loop that examines the devices for driver assignment... Details: If I just have the hid module availible, it is assigned to the keyboard, and the mouse is listed as 'Driver=(none)' in /proc/bus/usb/devices. However, if I have the usbkbd module availible, it is assigned to the keyboard, then the hid module is assigned to the mouse. If I then 'rmmod usbkbd', hid is assigned to the keyboard to replace the usbkbd module... Or for another way of saying it: case 1 (usbkbd module not availible): Boot up computer. hotplug sees hid devices and loads the hid module hid module is assigned to keyboard Mouse is still listed as 'Driver=(none)' Keyboard works, mouse doesn't case 2 (usbkbd availible): Boot up computer hotplug sees keyboard device and loads usbkbd module usbkbd module is assigned to keyboard hotplug sees hid device (mouse) and loads hid module hid module is assigned to the mouse After booting, mouse and keyboard both work I do a 'rmmod usbkbd', and the keyboard is assigned 'hid' as its driver. Or in yet another way: This doesn't work: modprobe hid T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=050d ProdID=0108 Rev= 1.12 S: Manufacturer=Belkin Components S: Product=KVM USB Keyboard/Mouse C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 50mA 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=16ms I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=(none) E: Ad=82(I) Atr=03(Int.) MxPS= 7 Ivl=8ms This does work: modprobe usbkbd modprobe hid rmmod usbkbd T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=050d ProdID=0108 Rev= 1.12 S: Manufacturer=Belkin Components S: Product=KVM USB Keyboard/Mouse C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 50mA 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=16ms I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid E: Ad=82(I) Atr=03(Int.) MxPS= 7 Ivl=8ms - --Jeremy On Sunday October 19 2003 03:19, Brad Hards wrote: > On Sun, 19 Oct 2003 11:33 am, Jeremy Huddleston wrote: > > I have a Belkin KVM Switch, and it emulates a USB keyboard and mouse on > > all the systems. �I've put ----'s around the /proc/bus/usb/devices output > > below to bring attention to this device. �When I have only the 'hid' > > module installed, the keyboard 'sub-device' gets assigned the 'hid' > > module, and the mouse gets assigned '(none)'. �The workaround I've been > > able to use for this (in 2.4 kernels) is to load the 'usbkbd' module > > first, then load the 'hid' module. �This has the effect of assigning the > > 'usbkbd' driver to the keyboard and 'hid' to the mouse. > > Don't load usbkbd. Not ever. Even if you think you know what you're doing. > Don't even build it. > Just load: > mousedev > keybdev > hid > input > usb-ohci > ehci-hcd > > And all will be OK. > > Brad -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/lGMOgKpk8srJOlIRArIqAJ0dI3AAjJa4P+hO0roOMUOhpX21LgCfbchX nhYAQ5ALtshISqfALHWiHLQ= =SxDg -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
