I'm having problems getting some of the extra buttons on an IBM
USB keyboard to work.  The buttons generate keycodes (from showkey
-k), but produce no result from showkey -s.  And currently do not
generate an events in X under xev.   (However I am unsure whether I
should have to add an extra InputDevice in xorg.conf to correspond
to the two separate entries in /proc/bus/input/devices)


There are eight such keys ("Access IBM" button, and 7 application
launcher buttons).
The keys generate keycodes of the form
0x00 0x82 0x80
on keypress
0x80 0x82 0x80
on key release

with the last byte change with key:
0x80  Access IBM
0x81  Lock Desktop
0x82  My Documents
0x83  Word Processor
0x84  Spreadsheet
0x85  Calculator
0x86  E-mail
0x87  Internet


I'm running kernel 2.6.12-9-386 (kernel image from ubuntu
linux-image-2.6.12-9-386 )

The appropriate entry in /proc/bus/usb/devices is: 

T:  Bus=05 Lev=03 Prnt=04 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04b3 ProdID=301b Rev= 1.00
S:  Manufacturer=Lite-On Technology
S:  Product=USB Productivity Option Keyboard( has the hub in # 1 )
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 44mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   4 Ivl=255ms

And from /proc/bus/input/devices:

I: Bus=0003 Vendor=04b3 Product=301b Version=0100
N: Name="Lite-On Technology USB Productivity Option Keyboard( has the
hu"
P: Phys=usb-0000:00:1d.7-4.2.1/input0
H: Handlers=kbd event6
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f

I: Bus=0003 Vendor=04b3 Product=301b Version=0100
N: Name="Lite-On Technology USB Productivity Option Keyboard( has the
hu"
P: Phys=usb-0000:00:1d.7-4.2.1/input1
H: Handlers=kbd event7
B: EV=3
B: KEY=ff 0 0 3878 d8000101 e0000 0 0 0

The keyboard is variously named as:
IBM Enhanced Performance USB Keyboard
IBM Productivity Keyboard
Model No. 89P8800


Many thanks,
Jonathan Keeling
-- 
[EMAIL PROTECTED]                         http://www.mit.edu/~keeling
Phone: +1 617 253 3896



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to