-   Slackware (
-   -   link to /dev/mouse changed on reboot (

rwcooper 07-04-2009 04:53 PM

link to /dev/mouse changed on reboot

I am running Slackware 12.2 on an old computer with a serial mouse. After each reboot /dev/mouse is a link to input/mice even though I change it to being a link to /dev/ttyS0. Can anyone tell me what I need to do to ensure that /dev/mouse remains a link to /dev/ttyS0 across reboots?


Woodsman 07-04-2009 07:30 PM

I think the problem is caused by two udev rules:


KERNEL=="mice",  SYMLINK+="mouse"

KERNEL=="mouse*|mice|event*", NAME="input/%k", MODE="0640"
I won't pretend to understand writing new udev rules and I've hacked only a few on my own. Do know that you want to add your own udev rule in /etc/udev/rules.d and not in /lib/udev/rules.d.

Perhaps that is sufficient information to help you get started, but I'm sure somebody here will help you write a new rule.

Uncle_Theodore 07-04-2009 07:58 PM

I /think/ the rule you mentined should be changed to

KERNEL="tts/%n" SYMLINK="mouse"
But I'm not sure. I don't even have such a rule in my system.
Here's the general tutorial

All times are GMT -5. The time now is 07:16 PM.