linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mouse symlinks
@ 2004-07-08 21:13 Sam Halliday
  0 siblings, 0 replies; only message in thread
From: Sam Halliday @ 2004-07-08 21:13 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

hi there,

i noticed there is no users mailing list, so please excuse me posting to the
devel list; but there is no alternative.

what i wish to set up is a system whereby i have a symlink in /dev which points
to my preferred mouse device. when my usb mouse is plugged in, i would like it
pointed to it... but when unplugged, it should point to the machine's built in
touchpad.

i have (almost successfully) set up a udev rule which creates a symlink called
/dev/usbmouse which will always point to the usbmouse when it is plugged in (the
problem with /dev/input/mouseX is that X increments every time it is unplugged
and reconnected).

i was referred here from the debian-users list as the general concensus was that
udev could not have the link pointed to the touchpad when the usbmouse was not
plugged in, and that hotplug could probably help me there.

any help is appreciated.

cheers,
Sam
-- 
Free High School Science Texts
  http://www.nongnu.org/fhsst/
Sam's Homepages
  http://fommil.homeunix.org/~samuel/
  http://www.ma.hw.ac.uk/~samuel/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-08 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08 21:13 mouse symlinks Sam Halliday

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).