Re: Use Joystick to reboot.

1997-08-08 Thread Martin . Bialasinski
On  7 Aug, Brian K Servis wrote:
 
 I had thought of doing as you did, adding a shutdown menu option.  I
 assume you are running as a regular user.  How did you set it up so
 that 'you' could start the shutdown process?
 
I user the super package (I guess you could use sudo as well).

This is the line from /etc/super.tab :

booten  /sbin/shutdown -r now martinb 

and /usr/local/bin/booten is just:

super booten 

Then I just add a menu option for /usr/local/bin/booten (in a submenu,
so I don't hit it by mistake).

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Use Joystick to reboot.

1997-08-08 Thread Nils Rennebarth
-BEGIN PGP SIGNED MESSAGE-

On Thu, 7 Aug 1997 [EMAIL PROTECTED] wrote:
On  7 Aug, Brian K Servis wrote:
 activity.  I still could move the pointer though.  My only solution at
 the time was to push the reset button.  If I had had a joystick driver
 active I could have started a clean shutdown which would have saved me
 some work when the system came back up with all kinds of disk errors
 due to the cold reboot.
 
Me too. It happens, if I switch runlevels running X. The keyboard is
locked. No switching to a VC possible, Alt + strg + Backspace didn't
work either.
This happens for me too. (I solved it then by grabbing together the
characters for
  shutdown -r now 
from all running xterms and pasted them in a root shell. Then never tried
to change runlevels running X)

I'm glad someone else sees this problem.

Is this a bug in:
  xserver-s3
  xbase
  sysvinit
  somewhere else?

Nils

- -- 
 \  /| Nils Rennebarth
--* WINDOWS 42 *--   | Schillerstr. 61 
 /  \| 37083 Göttingen
 | ++49-551-71626
   Micro$oft's final answer  | http://www.nus.de/~nils

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQB1AwUBM+szP1ptA0IhBm0NAQGDYAL9H7jbzNdGgY1UpadptJ1muTc6LlzOPgvp
ZTMi0N7TYkMuaC0KqydAjt3qADzqK8+WDRxkLbRmgwpluHs06Y4/JA1yTijKAgG4
oF5+zk0XrxG9ce0TN8inkTxycMqztHFc
=bSwO
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Use Joystick to reboot.

1997-08-07 Thread Daniel J. Mashao
On 6 Aug 1997, Linh Dang wrote:

 
 I remember having seen somewhere that you can use the joystick to make a clean
 reboot. That's handy when X freezes and your keyboard and mouse get stuck. Any
 info, pointer ?
That happens in OS/2 but I would not expect to see this in Linux. A copule
of times I had that problem on my laptop. It turns of the problem was that
my mouse was using the same IRQ 12 as the modem. 

I used at-batch to get it to reboot after I noticed the problem is
occuring after touching the mouse or trying to use the modem. 

So my suggestion is try to make sure there is no IRQ conflicts first -
otherwise you should not need a joystick reboot.
~~~
D.J. Mashao, [EMAIL PROTECTED]
---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Use Joystick to reboot.

1997-08-07 Thread Brian K Servis
Daniel J. Mashao writes:

On 6 Aug 1997, Linh Dang wrote:

 
 I remember having seen somewhere that you can use the joystick to make a 
 clean
 reboot. That's handy when X freezes and your keyboard and mouse get stuck. 
 Any
 info, pointer ?
That happens in OS/2 but I would not expect to see this in Linux. A copule
of times I had that problem on my laptop. It turns of the problem was that
my mouse was using the same IRQ 12 as the modem. 

I used at-batch to get it to reboot after I noticed the problem is
occuring after touching the mouse or trying to use the modem. 

So my suggestion is try to make sure there is no IRQ conflicts first -
otherwise you should not need a joystick reboot.
~~~
D.J. Mashao, [EMAIL PROTECTED]
---

I'll have to disagree with you.  I have had Netscape 4.01b6(java
related) and StarWriter both lock me out of keyboard or mouse button
activity.  I still could move the pointer though.  My only solution at
the time was to push the reset button.  If I had had a joystick driver
active I could have started a clean shutdown which would have saved me
some work when the system came back up with all kinds of disk errors
due to the cold reboot.

my $.02
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Use Joystick to reboot.

1997-08-07 Thread Martin . Bialasinski
On  7 Aug, Brian K Servis wrote:
 activity.  I still could move the pointer though.  My only solution at
 the time was to push the reset button.  If I had had a joystick driver
 active I could have started a clean shutdown which would have saved me
 some work when the system came back up with all kinds of disk errors
 due to the cold reboot.
 
Me too. It happens, if I switch runlevels running X. The keyboard is
locked. No switching to a VC possible, Alt + strg + Backspace didn't
work either.

The mouse works perfectly as well as X. I could start apps through the
mouse menues.

After the first time, I added a shutdown option to my FVWM Mouse-Menus
...

I am running X 3.3-3.

Ciao,
Martin 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Use Joystick to reboot.

1997-08-06 Thread Linh Dang

I remember having seen somewhere that you can use the joystick to make a clean
reboot. That's handy when X freezes and your keyboard and mouse get stuck. Any
info, pointer ?


Thanx

-- 
=
Linh Dang Nortel Technology
Member of Scientific StaffSpeech Recognition Software
[EMAIL PROTECTED]
=


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Use Joystick to reboot.

1997-08-06 Thread Dima
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
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .