Subject: Mouse/X weirdness?
To: None <port-i386@NetBSD.ORG>
From: Andrew Gillham <gillham@andrews.edu>
List: port-i386
Date: 09/02/1995 19:07:46
Ok, maybe I'm crazy.. but..
I have a nice old Logitech 3-buttom mouse, a C7. (the wedge style)
It has been working great, and I really like having three buttons.
I would rather be using my trusy old C7 instead of my newfangled 2button
MS jobber... :-)
Anyway, the problem is that X _hangs_ when I run startx. It switches
the screen to blank, and never comes back. If I kill it, I get the
terminal back. I thought maybe it was PCVT, so I rebuilt with PCCONS,
but the same problem. If I redirect the output of startx, I will
usually see errors like this:
Fatal server error:
Unable to set status of mouse fd (Inappropriate ioctl for device)
xinit: Resource temporarily unavailable (errno 35): unexpected signal
2
Unable to set status of mouse fd (Interrupted system call)
When I wait a while without killing X, I get a "Inappropriate IOCTL for
device" instead of the (Interrupted system call).
Well, I _found_ the problem.. (after switching ports/mice/etc)
If I have 'Protocol "Logitech"' in my Pointer section, X hangs, but
if I change it to "Microsoft" (no matter what mouse I use!) X comes
right up. Of course when I have a Logitech hooked up it doesn't work
right, but X is up.
Why?? Please tell me why??? :-) Oh, and I tried XFree86 v3.1.2.
That is all I have to say. It does the same thing, except that when I
exit the X server, my console is f**ked, and I have to reboot. XFree86
v3.1.1 _does not_ have this problem.
My config:
486/66 EISA/VLB
Mach32 VLB w/2MB
AST 4port (mouse is port 0)
BusLogic BT742A
Logitech C7 && MS 'dial bar' and 'ergonomic' rodents.
Note that with the com.c patch posted a few weeks ago, the Logitech
worked fine. As my ppp is working with the -current com.c I scrapped
the patch, not knowing it would hose my X.. :-)
Anyway, I don't have the XFree86 3.1.1 sources on-line, so I don't know
what it is trying to do to the tty for a Logitech mouse, but I can
generate a ktrace if it will help anyone.
Also, I'm not send-pr'ing this because I can't quite believe it. :)
-Andrew
--
============================ Real 32bit multi-tasking UN*X System
Andrew Gillham | TCP/IP,NFS,PPP,4.4BSD-lite,multi-user
gillham@andrews.edu | i386,sparc,alpha,mac68k,amiga,others
LAN/WAN/NW/UN*X specialist | ---> http://www.NetBSD.org <---
'Free the daemon in your computer, NetBSD'