Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 00:49:31 +0000
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: changing mouse, detection problem
Message-ID:  <525DE29B.4030806@peterschmitt.fr>
In-Reply-To: <20131015223924.GR23579@glenbarber.us>
References:  <525DDE8B.2000405@peterschmitt.fr> <20131015223924.GR23579@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--PDN0pl8EK6h0sDF2d2Ii3LImr6B1Eq47F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Le 15/10/2013 22:39, Glen Barber a =E9crit :
> Can you see if this patch works?  Apply to /etc/devd.conf.
>=20
> Glen
> 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 down=
load is

I have the opposit now.

Connecting the Razer after disconnecting the HP makes the Razer working.
But once I disconnect the Razer and reconnect it, no way:

HP ok:

Oct 16 00:48:54 yoda kernel: ugen5.2: <vendor 0x0461> at usbus5
Oct 16 00:48:54 yoda kernel: ums0: <vendor 0x0461 HP Laser Mobile Mouse,
class 0/0, rev 2.00/1.13, addr 2> on usbus5
Oct 16 00:48:54 yoda kernel: ums0: 3 buttons and [XYZT] coordinates ID=3D=
1
Oct 16 00:48:54 yoda devd: Executing '/etc/rc.d/moused quietstart ums0'
Oct 16 00:48:58 yoda kernel: ugen5.2: <vendor 0x0461> at usbus5
(disconnected)
Oct 16 00:48:58 yoda kernel: ums0: at uhub4, port 1, addr 2 (disconnected=
)
Oct 16 00:48:58 yoda devd: Executing '/etc/rc.d/moused quietrestart ums0'=


Razer ok:

Oct 16 00:49:03 yoda kernel: ugen5.2: <Razer> at usbus5
Oct 16 00:49:03 yoda kernel: ums0: <Razer Razer Naga, class 0/0, rev
2.00/2.00, addr 2> on usbus5
Oct 16 00:49:03 yoda kernel: ums0: 5 buttons and [XYZ] coordinates ID=3D0=

Oct 16 00:49:03 yoda devd: Executing '/etc/rc.d/moused quietstart ums0'
Oct 16 00:49:03 yoda kernel: ukbd1: <Razer Razer Naga, class 0/0, rev
2.00/2.00, addr 2> on usbus5
Oct 16 00:49:03 yoda kernel: kbd3 at ukbd1
Oct 16 00:49:08 yoda kernel: ugen5.2: <Razer> at usbus5 (disconnected)
Oct 16 00:49:08 yoda kernel: ums0: at uhub4, port 1, addr 2 (disconnected=
)
Oct 16 00:49:08 yoda devd: Executing '/etc/rc.d/moused quietrestart ums0'=

Oct 16 00:49:08 yoda kernel: ukbd1: at uhub4, port 1, addr 2 (disconnecte=
d)

Razer Nok:

Oct 16 00:49:14 yoda kernel: ugen5.2: <Razer> at usbus5
Oct 16 00:49:14 yoda kernel: ums0: <Razer Razer Naga, class 0/0, rev
2.00/2.00, addr 2> on usbus5
Oct 16 00:49:14 yoda kernel: ums0: error reading report description
Oct 16 00:49:14 yoda kernel: device_attach: ums0 attach returned 12
Oct 16 00:49:14 yoda kernel: ukbd1: <Razer Razer Naga, class 0/0, rev
2.00/2.00, addr 2> on usbus5
Oct 16 00:49:14 yoda kernel: kbd3 at ukbd1
Oct 16 00:49:20 yoda kernel: ugen5.2: <Razer> at usbus5 (disconnected)
Oct 16 00:49:20 yoda kernel: ukbd1: at uhub4, port 1, addr 2 (disconnecte=
d)

--=20
Florent Peterschmitt           | Please:
florent@peterschmitt.fr        |  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92           |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)


--PDN0pl8EK6h0sDF2d2Ii3LImr6B1Eq47F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSXeKbAAoJEFr01BkajbiBCr0QAJwOdCv9Bkfi8aJ55MbJQy49
DoYcSAhPJp8DiSzd0nZp3JpKf1S38C5AGTBOdn57fAgke/aR0vaIVE6zddvKQM7X
gradoagmPqmUiKFuXnQaKxVN8XZjaFniZfzm7uAdN2uWYWWPJ2VId+aSnX9hnTXN
9DzM0mEXuee4b21f7kL8rzdVTGAeDHirswksVRTeQKAO8nVsMGiKV/JKUN5hZu9W
CZk5LO7m0CORngxysrbusqeFs2xXQKBxGdfFbZW7ngA2u8a2Dr6wJYxNSofz6rjE
naBXM4IaU3VwFOZxVHcBHxcGowlU/xVCJZjVtcwAoZdt5C8KU8v7j48bR/JAz/pw
MbHavV+3al1xBsO6VGD5IJp7JIobFm2OMZZEM4mVu1f4ovQOOAMVadG0hmL5sroo
GiFXd3de+urag0UC2FvTufZGlg8yhO58QK4B0om9yLhSaTwVAScV6QEYrOHajx9E
M68AK422LTFnWGXqYqW774LgfI3xxdOce5Xp9s/nAh74f4E+SaBzurfSsT8kmzOH
aguSJDsJb0NgqFkEIZK7jqHrZKfCKee0IXKioPihq9mzHB9GdnasKLkCMik2R8GA
RLXK1o3W03z5xNTjgzxDagj/9rPHbtbANsbQv2pqSeAv7FpVuv5o2xlSy5dSgK7B
X4AXOmdolv5byAvWhyB2
=wKBK
-----END PGP SIGNATURE-----

--PDN0pl8EK6h0sDF2d2Ii3LImr6B1Eq47F--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525DE29B.4030806>