Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Lenovo USB Keyboard
Date: Fri, 30 Oct 2009 11:58:07
Message-Id: 1256903883.86657.18.camel@centar
In Reply to: Re: [gentoo-user] Lenovo USB Keyboard by "Stefan G. Weichinger"
1 On Fri, 2009-10-30 at 10:21 +0100, Stefan G. Weichinger wrote:
2 > > Not that it is XINPUT that is driving my keyboard, not Keyboard1.
3 > So
4 > > I'm guessing it's the X config.
5 >
6 > Might be. Do you have any keyboard section in xorg.conf?
7 > I assume I could get rid of xorg.conf at all but whenever I tried that
8 > my X11 didn't start up anymore ...
9
10 I'm using evdev with hal. I'm told if you use this combination you
11 shouldn't have any input devices in xorg.conf. In fact I don't even
12 have an xorg.conf in either my Gentoo or Fedora machines and they both
13 work fine. YMMV.
14
15 Ok, I just plugged a Logitech KB into my laptop. It has glitzy keys but
16 not as many (just multimedia, zoom, calculator and power/lock. Again,
17 all the keys "just work" except for zooms and also the "Media Center"
18 key and the "Music" key seem to both map to the same keypress
19 (XF86Tools), but I'm not one to use that button. I did lie in my
20 previous email though. I *do* use the volume keys but that's about it.
21 Anyway, when I plugged in the USB keyboard this is what got appended to
22 Xorg.0.log:
23
24 (II) config/hal: Adding input device Logitech USB Receiver
25 (**) Logitech USB Receiver: always reports core events
26 (**) Logitech USB Receiver: Device: "/dev/input/event12"
27 (**) Logitech USB Receiver: Device: "/dev/input/event12"
28 (II) Logitech USB Receiver: Found keys
29 (II) Logitech USB Receiver: Configuring as keyboard
30 (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type:
31 KEYBOARD)
32 (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type:
33 KEYBOARD)
34 (**) Option "xkb_rules" "evdev"
35
36 (**) Option "xkb_model"(**) Option "xkb_model" "evdev"
37
38 (**) Option "xkb_layout"(**) Option "xkb_layout" "us"
39 (II) config/hal: Adding input device Logitech USB Receiver
40 (**) Logitech USB Receiver: always reports core events
41 (**) Logitech USB Receiver: always reports core events
42 (**) Logitech USB Receiver: Device: "/dev/input/event13"
43 (II) Logitech USB Receiver: Found 12 mouse buttons
44 (II) Logitech USB Receiver: Found scroll wheel(s)
45 (II) Logitech USB Receiver: Found relative axes
46 (II) Logitech USB Receiver: Found x and y relative axes
47 (II) Logitech USB Receiver: Found absolute axes
48 (II) Logitech USB Receiver: Found absolute axes
49 (II) Logitech USB Receiver: Found keys
50 (II) Logitech USB Receiver: Configuring as mouse
51 (II) Logitech USB Receiver: Configuring as keyboard
52 (**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5
53 (**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia:
54 10, EmulateWheelTimeout: 200
55 (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type:
56 KEYBOARD)
57 (**) Option "xkb_rules" "evdev"
58 (**) Option "xkb_model" "evdev"
59 (**) Option "xkb_layout" "us"
60
61 (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
62 (**) Logitech USB Receiver: (accel) acceleration profile 0
63 (II) Logitech USB Receiver: initialized for relative axes.
64 (WW) Logitech USB Receiver: ignoring absolute axes.
65
66 Well, it's interesting that it shows EmulateWheelButton because there's
67 nothing on the keyboard physically that appears to do that. But anyway,
68 "just works"
69
70 I have INPUT_DEVICES="evdev keyboard synaptics mouse" in make.conf and
71 in the GNOME keyboard preferences I just have "Evdev-managed keyboard".
72 For kernel config I have:
73
74 $ zgrep EVDEV /proc/config.gz
75 CONFIG_INPUT_EVDEV=y
76 CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
77 # CONFIG_USB_PWC_INPUT_EVDEV is not set
78
79 HTH,
80 -a

Replies

Subject Author
Re: [gentoo-user] Lenovo USB Keyboard "Stefan G. Weichinger" <lists@×××××.at>