Did X trash my /dev/psaux? How do I re-build/install /dev/psaux?

Did X trash my /dev/psaux? How do I re-build/install /dev/psaux?

Post by Sharon Kas » Wed, 20 Dec 1995 04:00:00



I finally got X up and running, looks nice! But I can't do it again, startx
gives:

        # startx
               .
               .
               .
        Fatal server error:
        Cannot open mouse (Device or resource busy)

        xinit: No such file or directory (errno 2): unexpected signal 13

An "ls -l" of /dev/psaux looks okay but probably isn't okay since I'm
getting this error. Can someone help me re-install it?

Thanks,
Sharon

(e-mail preferred unless you feel it is of interest for the group)

 
 
 

Did X trash my /dev/psaux? How do I re-build/install /dev/psaux?

Post by Brian Denhey » Wed, 20 Dec 1995 04:00:00


Lots of people seem to be having this problem (including myself at one time).  You'll need to go into your rc.d directory and find the rc.whatever file which runs gpm at boot.  Comment out the line that runs gpm.

This does not mean that its gpm's fault, it just solves the problem.

Does anybody care to comment on what the real probelm is ??

Brian Denheyer

 
 
 

Did X trash my /dev/psaux? How do I re-build/install /dev/psaux?

Post by Michael F Gord » Thu, 21 Dec 1995 04:00:00



Quote:>Lots of people seem to be having this problem (including myself at one time).
>You'll need to go into your rc.d directory and find the rc.whatever file which
>runs gpm at boot.  Comment out the line that runs gpm.

A better solution is to add 'gpm -k' to the beginning of the startx
script and restart it at the end.

Quote:>Does anybody care to comment on what the real probelm is ??

The problem is that /dev/psaux is an exclusive-open device.  A better
way of doing things, in my opinion, would be a "stackable-open" device.
If a process already had /dev/psaux open when something else opened
it, the first open would be stacked - reads and writes would block -
and all of the events would go to the latest open.  When the second
process closed /dev/psaux the events would start going to the first
open again.

This would mean that there would be no need to kill and restart gpm
when X was run - gpm would simply get no events for a while.  What
to do about switching between the VT that X is running on and one
where you might want to use gpm needs more thought though.

Michael Gordon
--
Politicians are like nappies, both should be changed regularly
and for the same reason - graffito on a wall in Yeovil.

 
 
 

1. help w/ /dev/mouse (/dev/psaux) in X and "cannot find gpm"

Hi all,

When I run startx, I get:
"Trans(SockUNIXConnect) () can't connect:  errno = 111
giving up
xinit:  Connection refused (errno 111): unable to connect to X server
xinit: No suck process (errno 3):  Server error."

and it drops me back to the shell.

Also (and I am pretty sure this has something to do with it) When I DO
get x working by manually changing the XF86Config file to use some other
type, it works one or two times (with no mouse functionality) and then
goes right back to the same error.  The mouse is a Kensington TrackBall
but I have had no problem in the past getting it to work with X.

Also, as a side note, I went to /usr/X11/bin and ran XF86_S3 and got the
error:
"Fatal server error:
Cannot open mouse (no such device)"

can we say ArgH?!

Please help me. please, please, please, please...

Thanks in advance (why do people always say that...)

Michael Bosley

2. chroot command...

3. /dev/mouse and /dev/psaux deleted!

4. Where is FTP site for Macintosh version of Unix?

5. Two mice /dev/psaux and /dev/ttyS1 possible under Linux

6. Sending break from laptop

7. trying to get /dev/psaux and /dev/hd1a recognized

8. Vendor-supplied binary integrity checkers?

9. /dev/psaux - XFree86 Hack (Documented)

10. /dev/psaux woes on PPro

11. mouse trouble: /dev/psaux causes fatal crash in X ????

12. Mouse problem: /dev/psaux no such device

13. Is /dev/psaux still a single-open device?