From owner-freebsd-stable@FreeBSD.ORG Tue Oct 15 22:55:52 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DD9308ED; Tue, 15 Oct 2013 22:55:51 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 988632E49; Tue, 15 Oct 2013 22:55:51 +0000 (UTC) Received: from glenbarber.us (c-71-224-221-174.hsd1.nj.comcast.net [71.224.221.174]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 0E538B8B6; Tue, 15 Oct 2013 22:55:50 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 0E538B8B6 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Tue, 15 Oct 2013 18:55:48 -0400 From: Glen Barber To: Florent Peterschmitt Subject: Re: changing mouse, detection problem Message-ID: <20131015225548.GS23579@glenbarber.us> References: <525DDE8B.2000405@peterschmitt.fr> <20131015223924.GR23579@glenbarber.us> <525DE29B.4030806@peterschmitt.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="O9T4zNOkGnr0n+A/" Content-Disposition: inline In-Reply-To: <525DE29B.4030806@peterschmitt.fr> X-Operating-System: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 22:55:52 -0000 --O9T4zNOkGnr0n+A/ Content-Type: multipart/mixed; boundary="eu12+zRL7gQwOC+E" Content-Disposition: inline --eu12+zRL7gQwOC+E Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 16, 2013 at 12:49:31AM +0000, Florent Peterschmitt wrote: > 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 >=20 > I have the opposit now. >=20 > Connecting the Razer after disconnecting the HP makes the Razer working. > But once I disconnect the Razer and reconnect it, no way: >=20 That was unexpected, actually. Can you try this, which reverts r240891 where this section of devd.conf was updated? Glen --eu12+zRL7gQwOC+E 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 240891) +++ etc/devd.conf (revision 240890) @@ -115,22 +115,14 @@ action "/etc/rc.d/syscons setkeyboard /dev/kbd0"; }; =20 -notify 100 { - match "system" "DEVFS"; - match "subsystem" "CDEV"; - match "type" "CREATE"; - match "cdev" "ums[0-9]+"; - - action "/etc/rc.d/moused quietstart $cdev"; +attach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused quietstart $device-name"; }; =20 -notify 100 { - match "system" "DEVFS"; - match "subsystem" "CDEV"; - match "type" "DESTROY"; - match "cdev" "ums[0-9]+"; - - action "/etc/rc.d/moused stop $cdev"; +detach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused stop $device-name"; }; =20 # Firmware download into the ActiveWire board. After the firmware download= is --eu12+zRL7gQwOC+E-- --O9T4zNOkGnr0n+A/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJSXcf0AAoJELls3eqvi17QO28P/3Mk1/8jcLRQgmZq9gl251zE t1xnUjiMMiyze7Uz8pN5Oe4piPnEF2DcAcVbdkuVbdAf9xEUCphtGkTwK6H7hmRq Qiyy3WNV4GTXRYqz9TU3t3INOY1YxkjjKmHzy2U5TDn8i3/YW8f4X/2njwyhxHU7 j21RvTwjPFikPNFQJp+ntCWizo9e5YqYhJ5pPSPAlPtEvD5clfnyNCDsSPI2ZQ1c /VPnUOMuBGevjSr1yFwXgkUUKDVnJkzcBZSeoHvxbLbz+BMS0pkDHqDC5DW0xdmK SMmXGDxza4E2rZXypeXr/D52FDsn6RSCjuPa+9z/e7caIqHBAFJHz2/BtdMhAJor 9Whu356SpoqW3lp/I378h060nWeFB1ZaCuXZYaiFOE3YuwEmVSoimgZkLcRFlFhV TPI4bAXNdtswi8oM+aBDisYOfQ9sPRHd9H2ef1epPj+yAF+gNxzoYHCG/GU9uv7k sfrOQ+1yQcyRnnBBiVeE1jJGOx+xx1rkDeYd3FeFrm9xbPYLYFuADm5Tgv+j3EU4 Qd4BcHEZsl8iIMA5C91MvLyz8/eSZnil3fFngIQnm9tCpTZiJUaJZV5Q1h+SbQJE 9d8TbXzB3pyV7SkBWAdQ3CZ+ujrkcWSLDWvbDr28Cb0WVW+gHdmpm3Ng5zI/2AEG Xo9ruOpP/i6MLzSe2mvY =HkCN -----END PGP SIGNATURE----- --O9T4zNOkGnr0n+A/--