USB wired mouse not working

Marcin Cieslak saper at system.pl
Thu Apr 3 18:04:01 UTC 2008


Fabio Pennati wrote:
>    I installed FreeBSD Release 7.0 stable from ftp.
>    I found the following problems:

>    1) I can boot only in "rescue mode"; all other options result in an
>    hang. This could not be a problem if there is not influence on problem
>    no.2 below.

I am afraid the second problem may be related to your kernel hang in
the first place.

Can you post the output of your "dmesg" command?
What kind of machine is this.

Is it fresh install or update/overwrite of something else?

>    2) The USB mouse do not work at all, also if it is recognized during
>    boot (it is configured as standard in /etc/devd.conf) and a proper
>    "moused" process is started. The mouse is seen as usb generic device,
>    sysmouse protocol on port /dev/ums0. I  checked also with "usbdevs"
>    command  ant it appears normally on the usb hub.

Can you post the kernel logs when the mouse is attached?

I have (I think) similar setup - a laptop with external mouse.

I have two processes running:

% ps ax |grep moused
   583  ??  Is     0:51,41 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/moused.ums0.pid
  1270  ??  Rs     0:31,96 /usr/sbin/moused -3 -p /dev/psm0 -t auto

So should you also have.

Can you recompile the kernel with USB_DEBUG set and set the following 
variables at boot:

hw.usb.uhci.debug=6
hw.usb.ohci.debug=6
hw.usb.ums.debug=10

You may want to remove all usb-devices from the kernel and load them as 
modules in /boot/loader.conf:

usb_load="YES"
ugen_load="YES"
uhid_load="YES"
ukbd_load="YES"
ulpt_load="YES"
ums_load="YES"
cdce_load="YES"
ubsa_load="YES"
uplcom_load="YES"
ng_ubt_load="YES"
umass_load="YES"
uscanner_load="YES"

This is will make applying patches easier (you can set USB_DEBUG then in 
/etc/make.conf or in the appropriate /sys/modules/<module>/Makefile with:

DEBUG_FLAGS=-g -DUSB_DEBUG

--Marcin







-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20080403/61eeee21/signature.pgp


More information about the freebsd-usb mailing list