View Single Post

   
  #8 (permalink)  
Old 02-21-2008, 04:43 AM
Henrik Carlqvist
 
Posts: n/a
Default Re: switching from PS2 mouse to microsoft serial HOW?

Sambo <sambo@voidstar.com> wrote:
> Henrik Carlqvist wrote:
>> # KERNEL=="mice", NAME="input/%k", MODE="0644",
>> SYMLINK+="mouse"


> I commented it out but now my mouse link is removed on boot . I guess
> I'll create it in rc.local


I'm no expert on writing udev rules, but maybe it would help to write a
new rule looking something like this:

KERNEL=="ttyS0", NAME="tts/0", SYMLINK+="mouse", MODE="0644"

Maybe you will also have to modify the existing rule

KERNEL=="ttyS[0-9]*", NAME="tts/%n", SYMLINK+="%k", GROUP="uucp",\
MODE="0660"

to look something like:

KERNEL=="ttyS[1-9]*", NAME="tts/%n", SYMLINK+="%k", GROUP="uucp",\
MODE="0660"

But as I wrote before, I'm only guessing now and haven't tried this myself.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc1(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

Reply With Quote