LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > HCL > I/O Devices > LabTec
User Name
Password

Notices

Search · Register · Submit New Product ·
 

Labtec Number Pad for Notebooks
Reviews Views Date of last review
1 4190 09-10-2005
spacer
Recommended By Average Price Average Rating
100% of reviewers $19.95 4.0



Description: USB numeric keypad with 2 port USB hub
Keywords: numeric keypad
/sbin/lspci output: lsusb: Bus 001 Device 005: ID 1020:0501, Bus 001 Device 004: ID 05e3:0604 Genesys Logic, Inc
Connection Type: USB


Author
Post A Reply 
Old 09-10-2005, 04:29 PM   #1
wilsonronl
 
Registered: Sep 2005
Posts: 2
Thanked: 0
Would you recommend the product? yes | Price you paid?: $19.95 | Rating: 4

Kernel (uname -r): 2.6.3-7mdk
Distribution: Mandrake 10.0



[Log in to get rid of this advertisement]
Update:
Decided the Num Lock isn't really needed, so I redfined the number and decimal keys with xmodmap. Now it works fine as a numeric keypad.

This Perl one liner worked for me to automatically modify the key mad:

xmodmap -pke | perl -ane
'/keycode/ && /KP_([0-9]|Decimal)/ && print "keycode $F[1] = KP_$1 KP_$1\\n"'
| xmodmap -

Original:
Functions as cursor keypad.

showkey indicates Num_Lock key has a keycode of 0x00, which loadkeys will not accept.

Have xkbevd instead of xev, but no docs. Anyone got a xkbevd recipe to show X keycodes? (X keycodes differ from showkey/loadkeys keycodes) (Tried to build xev from source, but yet working correctly)

USB descriptor:
T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1020 ProdID=0501 Rev= 1.04
S: Manufacturer=PATEN
S: Product=USB Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
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=10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=82(I) Atr=03(Int.) MxPS= 6 Ivl=10ms

lsusb listing:
Bus 001 Device 005: ID 1020:0501
Bus 001 Device 004: ID 05e3:0604 Genesys Logic, Inc.

dmesg listing:
usb 1-1.1: new low speed USB device using address 5
drivers/usb/input/hid-core.c: ctrl urb status -32 received
drivers/usb/input/hid-ff.c: hid_ff_init could not find initializer
input: USB HID v1.10 Keyboard [PATEN USB Keyboard] on usb-0000:00:07.2-1.1
drivers/usb/input/hid-core.c: ctrl urb status -32 received
drivers/usb/input/hid-core.c: ctrl urb status -32 received
drivers/usb/input/hid-ff.c: hid_ff_init could not find initializer
input: USB HID v1.10 Device [PATEN USB Keyboard] on usb-0000:00:07.2-1.1
 is offline    





All times are GMT -5. The time now is 01:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration