linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patches for device names
@ 2008-08-13 17:22 Scott James Remnant
  2008-08-13 17:31 ` H. Peter Anvin
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Scott James Remnant @ 2008-08-13 17:22 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

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=add
		DEVPATH=/class/input/mice
		SUBSYSTEM=input
		MAJOR=13
		MINOR=63

	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=="input/mice" for permissions,
		  this works for both!

 b) kernel names remain the same, include DEVNAME in environment

		ACTION=add
		DEVPATH=/class/input/mice
		DEVNAME=/dev/input/mice
		SUBSYSTEM=input
		MAJOR=13
		MINOR=63

	Pro: fixes sysfs and compatibility, attractive
	Con: udev needs patching, extra macro in kernel

Scott
-- 
Scott James Remnant
scott@canonical.com

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-08-13 20:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 17:22 Patches for device names Scott James Remnant
2008-08-13 17:31 ` H. Peter Anvin
2008-08-13 17:49 ` Greg KH
2008-08-13 17:50 ` Greg KH
2008-08-13 17:57 ` Scott James Remnant
2008-08-13 18:02 ` Scott James Remnant
2008-08-13 18:16 ` Greg KH
2008-08-13 18:22 ` H. Peter Anvin
2008-08-13 18:33 ` Scott James Remnant
2008-08-13 18:38 ` David Zeuthen
2008-08-13 18:52 ` Kay Sievers
2008-08-13 18:54 ` Kay Sievers
2008-08-13 19:33 ` Scott James Remnant
2008-08-13 20:00 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).