evdev changes break phys option
Yan Seiner
yan at seiner.com
Wed May 14 06:19:21 PDT 2008
It looks as though major changes were made to evdev that preclude the
use of selecting a physical device. In other words, the Option "phys"
line is not usable.
This setup now throws an error:
Section "InputDevice"
Identifier "KeyboardNoriko"
Driver "evdev"
Option "phys" "usb-0000:00:02.1-4.2/input1"
Option "CoreKeyboard"
EndSection
(**) KeyboardNoriko: always reports core events
(EE) KeyboardNoriko: cannot open input pEvdev
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for "KeyboardNoriko"
I'm running a fairly recent build from Debian Lenny:
X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20080131-4)
Current Operating System: Linux selene 2.6.24-1-amd64 #1 SMP Fri Apr 18
23:08:22 UTC 2008 x86_64
Build Date: 29 April 2008 07:24:27PM
I've googled and there are posts indicating this is a bug introduced
around Sep. 2007 or possibly intended changes for integration with
hal... There are also various workarounds that involve mucking about
with udev to create fixed /dev/input/eventX names so that the Option
"phys" doesn't have to be used. Rather than muck around with udev
(again) I figured I'd ask the experts.
So what's a user to do? I'm running a 2 seat setup and I have to be
able to select which keyboard gets used with which head.
--Yan
--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner (_)\(_) ,>/'_ o__
Personal Trainer (_)\(_) ,>/'_ o__
Professional Engineer (_)\(_) ,>/'_
Who says engineers have to be pencil necked geeks? (_)\(_)
"I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say 'Daddy, where were you when they took freedom of the press away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation
More information about the xorg
mailing list