[ltp] PS/2 Wheel Mouse

Gonzalo Avaria linux-thinkpad@linux-thinkpad.org
Mon, 12 Apr 2004 16:19:51 -0400


Thank you Andre,=20
the only problem is that i am on Mandrake 9.2, so your script doesn't work =
on=20
my TP.
Thank you for your effort.
Greetings.
gonzalo

On Monday 12 April 2004 15:38, Andr=E9 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` =3D=3D "enable"=
 ]
> then
>   echo "HWPROF_PS2MOUSE=3D1" >> /var/state/hwprof/hwprofile
> else
>   echo "HWPROF_PS2MOUSE=3D0" >> /var/state/hwprof/hwprofile
> fi

=2D-=20
Gonzalo Avaria S.
Linux User from the end of the World
CHILE

Registered User #329224 (counter.li.org)
Box #213779=20