From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott James Remnant Date: Wed, 13 Aug 2008 17:22:55 +0000 Subject: Patches for device names Message-Id: <1218648175.6882.63.camel@quest> MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-Qht439K4nedgepp9ofbI" List-Id: To: linux-hotplug@vger.kernel.org --=-Qht439K4nedgepp9ofbI Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Before I get patching, I wanted to get a consensus about what the best patches would be, since there's a few options: a) kernel names match LANANA, using ! instead of / ACTION=3Dadd DEVPATH=3D/class/input/mice SUBSYSTEM=3Dinput MAJOR=3D13 MINOR=3D63 Pro: simplest, ! -> / already supported by udev Con: looks strange in sysfs; /class/input/mice becomes /class/input/input!mice; backwards compatibility? - we can match NAME=3D=3D"input/mice" for permissions, this works for both! b) kernel names remain the same, include DEVNAME in environment ACTION=3Dadd DEVPATH=3D/class/input/mice DEVNAME=3D/dev/input/mice SUBSYSTEM=3Dinput MAJOR=3D13 MINOR=3D63 Pro: fixes sysfs and compatibility, attractive Con: udev needs patching, extra macro in kernel Scott --=20 Scott James Remnant scott@canonical.com --=-Qht439K4nedgepp9ofbI Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIoxhvSnQiFMl4yK4RAoJrAKCWLcmNwaVHhwP7yMXoazt5wuKzSACcD+EI LKEFT/8mhJaVpFGVWGZ0a40= =hcjU -----END PGP SIGNATURE----- --=-Qht439K4nedgepp9ofbI--