linux-mips
[Top] [All Lists]

Re: SIGIO Handler

To: Hiroyuki Machida <machida@sm.sony.co.jp>
Subject: Re: SIGIO Handler
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Mon, 22 May 2000 13:31:49 +0200
Cc: agx@bert.physik.uni-konstanz.de, linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com
In-reply-to: <20000522113213A.machida@sm.sony.co.jp>; from machida@sm.sony.co.jp on Mon, May 22, 2000 at 11:32:13AM +0900
References: <20000518161135.A26055@bert.physik.uni-konstanz.de> <20000522113213A.machida@sm.sony.co.jp>
Sender: owner-linuxmips@oss.sgi.com
On Mon, May 22, 2000 at 11:32:13AM +0900, Hiroyuki Machida wrote:

> > I'm still trying to get the mouse to work under X. The problem seems not
> > to be related to X itself but to a kernel/glibc problem. X uses a SIGIO
> > handler to "get notified" about mouse events. I wrote my own small SIGIO
> > handler(see attached program) which works fine on my intel box but not
> > on an indy (glibc-2.0.6-3lm/linux-2.2.13-20000211). 
> 
> I had experienced same SIGIO problem. It that time, the definitions
> of glibc's FASYNC (in fnctbits.h) and kernel's FASYNC (in
> asm/fcnt..h) were not same. 
> 
> Check those values in your system, first.

I'll prepare a new glibc 2.0 release with the header file fixed.  Glibc 2.2's
<bits/fcntl.h> is ok.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>