Bug 28751

Summary: USB Mouse doesn't seem to work!
Product: Base System Reporter: sucho2 <sucho2>
Component: kernAssignee: Nick Hibma <n_hibma>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description sucho2 2001-07-06 03:10:01 UTC
I'm trying to enable Kensington MIAB Optical (Kensington mouse in a box optical USB mouse) but I keep getting device busy!  This mouse is supported under FreeBSD and it works flawlessly under Linux and Windows.

I've edited in /etc/rc.conf:

moused_enable="YES"
moused_type="auto"
moused_port="/dev/ums0"
moused_flags=""
usbd_enable="YES"
usbd_flags=""

I've tried it on the GENERIC kernel and my custom kernel.  The GENERIC FreeBSD kernel already has USB and USB mouse support compiled in.  So does my custom kernel.

When system boots, I get "Unable to open device. Device busy" error.  Does FreeBSD 4.3 kernel support USB optical mouse? (Kensington Mouse In a Box Optical usb mouse).

How-To-Repeat: Try to enable usb mouse
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-07-06 07:42:46 UTC
Responsible Changed
From-To: freebsd-bugs->nhibma

Nick likes USB :)
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2001-07-06 07:48:25 UTC
Responsible Changed
From-To: nhibma->n_hibma

Oops.  Turn it over to the correct address of Nick Hibma.
Comment 3 n_hibma 2001-07-06 09:58:25 UTC
You do not need to enable moused on ums0. If you look at

	/etc/usbd.conf

you will see that it automatically starts moused on connect of a mouse
on the USB port and kills that mouse daemon on removal of the device.

Do the following: Set moused_enable to "NO", and use a

	killall moused

(as user root) to kill all the moused's. Then unplug and replug your USB
mouse and it should work out of the box.

If it doesn't, please send me the output of the command

	dmesg

to see what your mouse reports itself to be. At the same time could you
send me the output of

	kldstat -v

Hope this helps.

Nick
Comment 4 Nick Hibma freebsd_committer freebsd_triage 2002-11-25 21:41:24 UTC
State Changed
From-To: open->closed

No feedback from user on whether this fixed the issue.