linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sam Halliday <fommil@yahoo.ie>
To: linux-hotplug@vger.kernel.org
Subject: mouse symlinks
Date: Thu, 08 Jul 2004 21:13:30 +0000	[thread overview]
Message-ID: <20040708221330.455a578a@localhost> (raw)

[-- 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 --]

                 reply	other threads:[~2004-07-08 21:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040708221330.455a578a@localhost \
    --to=fommil@yahoo.ie \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).