how to enable my usb mouse in freebsd15 ?

hi all:
i have upgrade my freebsd14 to freeebsd15 ..now the usb mouse cannot work.....

note : below was my freebsd14 mouse configuration in /etc/rc.conf ..
#enable usb mouse in VT shell
moused_port="/dev/ums0"
moused_type="auto"
moused_enable="yes"
moused_flags="-m 2=3"

this configuration can driver my usb mouse in freebsd14 VT ..now freebsd15 VT cannot drive my usb mouse ....do you have some way to drive my usb mouse..thanks.
 
I have no idea, but looking at the 15.0 release notes:


The usbhid(4) driver is now enabled by default, and is used in preference to other USB HID drivers like ukbd(4), ums(4), and uhid(4).

The man page: https://man.freebsd.org/cgi/man.cgi?query=usbhid&sektion=4&format=html

Looks like you can turn on debugging for usbhid, or turn it off, so maybe you could try turning it off and see if that helps.

I'm guessing that maybe usbhid stops ums working like it used to for your mouse, but I'm probably wrong. Might be worth a try, anyway.
 
Kind-of curious if this would work, but unplug the mouse, run this, and plug it in within 3 seconds of running (used to do it for a joystick and U2F key):
Code:
su - root -c "sysctl 'hw.usb.usbhid.enable=0' && sleep '3' && sysctl 'hw.usb.usbhid.enable=1'"
 
Back
Top