Summary: | moused goes crazy when there are USB mouses and no PS2 mouses | ||
---|---|---|---|
Product: | Base System | Reporter: | Slawomir Wojciech Wojtczak <vermaden> |
Component: | usb | Assignee: | freebsd-usb (Nobody) <usb> |
Status: | Closed Not A Bug | ||
Severity: | Affects Many People | CC: | hselasky, sergey |
Priority: | --- | ||
Version: | 11.1-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Slawomir Wojciech Wojtczak
2017-12-16 12:48:20 UTC
FYI: USB moused instances are started by devd's rules. grep -r ums /etc/ --HPS (In reply to Hans Petter Selasky from comment #1) So I do not need moused_enable=YES in /etc/rc.conf? They will be started anyway by devd(8)? Hi, I'm not entirely sure. It is up the the moused rc.d script what will happen. It should be easy enough to test. --HPS I just rebooted the box and without 'moused_enable=YES' (moused not enabled) and all USB 'mouse like devices' has moused process started. Is that a bug or a feature? That moused is not enabled and FreeBSD starts it for these devices? Rdgards, vermaden (In reply to vermaden from comment #4) Look into /etc/defaults/rc.conf: >moused_nondefault_enable="YES" # Treat non-default mice as enabled unless > # specifically overriden in rc.conf(5). As HPS wrote above, non-default moused instances are invoked by devd as, e.g.: /etc/rc.d/moused start ums0 So, if you want to start, stop or know status of particular mouse device, you should run rc.d/moused with device name as second argument. e.g: /etc/rc.d/moused status ums0 If you want to disable particular mouse device, you should put to rc.conf: moused_ums0_enable="no" See also: man 5 rc.conf It seems too me that what you described is expected behavior and not a bug. Ok, thank you for explanation. You can close this one now as 'not bug'. |