From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6fa2e4c6a1175605 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-04-18 00:47:21 PST Path: gmdzi!unido!mcsun!uunet!samsung!usc!elroy.jpl.nasa.gov!decwrl!decwrl!granite.pa.dec.com!mellon From: mellon@fenris.pa.dec.com (Ted Lemon) Newsgroups: comp.sys.dec Subject: Re: Mouse problem with DECstation 3100 Message-ID: Date: 17 Apr 90 20:05:16 GMT References: <11711@wpi.wpi.edu> Sender: news@decwrl.dec.com Distribution: comp Organization: Digital Equipment Corporation Posted: Tue Apr 17 21:05:16 1990 In-reply-to: john@wpi.wpi.edu's message of 16 Apr 90 18:48:54 GMT John F Stoffel sez: >We've got a minor problem with our DECstation 3100s. Whenever someone >unplugs a mouse from the back of the CPU box, the system freezes. >Plugging the mouse back in doesn't help at all, it just stays frozen. Patient: Doctor, when I twist my hand like this, it hurts terribly! Doctor: Don't twist your hand like that. I presume that you mean that your X server freezes, and no amount of hacking will get it back. The reason you can't win after that's happened is that the mouse is initialized at boot time. When you unplug it, you've power cycled it, so it won't work properly with the X server until it's gotten its initialization string, which it won't get until the mouse device driver is re-initialized, which won't happen until you reboot. So, my recommendation to you is that in the future, you avoid unplugging the mouse. Since I'm also the sort of person who does things like that for various reasons, I would be sympathetic to you if were to suggest that the device driver should time out and try to re-initialize the mouse once in a while. Unfortunately, I don't work on that code, and the person who does probably is smarter than you and I and doesn't ever unplug mice from running systems. Sigh. _MelloN_