no usb mouse in v13 installation.

moused_enable is for PS/2 mice, moused(8) for USB mice is automatically loaded through devd(8). So, run tail -F /var/log/messages and plug in a mouse. Anything getting logged? If nothing is being logged, are those USB ports enabled?
 
moused_enable is for PS/2 mice, moused(8) for USB mice is automatically loaded through devd(8). So, run tail -F /var/log/messages and plug in a mouse. Anything getting logged? If nothing is being logged, are those USB ports enabled?
Gives;
kernel: ums0: on uhb3
usb optical mouse, class 0/0, rev 1.10/1. address 2. on usbbus0
ums0: 3 buttons & [XYZ] coordinates ID=0
 
I don't think this is correct.
It is.
Code:
notify 100 {
        match "system" "DEVFS";
        match "subsystem" "CDEV";
        match "type" "CREATE";
        match "cdev" "ums[0-9]+";

        action "service moused quietstart $cdev";
};

notify 100 {
        match "system" "DEVFS";
        match "subsystem" "CDEV";
        match "type" "DESTROY";
        match "cdev" "ums[0-9]+";

        action "service moused stop $cdev";
};
If you want a mouse on the console, you need moused(8).
Which is automatically loaded when a USB mouse is detected.
 
Looks like this should work. I wonder whether it does at boot, will have to test that on my only machine with an USB mouse connected during boot ;)

Anyways, explicitly enabling moused never hurts…
 
Well, it has worked this way as far back as USB mice have been supported, so I expect it'll work fine.

Any idea why it's frozen on the screen?
Not sure why. Anything special about that mouse? moused(8) should work with any standard HID mouse.
 
Oops. You're correct. The main purpose of the script which has
those commands is to start wifi, but probably fixes a mouse issue, a
long while back so I don't recall the details.
 
There should be no need to load ums(4), it'll get loaded automatically. At least it has done so on all my systems so far. If you want to make sure it's loaded you could simply add it to loader.conf or kld_list (I would recommend the latter for anything that's not required for the system to boot).
 
Back
Top