Date: Sat, 28 Jul 2007 09:55:36 -0700 (PDT) From: Chris Maness <chris@chrismaness.com> To: Garrett Cooper <youshi10@u.washington.edu> Cc: FreeBSD List <freebsd-questions@freebsd.org>, Adam J Richardson <fatman.uk@gmail.com> Subject: Re: USB Mouse not Working Message-ID: <20070728095154.I11066@ns1.kq6up.org> In-Reply-To: <46AABA18.7080205@u.washington.edu> References: <20070727190640.J15421@ns1.kq6up.org> <46AAA9FD.20706@crackmonkey.us> <46AAAC79.309@chrismaness.com> <46AABA18.7080205@u.washington.edu>
index | next in thread | previous in thread | raw e-mail
> Chris Maness wrote: >> Adam J Richardson wrote: >>> Chris Maness wrote: >>>> I am having issues getting my USB mouse running. I don't get any error >>>> messages of the sort, and when I do #cat /dev/ums0 I don't get any funny >>>> garbage like I normally do out of a IO device. (That is after I kill >>>> moused). >>>> >>>> Any suggestions? >>> >>> I had this. I had to start some daemon before starting X... what was it >>> now... devd? usbd? psmd? moused? Something like that, anyway. And I had to >>> specify the "mouse port" IIRC. You know, something like "moused -p >>> /dev/ums0". >>> >>> Adam J Richardson >> I tried that, but I get nothing. Should I expect to see garbage from #cat >> /dev/sysmouse and then move the mouse around? Can you do that in console >> mode, and see if that gives you anything? >> >> Chris Maness > > moused(1) with usbd(1). Don't forget to compile uhid, ums, and all other > dependent drivers into the kernel, either statically or as modules (man ums, > uhid will get you on your way here). > > Try moused with auto detection, using /dev/ums0. If you don't see anything > about a USB mouse being attached in dmesg, you don't have the right drivers > compiled for your kernel. If you do, moused / usbd hasn't been setup yet. > > cat /dev/sysmouse will yield you the info you seek in the end, but you > should try /dev/ums0 first, because that will work regardless of whether or > not moused is started. > > Good luck :), > -Garrett > The mouse seems to get detected perfectly and this is the GENERIC kernel build that has the modules. The mouse gets detected and listed at boot time. However, I don't think I am getting data out of the mouse port. I beleive in the past I have checked with #cat /dev/ums0 and if things are working corectly, cat display binary garbage on the screen when you wiggle the mouse. Try this after killing moused (moused makes ums0 unavailable). Chris Manesshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070728095154.I11066>
