Using the device name is not suitable in my case as the PC has three USB keyboards and 2 USB mice connected. All keyboard are of the same make/model. Same deal with the mouse.
I got the thing working with my hack for the moment. Haven't heard a complaint from the people using it for several days. --- mike t. ----- Original Message ---- From: JM Ibanez <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, November 20, 2007 12:41:39 PM Subject: Re: [plug] scripting question Michael Tinsay <[EMAIL PROTECTED]> writes: > The file is an Xorg config file. And I need to make it point to the right USB keyboards and mice for a multiseat setup. > > The main problem is that the (a) kernel keeps on shuffling the > event[0-9] names everytime it boots/reboots, and (b) evdev can handle > only pointers to /dev/input/event[0-9] and not other names like > /dev/input/kdb0. You might want to try using Option "Name" <name of device> instead of using 'Option "Device" "/dev/input/eventN"' in your xorg.conf. According to the man page, 'Option "Name"' is more stable, especially for devices that get plugged and unplugged into different ports (and hence get assigned different eventN device nodes). You can also specify vendor (for the vendor ID) and product (for the product ID) if you're pretty sure of the mappings. E.g.: Section "InputDevice" Identifier "mouse" Driver "evdev" Option "Name" "Logitech Serial Mouse" # This is just an example, # not really a device EndSection -- JM Ibanez Software Architect Orange & Bronze Software Labs, Ltd. Co. [EMAIL PROTECTED] http://software.orangeandbronze.com/ _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

