Date: Tue, 15 Oct 2013 18:55:48 -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: <20131015225548.GS23579@glenbarber.us> In-Reply-To: <525DE29B.4030806@peterschmitt.fr> References: <525DDE8B.2000405@peterschmitt.fr> <20131015223924.GR23579@glenbarber.us> <525DE29B.4030806@peterschmitt.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--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/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131015225548.GS23579>