-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 29 May 2003 15:20 pm, Jeremy Huddleston wrote:
> I believe I have discovered a bug with linux-usb when using my Belkin
> KVM.  If I boot into linux just using the hid driver, the mouse fails to
> work, but the keyboard works:
This really is a strange one! What kernel are you using? What do the INPUT and 
USB lines from your .config look like?

> Boot Case 1 - hid: loaded, usbkbd: not loaded, usbmouse: not loaded
>          keyboard: works, mouse: doesn't work
> /proc/bus/usb/devices (relevant section):
> T:  Bus=02 Lev=01 Prnt=01 Port=02 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 is broken. Can you turn on debugging in the HID driver to get something 
more on why HID isn't binding to the second interface?

> If I boot with usbmouse and usbkbd, only the keyboard works:
> Boot Case 2 - hid: not loaded, usbkbd: loaded, usbmouse: loaded
>          keyboard: works, mouse: doesn't work
> /proc/bus/usb/devices (relevant section):
> T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  4 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=usbkbd
> 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=usbmouse
> E:  Ad=82(I) Atr=03(Int.) MxPS=   7 Ivl=8ms
This should work. What device are you using for usbmouse output? In any case, 
this is a bad option, and you don't want to use this configuration.

> If I boot into linux using the usbkbd and hid modules, both devices
> work!!:
>
> Boot Case 3 - hid: loaded, usbkbd: loaded, usbmouse: not loaded
>          keyboard: works, mouse: works
> /proc/bus/usb/devices (relevant section):
> T:  Bus=02 Lev=01 Prnt=01 Port=02 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=usbkbd
> 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
You shouldn't be using this configuration.

> Now, if I rmmod usbkbd after booting into case 3, both devices work:
>
> T:  Bus=02 Lev=01 Prnt=01 Port=02 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
> 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
OK, I'm lost. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+1dNJW6pHgIdAuOMRAsvEAKCR2JV6uhpqU2OevCQklsZZohx0NgCdEFy8
byeuH9mDM8aDxzwR5YC7cxs=
=x3nY
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to