Date: Wed, 14 Aug 1996 10:44:27 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: khetan@iafrica.com Cc: msmith@atrad.adelaide.edu.au, freebsd-hackers@freebsd.org Subject: Re: Mouse.. Message-ID: <199608140114.KAA27625@genesis.atrad.adelaide.edu.au> In-Reply-To: <Pine.BSF.3.95.960812212853.209A-100000@chain.iafrica.com> from "Khetan Gajjar" at Aug 12, 96 09:30:29 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Khetan Gajjar stands accused of saying: > > >Are you telling moused what sort of mouse you have & where it is? > > Yes - check this out : > > [chain] /usr/home/khetan# moused -d -f -p /dev/psm0 -t ps/2 > moused: rodent is ps/2 > moused: read returned -1 : Resource temporarily unavailable exiting Ah. Now, if you'd posted this like a week or so ago when you started complaining, we could have solved the problem straight away. When in doubt, go for the factual overload. It's impossible to diagnose a problem from "it doesn't work". The problem is due to the stupid fashion in which the ps/2 mouse driver decides whether it should be read in blocking or nonblocking mode. If the minor number has the LSB set, it's read in nonblocking mode, and the default /dev/psm0 is 21/1. You could try : # mknod /dev/nbpsm0 c 21 0 and then point moused at that, or you could 'fix' the psm driver to the (flag) argument to psmread() properly. > Khetan Gajjar [ http://www.iafrica.com/~khetan ] -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608140114.KAA27625>