Re: usb device names on a multiseat-X machine
- From: Robert Heller <heller@xxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 20:42:16 +0100
At Wed, 28 Nov 2007 18:41:20 +0100 Wolfgang Klein <klein.wolfg@xxxxxx> wrote:
I am running a multiseat machine for two users. There are two mice and
two keyboards attached, one set via ps/2 and one via usb. The usb
keyboard and mice are introduced to X like this in xorg.conf:
Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "CoreKeyboard"
Option "Phys" "usb-0000:00:10.1-1/input0"
...
EndSection
The physical address is needed to assign each keyboard to the right
seat. If I leave it out, one user will have two mice and two keyboards
and the other will have none, because the first X server will grep all
input devices it can find.
As long as no other usb device is plugged in while booting, the above
option works perfectly. It there is something else plugged in while
booting, the address seems to chance and evdev can't find the keyboard
any more. (The same goes for the mouse.) That's why I'd like to get rid
of the physical address there and use
Option "Name" "HID 1267:0103"
instead. But if I do this, X crashes giving me this error:
(EE) Keyboard1-usb-0000:00:10.1-1/input0: AbsoluteTouch: 'DIGI_Touch'
does not exist.
Until now, I haven't been able to find out what this means.
Anyway: is there any other way to tell X which keyboard and which mouse
to use, regardless which usb port they are plugged into?
Are the keyboards 'different'? If so, you can create rules for udev to
create unique device files under /dev. The udev rules can access info
under the /sys file system and fetch things like vendor name or model #
and such. Once this is working, you should be able to bind each
keyboard to the proper /dev files.
(You could do the same for the mice, esp. if you ever decide to replace
the ps/2 mouse with a *second* USB mouse.)
Thanks in advance.
--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@xxxxxxxxxxxx -- Contract Programming: C/C++, Tcl/Tk
.
- Follow-Ups:
- Re: usb device names on a multiseat-X machine
- From: Dances With Crows
- Re: usb device names on a multiseat-X machine
- Prev by Date: What's the "recommended" distro these days?
- Next by Date: Re: What's the "recommended" distro these days?
- Previous by thread: What's the "recommended" distro these days?
- Next by thread: Re: usb device names on a multiseat-X machine
- Index(es):
Relevant Pages
|