Re: Use Joystick to reboot.
>>Linh Dang wrote:
>
>I remember having seen somewhere that you can use the joystick to make a cl=
>ean
>reboot. That's handy when X freezes and your keyboard and mouse get stuck. =
>Any
>info, pointer ?
Did you try searching on sunsite or tsx-11? It's been a while since I last
heard about that program. Anyway, you can grab joystick source package
and modify included test program to do a system(telinit 6) when a button's
pressed. And a sleep(5) between checks -- ugly, but it'll work.
--
Dimitri
emaziuk at curtin dot edu dot au
--------------------------------
Objects in the mirror appear further then they are
(etched on a rear view mirror of a Mitsubishi Mirage)
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: