Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Lenovo USB Keyboard
Date: Fri, 30 Oct 2009 18:36:19
Message-Id: 4AEB3218.8070405@xunil.at
In Reply to: Re: [gentoo-user] Lenovo USB Keyboard by Albert Hopkins
1 Albert Hopkins schrieb:
2
3 > I'm using evdev with hal. I'm told if you use this combination you
4 > shouldn't have any input devices in xorg.conf. In fact I don't even
5 > have an xorg.conf in either my Gentoo or Fedora machines and they both
6 > work fine. YMMV.
7
8 Nice for you. I just gave that a try and removed xorg.conf ... but I run
9 two monitors on a Nvidia-card so to define their resolutions and
10 positions I had to generate a config ... and that in turn also contains
11 input-sections. Removing those only still did not give me working mm-keys.
12
13 > Well, it's interesting that it shows EmulateWheelButton because there's
14 > nothing on the keyboard physically that appears to do that. But anyway,
15 > "just works"
16
17 I have that EmulateWheelButton (for the keyboard) as well ...
18
19 > I have INPUT_DEVICES="evdev keyboard synaptics mouse" in make.conf and
20 > in the GNOME keyboard preferences I just have "Evdev-managed keyboard".
21 > For kernel config I have:
22 >
23 > $ zgrep EVDEV /proc/config.gz
24 > CONFIG_INPUT_EVDEV=y
25 > CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
26 > # CONFIG_USB_PWC_INPUT_EVDEV is not set
27
28 Thanks a lot for your helpful infos.
29
30 --
31
32
33 Mine looks quite OK now as well:
34
35
36 (II) config/hal: Adding input device Lite-On Technology USB Productivity
37 Option Keyboard( has the hub in # 1 )
38 (II) LoadModule: "evdev"
39 (II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so
40 (II) Module evdev: vendor="X.Org Foundation"
41 compiled for 1.6.3.901, module version = 2.2.5
42 Module class: X.Org XInput Driver
43 ABI class: X.Org XInput driver, version 4.0
44 (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in
45 # 1 ): always reports core events
46 (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in
47 # 1 ): Device: "/dev/input/event2"
48 (II) Lite-On Technology USB Productivity Option Keyboard( has the hub in
49 # 1 ): Found 12 mouse buttons
50 (II) Lite-On Technology USB Productivity Option Keyboard( has the hub in
51 # 1 ): Found keys
52 (II) Lite-On Technology USB Productivity Option Keyboard( has the hub in
53 # 1 ): Configuring as keyboard
54 (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in
55 # 1 ): YAxisMapping: buttons 4 and 5
56 (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in
57 # 1 ): EmulateWheelButton: 4, EmulateWheelInertia: 10,
58 EmulateWheelTimeout: 200
59 (II) XINPUT: Adding extended input device "Lite-On Technology USB
60 Productivity Option Keyboard( has the hub in # 1 )" (type: KEYBOARD)
61 (**) Option "xkb_rules" "evdev"
62 (**) Option "xkb_model" "evdev"
63 (**) Option "xkb_layout" "us"
64 (II) config/hal: Adding input device Lite-On Technology USB Productivity
65 Option Keyboard( has the hub in # 1 )
66 (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in
67 # 1 ): always reports core events
68 (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in
69 # 1 ): Device: "/dev/input/event1"
70 (II) Lite-On Technology USB Productivity Option Keyboard( has the hub in
71 # 1 ): Found keys
72 (II) Lite-On Technology USB Productivity Option Keyboard( has the hub in
73 # 1 ): Configuring as keyboard
74 (II) XINPUT: Adding extended input device "Lite-On Technology USB
75 Productivity Option Keyboard( has the hub in # 1 )" (type: KEYBOARD)
76 (**) Option "xkb_rules" "evdev"
77 (**) Option "xkb_model" "evdev"
78 (**) Option "xkb_layout" "de"
79 (II) config/hal: Adding input device Logitech USB-PS/2 Optical Mouse
80 (**) Logitech USB-PS/2 Optical Mouse: always reports core events
81 (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event0"
82 (II) Logitech USB-PS/2 Optical Mouse: Found 12 mouse buttons
83 (II) Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
84 (II) Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
85 (II) Logitech USB-PS/2 Optical Mouse: Configuring as mouse
86 (**) Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
87 (**) Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4,
88 EmulateWheelInertia: 10, EmulateWheelTimeout: 200
89 (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical
90 Mouse" (type: MOUSE)
91 (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
92 (**) Logitech USB-PS/2 Optical Mouse: (accel) filter chain progression: 2.00
93 (**) Logitech USB-PS/2 Optical Mouse: (accel) filter stage 0: 20.00 ms
94 (**) Logitech USB-PS/2 Optical Mouse: (accel) set acceleration profile 0
95 (II) Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
96
97
98 ---> No more errors or warnings ... and "evdev" is used ... OK.
99
100 I still get no output/event for those upper seven keys ... oh my.
101 At least I got a cleaned up xorg.conf for now ;-)
102
103 It ain't that important although I would like to see them working, it's
104 a bit hard to understand that issues like this don't just work as well.
105
106 Thanks anyway for help, Stefan

Replies

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