Re: switching from PS2 mouse to microsoft serial HOW? Sambo wrote:
> Henrik Carlqvist wrote:
>
>>
>> The reverting is probably done by udev. You could try to comment out a
>> line in /etc/udev/rules.d/50-udev.rules
>> # 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
> Cheers.
That will be too late. In /etc/rc.d/rc.M gpm is started before rc.local
is called, as shown by the following "tail".
kees@lankhmar:~$ tail -n 17 /etc/rc.d/rc.M
# Start the GPM mouse server:
if [ -x /etc/rc.d/rc.gpm ]; then
. /etc/rc.d/rc.gpm start
fi
# If there are SystemV init scripts for this runlevel, run them.
if [ -x /etc/rc.d/rc.sysvinit ]; then
. /etc/rc.d/rc.sysvinit
fi
# Start the local setup procedure.
if [ -x /etc/rc.d/rc.local ]; then
. /etc/rc.d/rc.local
fi
# All done.
You'll need to modify /etc/rc.d/rc.gpm.
Either create the link at the top of rc.gpm or modify the lines in
the "restart" and the "default" sections to use /dev/ttyS0 instead
of /dev/mouse.
Regards,
Kees.
--
Kees Theunissen. |