Date: Tue, 15 Oct 2013 18:39:24 -0400 From: Glen Barber <gjb@FreeBSD.org> To: Florent Peterschmitt <florent@peterschmitt.fr> Cc: freebsd-stable@freebsd.org Subject: Re: changing mouse, detection problem Message-ID: <20131015223924.GR23579@glenbarber.us> In-Reply-To: <525DDE8B.2000405@peterschmitt.fr> References: <525DDE8B.2000405@peterschmitt.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--mvzZjokS1nTZS3h1 Content-Type: multipart/mixed; boundary="+bDoS+V4AJZnUgoC" Content-Disposition: inline --+bDoS+V4AJZnUgoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 16, 2013 at 12:32:11AM +0000, Florent Peterschmitt wrote: > Hello there, >=20 > I saw a very strange problem while using different mouses, one is HP > with only mouse and the other is a Razer Naga with mouse and keyboard > (numpad). >=20 > Then: >=20 > 1. Connect and disconnect HP mouse >=20 > Oct 16 00:29:17 yoda kernel: ums0: <vendor 0x0461 HP Laser Mobile Mouse, > class 0/0, rev 2.00/1.13, addr 2> on usbus5 > Oct 16 00:29:17 yoda kernel: ums0: 3 buttons and [XYZT] coordinates ID=3D1 > Oct 16 00:29:17 yoda devd: Executing '/etc/rc.d/moused quietstart ums0' > Oct 16 00:29:20 yoda kernel: ugen5.2: <vendor 0x0461> at usbus5 > (disconnected) > Oct 16 00:29:20 yoda kernel: ums0: at uhub4, port 1, addr 2 (disconnected) > Oct 16 00:29:20 yoda devd: Executing '/etc/rc.d/moused stop ums0' >=20 > 2. Connect Razer mouse >=20 > Oct 16 00:29:24 yoda kernel: ugen5.2: <Razer> at usbus5 > Oct 16 00:29:24 yoda kernel: ums0: <Razer Razer Naga, class 0/0, rev > 2.00/2.00, addr 2> on usbus5 > Oct 16 00:29:24 yoda kernel: ums0: error reading report description > Oct 16 00:29:24 yoda kernel: device_attach: ums0 attach returned 12 > Oct 16 00:29:24 yoda kernel: ukbd1: <Razer Razer Naga, class 0/0, rev > 2.00/2.00, addr 2> on usbus5 > Oct 16 00:29:24 yoda kernel: kbd3 at ukbd1 >=20 > Mouse is'n usable. >=20 > 3. Disconnect Razer mouse >=20 > Oct 16 00:29:27 yoda kernel: ugen5.2: <Razer> at usbus5 (disconnected) > Oct 16 00:29:27 yoda kernel: ukbd1: at uhub4, port 1, addr 2 (disconnecte= d) >=20 > 4. Reconnect it >=20 > Oct 16 00:29:32 yoda kernel: ugen5.2: <Razer> at usbus5 > Oct 16 00:29:32 yoda kernel: ums0: <Razer Razer Naga, class 0/0, rev > 2.00/2.00, addr 2> on usbus5 > Oct 16 00:29:32 yoda kernel: ums0: 5 buttons and [XYZ] coordinates ID=3D0 > Oct 16 00:29:32 yoda devd: Executing '/etc/rc.d/moused quietstart ums0' > Oct 16 00:29:32 yoda kernel: ukbd1: <Razer Razer Naga, class 0/0, rev > 2.00/2.00, addr 2> on usbus5 > Oct 16 00:29:32 yoda kernel: kbd3 at ukbd1 >=20 > Razer mouse is now usable. >=20 >=20 > Huh? I think I should try with another mouse than the Razer one to see > if something changes. For the moment I can't :) >=20 Can you see if this patch works? Apply to /etc/devd.conf. Glen --+bDoS+V4AJZnUgoC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="devd.conf.diff.txt" Content-Transfer-Encoding: quoted-printable Index: etc/devd.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- etc/devd.conf (revision 256563) +++ etc/devd.conf (working copy) @@ -130,7 +130,7 @@ match "type" "DESTROY"; match "cdev" "ums[0-9]+"; =20 - action "/etc/rc.d/moused stop $cdev"; + action "/etc/rc.d/moused quietrestart $cdev"; }; =20 # Firmware download into the ActiveWire board. After the firmware download= is --+bDoS+V4AJZnUgoC-- --mvzZjokS1nTZS3h1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJSXcQcAAoJELls3eqvi17QmAcP/Rso/5E6/Qn1JBoKCpjHhdi4 HMqKHpfAcI9vL0TP2W7PItkz8bqAExSt+3rZgG6LlRVUx5nJkiM4AtFBwiouRe7s ePoi8NSuaLeUUqQEp/qqBu4Ep4SF5MfnUWUsozm6p3JCVeSWM2f4KT2FpDGcI1Yy HITzXaY2gr3DpFhM7aQGz+d05iKV9F6WzCNMPRne/ZAYWezaniXsp1s15a2aMGGG d4Cm5R70qZ7ApOKIR6jacAFXXi/lmVBz24R0VYr/SI+0UosR0gBb9GfCS1WU3kui PIEPKKs+EvFiPn3WnmtmIQWcwoNpf10VVJMXMpIQASckM/iri6Udpnt6jLVeu3X/ 62Q3auuPAm288FgP7pabiK+VRFC92hSq0dYGjKdXyI6G1ZvNDPXixg0phWMsuWcj L2+2tcb09ozK/ovmEyB6GvENc/slLmTByMHWhMyOl5Z52YelYvE7e52roc4YKjCB AnJdFJqAa0n7QcNrwqMAyvUtISN1wQoU4ZYkKAfL+zvXuroKJh1Sf9PTBO2BheL0 e2mdRXMH26IiHn+lAZ602j4fa7zWuhtH+KphAk5as0DkeOw2YnuK4x4wGqxJTeNi OJliARHMZD/k5sz0mvyJBRDwRZjaehx26SZ0t7ues1HvBIMLGihncJmDodcijRz0 9GGSUKNb6Zz2T27A2OHI =4mco -----END PGP SIGNATURE----- --mvzZjokS1nTZS3h1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131015223924.GR23579>