[ltp] PS/2 Wheel Mouse
André Wyrwa
linux-thinkpad@linux-thinkpad.org
Tue, 13 Apr 2004 14:28:13 +0200
Modify it. Or modify your mandrake. That's what Linux is there for.
;-)
André.
On Mon, 2004-04-12 at 22:19, Gonzalo Avaria wrote:
> Thank you Andre,
> the only problem is that i am on Mandrake 9.2, so your script doesn't work on
> my TP.
> Thank you for your effort.
> Greetings.
> gonzalo
>
> On Monday 12 April 2004 15:38, André Wyrwa wrote:
> > #!/bin/sh
> > # check for presence of an external ps2 mouse
> > # so far works on thinkpads only since it uses tpctl
> >
> > echo "launching ps2mouse tester"
> >
> > if [ `tpctl --spe | grep "activation mode" | cut -c55-60` == "enable" ]
> > then
> > echo "HWPROF_PS2MOUSE=1" >> /var/state/hwprof/hwprofile
> > else
> > echo "HWPROF_PS2MOUSE=0" >> /var/state/hwprof/hwprofile
> > fi
>
> --
> Gonzalo Avaria S.
> Linux User from the end of the World
> CHILE
>
> Registered User #329224 (counter.li.org)
> Box #213779