From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N3q7L-0008RR-IU for garchives@archives.gentoo.org; Fri, 30 Oct 2009 11:58:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 715C3E0652; Fri, 30 Oct 2009 11:58:06 +0000 (UTC) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by pigeon.gentoo.org (Postfix) with ESMTP id 4F25EE0652 for ; Fri, 30 Oct 2009 11:58:06 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 280DABD21F for ; Fri, 30 Oct 2009 07:58:06 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 30 Oct 2009 07:58:06 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:content-transfer-encoding; s=smtpout; bh=ytIs2TxkPBUK/1elvgFfJhuHSxo=; b=WXvvTl//yRs+0pkpj820GPk3WpqkuR0tWffxNOULF9jbGrtii3VFzSM4OlC5/8uQwodzW0iWn2ks94Nmbd2hQihNbAWrPiXpGRf/ZfTQFxGlNFldIVij2yUrFJEQHzN0f9rpilkvSvP+6GjrTD6t5KXy7trWh1Pxi8Pj142Gpl0= X-Sasl-enc: nKDG7WAp8tTE4/vMB+onK210rSyozvaILRhKZ1eoz15S 1256903885 Received: from [192.168.31.12] (cpe-069-134-183-088.nc.res.rr.com [69.134.183.88]) by www.fastmail.fm (Postfix) with ESMTPSA id B985E49D6FA for ; Fri, 30 Oct 2009 07:58:05 -0400 (EDT) Subject: Re: [gentoo-user] Lenovo USB Keyboard From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <4AEAB02A.5000701@xunil.at> References: <4AE9C5F7.7040908@xunil.at> <1256837286.2885.10.camel@brotherus.corp.redhat.com> <4AE9D2CD.7050507@xunil.at> <1256842706.2885.19.camel@brotherus.corp.redhat.com> <4AEAB02A.5000701@xunil.at> Content-Type: text/plain; charset="UTF-8" Date: Fri, 30 Oct 2009 07:58:03 -0400 Message-ID: <1256903883.86657.18.camel@centar> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6f069388-6c8f-4b5c-9c3c-959884635c8d X-Archives-Hash: 43052817abb0762b2072e3dfa760b1a7 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