Date: Tue, 30 Nov 1999 01:13:37 -0800 From: "Andrey A. Chernov" <ache@freebsd.org> To: Soren Schmidt <sos@freebsd.dk> Cc: Nick Hibma <n_hibma@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/moused moused.c Message-ID: <19991130011337.B55955@freebsd.org> In-Reply-To: <199911300839.JAA20795@freebsd.dk>; from sos@freebsd.dk on Tue, Nov 30, 1999 at 09:39:05AM %2B0100 References: <199911291721.JAA26708@freefall.freebsd.org> <199911300839.JAA20795@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 30, 1999 at 09:39:05AM +0100, Soren Schmidt wrote: > It seems Nick Hibma wrote: > > n_hibma 1999/11/29 09:21:10 PST > > > > Modified files: > > usr.sbin/moused moused.c > > Log: > > Bail out on failing the read(). This happens when a USB mouse is > > disconnected. We retry the open in the parent subroutine. > > This breaks moused on my laptop, you are not supposed to bail out on the > read (its on a non-blocking device), just wait for something to happen. > Perhaps you should check errno for EAGAIN ?? I can confirm that. My Genius 3-button mice stop working too :-( -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991130011337.B55955>