changing mouse, detection problem

Florent Peterschmitt florent at peterschmitt.fr
Tue Oct 15 22:49:33 UTC 2013


Le 15/10/2013 22:39, Glen Barber a écrit :
> Can you see if this patch works?  Apply to /etc/devd.conf.
> 
> Glen
> Index: etc/devd.conf
> ===================================================================
> --- etc/devd.conf	(revision 256563)
> +++ etc/devd.conf	(working copy)
> @@ -130,7 +130,7 @@
>  	match "type" "DESTROY";
>  	match "cdev" "ums[0-9]+";
>  
> -	action "/etc/rc.d/moused stop $cdev";
> +	action "/etc/rc.d/moused quietrestart $cdev";
>  };
>  
>  # Firmware download into the ActiveWire board. After the firmware download 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=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=0
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 (disconnected)

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 (disconnected)

-- 
Florent Peterschmitt           | Please:
florent at 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 :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20131016/aaa7b43a/attachment.sig>


More information about the freebsd-stable mailing list