Re: usb device names on a multiseat-X machine



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

.



Relevant Pages

  • Re: KB & Mouse card for PowerEdge 2800 ?
    ... KB & Mouse card for PowerEdge 2800? ... The 2800s had USB on the motherboards and could be used with USB ... connectors (keyboard and mouse) to a USB port? ... just because you stick the a ps/2 to usb conenctor on the end dose not ...
    (alt.sys.pc-clone.dell)
  • Re: Mouse
    ... USB or PS/2? ... You were using a PS/2 mouse and PS/2 keyboard before and had no ... keyboard) or isn't configured to support them. ...
    (microsoft.public.windowsxp.general)
  • Re: computer goes to sleep with 34 minutes remaining in setup
    ... and keyboard with ps/2 connections, I have no usb devices ... >except your monitor, mouse and keyboard. ... >Windows XP SP1 Installation Stops Responding with About ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: USB Keyboard to PS/2 and back to USB
    ... > As far as I know, it should work with any of those purple USB to PS/2 ... > just a plain USB keyboard, ... > this active adapter, then connect it to my PC. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Keyboard wont work
    ... wrong, that PS/2 converted to USB doesn't often work, whereas USB to PS/2 is ... I'm using a keyboard cable( ... i have a microsoft multimedia keyboard ...
    (microsoft.public.windowsxp.general)