https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224378
Bug ID: 224378
Summary: moused goes crazy when there are USB mouses and no PS2
mouses
Product: Base System
Version: 11.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: usb
Assignee: freebsd-usb@FreeBSD.org
Reporter: verma...@interia.pl
I have several 'mouse' type devices attached to FreeBSD box, a 'normal' mouse,
an air mouse, but I do not have any PS2 mouse. All of them work properly on
FreeBSD. There is only problem with /etc/rc.d/moused script that always relies
on PS2 mouse for PID and status.
Here are USB mouses:
# grep '^ums' /var/run/dmesg.boot
ums0 on uhub4
ums0: on usbus0
ums0: 5 buttons and [XYZ] coordinates ID=0
ums1 on uhub4
ums1: on usbus0
ums2 on uhub4
ums2: on usbus0
ums3 on uhub5
ums3:
on usbus0
ums3: 14 buttons and [XYZT] coordinates ID=2
ums3: 8 buttons and [XYZT] coordinates ID=5
Here are PS2 mouses (none):
# grep '^pms' /var/run/dmesg.boot
There are moused processes that were started at boot:
# ps ax | grep moused
362 - Is 0:00.37 /usr/sbin/moused -p /dev/ums0 -t auto -I
/var/run/moused.ums0.pid
379 - Is 0:00.00 /usr/sbin/moused -p /dev/ums1 -t auto -I
/var/run/moused.ums1.pid
396 - Is 0:00.00 /usr/sbin/moused -p /dev/ums2 -t auto -I
/var/run/moused.ums2.pid
413 - Is 0:00.00 /usr/sbin/moused -p /dev/ums3 -t auto -I
/var/run/moused.ums3.pid
But the moused script 'thinks' its not running:
# /etc/rc.d/moused status
moused is not running.
I can even 'start' it but it does not changes anything:
# /etc/rc.d/moused start
Starting default mousedmoused: unable to open /dev/psm0: No such file or
directory
But I can not stop it:
# /etc/rc.d/moused stop
moused not running? (check /var/run/moused.pid).
# ps ax|grep moused
362 - Is 0:00.37 /usr/sbin/moused -p /dev/ums0 -t auto -I
/var/run/moused.ums0.pid
379 - Is 0:00.00 /usr/sbin/moused -p /dev/ums1 -t auto -I
/var/run/moused.ums1.pid
396 - Is 0:00.00 /usr/sbin/moused -p /dev/ums2 -t auto -I
/var/run/moused.ums2.pid
413 - Is 0:00.00 /usr/sbin/moused -p /dev/ums3 -t auto -I
/var/run/moused.ums3.pid
Regards,
vermaden
--
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"