nanogui: oops


Previous by date: 23 Sep 2000 09:01:06 -0000 Re: Project ideas, Mauro Colorio
Next by date: 23 Sep 2000 09:01:06 -0000 Re: microwindows .., Alex Holden
Previous in thread: 23 Sep 2000 09:01:06 -0000 oops, Bruce Perens
Next in thread: 23 Sep 2000 09:01:06 -0000 Re: oops, Greg's email

Subject: Re: oops
From: Jamie Guinan ####@####.####
Date: 23 Sep 2000 09:01:06 -0000
Message-Id: <Pine.LNX.4.21.0009230434160.2627-100000@gemini.home.net>

On Wed, 20 Sep 2000, Bruce Perens wrote:

> A slightly more gramatical version:
> 
> I'm using microwindows-0.89pre1, using a PS/2 mouse on the PS/2 mouse port,
> /dev/psaux, under kernel 2.2.17 . The kernel driver does not support termios
> calls on the psaux device. This causes MOU_Open() in mou_ser.c to fail.
> MOU_Open() should ignore the failure of the termios calls on /dev/psaux
> instead of bailing out. It works just fine without them.

I bumped into the same thing, with kernel 2.2.13 on a PowerPC 823 system.
I used a goto (ack) to jump over the termios calls.

Might the termios fail for any of other mouse types?  Or anything
that is not accessed through /dev/ttyXX?

Maybe the following would work:

1) Make SGTTY and TERMIOS "config" options (SERMOUSE_SGTTY=Y/N,
   SERMOUSE_TERMIOS=Y/N) instead of hard-coding them in mou_ser.c.

2) For "ps2" mouse type, skip the sgtty/termios stuff regardless
   (or perhaps, for non-/dev/ttyXX mouse device).

-Jamie


Previous by date: 23 Sep 2000 09:01:06 -0000 Re: Project ideas, Mauro Colorio
Next by date: 23 Sep 2000 09:01:06 -0000 Re: microwindows .., Alex Holden
Previous in thread: 23 Sep 2000 09:01:06 -0000 oops, Bruce Perens
Next in thread: 23 Sep 2000 09:01:06 -0000 Re: oops, Greg's email


Powered by ezmlm-browse 0.20.