Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-04-2009, 03:53 PM   #1
Registered: Mar 2006
Posts: 45

Rep: Reputation: 15
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?

Old 07-04-2009, 06:30 PM   #2
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
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.
Old 07-04-2009, 06:58 PM   #3
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 69
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rights /dev/st0 is changed at reboot Wimpie22 Linux - General 1 12-18-2007 09:47 AM
pc name changed after regular reboot Lord of the Board Linux - Newbie 2 10-01-2006 03:24 PM
reboot deletes /dev/modem link cch2cch Linux - Networking 2 08-23-2005 03:05 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
symbolic link: /dev/sound to /proc/asound/dev otterit Linux - General 3 08-08-2002 05:33 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration