On 03/18/2011 08:36, Hans Petter Selasky wrote:
On Friday 18 March 2011 13:16:45 Barry Kominik wrote:
On Mar 18, 2011, at 3:54 AM, Hans Petter Selasky wrote:
Hi,
the usbconfig reset fixes the issue. Is there a way I can make this
happen on boot?
#ps auxw|grep -i moused
root 2743 0.0 0.0 9124 1444 0 S+ 9:10PM 0:00.01 grep
-i moused
#usbconfig -d 4.2 reset
#ps auxw|grep -i moused
root 2843 0.6 0.0 8072 1076 ?? Ss 9:10PM 0:00.13
/usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pi
root 2895 0.0 0.0 9124 1444 0 S+ 9:10PM 0:00.01 grep
-i moused
Do you have moused_enable="YES" in your /etc/rc.conf
Yes..
The moused should be started by devd. Could you dump the descriptors
using commands "dump_curr_config_desc dump_device_desc" before the
device is reset?
Try to run:
/usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
Before device reset. Maybe there is an error code.
--HPS
The USB descriptors look OK.
Try to add:
hw.usb.ums.debug="15"
Into the end of /boot/loader.conf
Also try:
hw.usb.ugen.debug="15"
Then reboot and send any errors you see in dmesg.
Try:
Edit /etc/rc.d/moused:
Add "sleep 1" in the moused_start() function. Maybe your system is too quick
to search for the character device?
--HPS
Hi,
I solved the issue. There were no errors. I set moused_port="/dev/ums0"
in rc.conf. Sorry for the noise. This is my first PC-BSD install, I do
not recall being asked if I was using a usb mouse. I am coming from and
OpenBSD and OpenSolaris background and didn't grok /etc/default/rc.conf.
Once I looked inside it was obvious what to do.
I do appreciate your attention and support,
Barry
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"