From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Lenovo USB Keyboard
Date: Fri, 30 Oct 2009 07:58:03 -0400 [thread overview]
Message-ID: <1256903883.86657.18.camel@centar> (raw)
In-Reply-To: <4AEAB02A.5000701@xunil.at>
On Fri, 2009-10-30 at 10:21 +0100, Stefan G. Weichinger wrote:
> > Not that it is XINPUT that is driving my keyboard, not Keyboard1.
> So
> > I'm guessing it's the X config.
>
> Might be. Do you have any keyboard section in xorg.conf?
> I assume I could get rid of xorg.conf at all but whenever I tried that
> my X11 didn't start up anymore ...
I'm using evdev with hal. I'm told if you use this combination you
shouldn't have any input devices in xorg.conf. In fact I don't even
have an xorg.conf in either my Gentoo or Fedora machines and they both
work fine. YMMV.
Ok, I just plugged a Logitech KB into my laptop. It has glitzy keys but
not as many (just multimedia, zoom, calculator and power/lock. Again,
all the keys "just work" except for zooms and also the "Media Center"
key and the "Music" key seem to both map to the same keypress
(XF86Tools), but I'm not one to use that button. I did lie in my
previous email though. I *do* use the volume keys but that's about it.
Anyway, when I plugged in the USB keyboard this is what got appended to
Xorg.0.log:
(II) config/hal: Adding input device Logitech USB Receiver
(**) Logitech USB Receiver: always reports core events
(**) Logitech USB Receiver: Device: "/dev/input/event12"
(**) Logitech USB Receiver: Device: "/dev/input/event12"
(II) Logitech USB Receiver: Found keys
(II) Logitech USB Receiver: Configuring as keyboard
(II) XINPUT: Adding extended input device "Logitech USB Receiver" (type:
KEYBOARD)
(II) XINPUT: Adding extended input device "Logitech USB Receiver" (type:
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model"(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout"(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Logitech USB Receiver
(**) Logitech USB Receiver: always reports core events
(**) Logitech USB Receiver: always reports core events
(**) Logitech USB Receiver: Device: "/dev/input/event13"
(II) Logitech USB Receiver: Found 12 mouse buttons
(II) Logitech USB Receiver: Found scroll wheel(s)
(II) Logitech USB Receiver: Found relative axes
(II) Logitech USB Receiver: Found x and y relative axes
(II) Logitech USB Receiver: Found absolute axes
(II) Logitech USB Receiver: Found absolute axes
(II) Logitech USB Receiver: Found keys
(II) Logitech USB Receiver: Configuring as mouse
(II) Logitech USB Receiver: Configuring as keyboard
(**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5
(**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia:
10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Logitech USB Receiver" (type:
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
(**) Logitech USB Receiver: (accel) acceleration profile 0
(II) Logitech USB Receiver: initialized for relative axes.
(WW) Logitech USB Receiver: ignoring absolute axes.
Well, it's interesting that it shows EmulateWheelButton because there's
nothing on the keyboard physically that appears to do that. But anyway,
"just works"
I have INPUT_DEVICES="evdev keyboard synaptics mouse" in make.conf and
in the GNOME keyboard preferences I just have "Evdev-managed keyboard".
For kernel config I have:
$ zgrep EVDEV /proc/config.gz
CONFIG_INPUT_EVDEV=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
# CONFIG_USB_PWC_INPUT_EVDEV is not set
HTH,
-a
next prev parent reply other threads:[~2009-10-30 11:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-29 16:42 [gentoo-user] Lenovo USB Keyboard Stefan G. Weichinger
2009-10-29 17:28 ` Albert Hopkins
2009-10-29 17:37 ` Stefan G. Weichinger
2009-10-29 18:58 ` Albert Hopkins
2009-10-30 9:21 ` Stefan G. Weichinger
2009-10-30 11:58 ` Albert Hopkins [this message]
2009-10-30 18:36 ` Stefan G. Weichinger
2009-11-03 10:23 ` Stefan G. Weichinger
2009-11-04 22:38 ` Willie Wong
2009-11-05 22:26 ` Mick
2009-11-06 8:14 ` Stefan G. Weichinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1256903883.86657.18.camel@centar \
--to=marduk@letterboxes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox