USB Keypad
I want to simultaneously use a PS/2 keyboard (This is a laptop, so switching that out is not an option) and a USB numeric keypad, which works perfectly as a usb HID keyboard. Is there any way to do this with the current keyboard driver ?
Signature · 3 lines
Josh Litherland ([email protected]) public key: temp123.org/fauxpas.pgp fingerprint: CFF3 EB2B 4451 DC3C A053 1E07 06B4 C3FC 893D 9228
Quoted 4 lines · Josh Litherland
I want to simultaneously use a PS/2 keyboard (This is a laptop, so switching that out is not an option) and a USB numeric keypad, which works perfectly as a usb HID keyboard. Is there any way to do this with the current keyboard driver ?
Should work just fine today. What kind of problems do you have when you try to do it?
thanks,
greg k-h
Quoted 2 lines · Greg KH
Should work just fine today. What kind of problems do you have when you try to do it?
Just not getting any events from the keypad. When I load up evdev, and cat the device I get the appropriate gibberish, so the device is detected okay. This is 2.4.18, if that makes a difference for the purposes of this discussion.
Signature · 3 lines
Josh Litherland ([email protected]) public key: temp123.org/fauxpas.pgp fingerprint: CFF3 EB2B 4451 DC3C A053 1E07 06B4 C3FC 893D 9228
Quoted 9 lines · Josh Litherland
Quoted 2 lines · Greg KH
Should work just fine today. What kind of problems do you have when you try to do it?
Just not getting any events from the keypad. When I load up evdev, and cat the device I get the appropriate gibberish, so the device is detected okay. This is 2.4.18, if that makes a difference for the purposes of this discussion.
If the device is detected, how is it detected? Is the USB HID driver binding to the device?
thanks,
greg k-h
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Josh Litherland
Quoted 2 lines · Greg KH
If the device is detected, how is it detected? Is the USB HID driver binding to the device?
hub.c: USB new device connect on bus1/1, assigned device number 4
input0: USB HID v1.00 Keyboard [ USB Keypad ] on usb1:4.0
Looks good to me (from a USB subsystem standpoint.) As for why it's not working for you, I don't know. Perhaps it's spitting out keycodes that you're not expecting to see.
Good luck,
greg k-h
Quoted 8 lines · Josh Litherland
Quoted 2 lines · Greg KH
Should work just fine today. What kind of problems do you have when you try to do it?
Just not getting any events from the keypad. When I load up evdev, and cat the device I get the appropriate gibberish, so the device is detected okay. This is 2.4.18, if that makes a difference for the purposes of this discussion.
OK, evdev is on the userspace side of the input core (and USB is on the other). If evdev reports events (and you can decode them, if you are interested, using tools available from the linuxconsole CVS), then all is probably well with USB and the input core.
The obvious error would be not compiling in the input layer keyboard driver (or not loading the module, whatever).
If that definately isn't wrong (like lsmod shows the module, or a normal USB keyboard works fine and the keypad doesn't), then we'll likely need the HID descriptors. Probably easiest to get them from evdev using the evtest tool from linuxconsole CVS.
Brad
Signature · 1 line
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
Quoted 2 lines · Brad Hards
The obvious error would be not compiling in the input layer keyboard driver (or not loading the module, whatever).
Good call. That did it, thanks.
Signature · 3 lines
Josh Litherland ([email protected]) public key: temp123.org/fauxpas.pgp fingerprint: CFF3 EB2B 4451 DC3C A053 1E07 06B4 C3FC 893D 9228