linux-mips
[Top] [All Lists]

Re: SIGIO Handler

To: Hiroyuki Machida <machida@sm.sony.co.jp>, Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: SIGIO Handler
From: Guido Guenther <agx@bert.physik.uni-konstanz.de>
Date: Mon, 22 May 2000 15:30:05 +0200
Cc: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com
In-reply-to: <20000522133149.A4036@uni-koblenz.de>; from ralf@oss.sgi.com on Mon, May 22, 2000 at 01:31:49PM +0200
Mail-followup-to: Guido Guenther <guido.guenther@uni-konstanz.de>, Hiroyuki Machida <machida@sm.sony.co.jp>, Ralf Baechle <ralf@oss.sgi.com>, linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com
References: <20000518161135.A26055@bert.physik.uni-konstanz.de> <20000522113213A.machida@sm.sony.co.jp> <20000522133149.A4036@uni-koblenz.de>
Sender: owner-linuxmips@oss.sgi.com
User-agent: Mutt/1.1.9i
As a temporary workaround I changed the definition in asm/fcntl.h and 
recomiled the kernel, this makes the little test program work. Hope it
works for the xserver too...
Thanks a lot,
 -- Guido

On Mon, May 22, 2000 at 01:31:49PM +0200, Ralf Baechle wrote:
> 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

-- 
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc

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