Date: Fri, 18 Mar 2011 08:54:03 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Subject: Re: USB Mouse - only works after being replugged in Message-ID: <201103180854.03062.hselasky@c2i.net> In-Reply-To: <4D82B2E6.3050808@kominik.net> References: <5ecea789f7bdf4d0232f5c32de56188d@kominik.net> <201103171844.49751.hselasky@c2i.net> <4D82B2E6.3050808@kominik.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103180854.03062.hselasky>