Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Lenovo USB Keyboard
Date: Thu, 29 Oct 2009 16:42:36
Message-Id: 4AE9C5F7.7040908@xunil.at
1 Got myself a Lenovo keyboard ...
2
3 a "ThinkPlus Enhanced Performance USB Keyboard"
4
5 wow, it looked much better online than it feels now ... *sigh*
6
7 I want to use that keyboard with Gnome (2.26 right now).
8
9 I googled how to use the multimedia-keys already, seems as if I have to
10 face some serious key-logging and hacking around to get those working
11 (no, nothing usable on that funny CD).
12
13 Some of them work (volume, internet-keys to the left), only the 7 keys
14 on top miss. I don't actually NEED them, but as I PAID them .... you
15 know ... ;-)
16
17 --
18
19 Just before I start hacking myself, I want to ask you if maybe someone
20 has already gone through this and is willing to share ...?
21
22 Sorry if I sound lazy, actually I am already getting a bit tired of
23 hacking stuff like that everytime I get a new piece of hardware.
24
25 --> for reference:
26
27 # cat /proc/bus/input/devices
28
29 [...]
30
31 I: Bus=0003 Vendor=04b3 Product=301b Version=0110
32 N: Name="Lite-On Technology USB Productivity Option Keyboard( has the
33 hub in # 1 )"
34 P: Phys=usb-0000:00:1d.1-1.1/input0
35 S: Sysfs=/class/input/input1
36 U: Uniq=
37 H: Handlers=kbd event1
38 B: EV=120013
39 B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
40 B: MSC=10
41 B: LED=1f
42
43 I: Bus=0003 Vendor=04b3 Product=301b Version=0110
44 N: Name="Lite-On Technology USB Productivity Option Keyboard( has the
45 hub in # 1 )"
46 P: Phys=usb-0000:00:1d.1-1.1/input1
47 S: Sysfs=/class/input/input2
48 U: Uniq=
49 H: Handlers=kbd event2
50 B: EV=13
51 B: KEY=ff 2000000 3878d8000001 e000000000000 0
52 B: MSC=10
53
54 [...]
55
56 The part in my xorg.conf (googled that one):
57
58
59 Section "ServerLayout"
60 Identifier "Layout0"
61 Screen 0 "Screen0" 0 0
62 InputDevice "Keyboard0" "CoreKeyboard"
63 InputDevice "Keyboard1" "SendCoreEvents"
64 InputDevice "Mouse0" "CorePointer"
65 EndSection
66
67 Section "InputDevice"
68
69 # generated from default
70 Identifier "Keyboard0"
71 Driver "evdev"
72 Option "Device" "/dev/input/event1"
73 EndSection
74
75 Section "InputDevice"
76 Identifier "Keyboard1"
77 Driver "evdev"
78 Option "Device" "/dev/input/event2"
79 EndSection
80
81
82 --
83
84
85 Thanks a lot for any help on this, Stefan

Replies

Subject Author
Re: [gentoo-user] Lenovo USB Keyboard Albert Hopkins <marduk@×××××××××××.org>