[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

udev question



hi there,

i was wondering if somebody could help me set up udev to make symlinks in a
specific way...

i have 2 mouse input devices... one is always connected (/dev/input/mouse1) and
another is a usbmouse and appears as (/dev/input/mouseX), with X increasing
every time i remove and reconnect it.

i would very much like to have a symlink set up by udev (/dev/input/mousemain or
similar) which points to the /dev/input/mouseX unless it has been removed, in
which case it should be pointed to /dev/input/mouse1.

unfortunately the /dev/input/mouseX devices all remain when the usb mouse is
unplugged and reconnected.



Reply to: