Patches for device names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux