CVS: moonbase/utils/devfsd devfsd.conf,1.4,1.5

csm at lunar-linux.org csm at lunar-linux.org
Fri Jul 25 13:50:15 GMT 2003


Update of /var/cvs/lunar/moonbase/utils/devfsd
In directory dbguin.lunar-linux.org:/tmp/cvs-serv10443

Modified Files:
	devfsd.conf 
Log Message:
adding usb palm pilot config. If they don't have one this hurts 
nothing... but if they do have one it makes it work properly by 
setting the permissions and creating /dev/palm0 and /dev/palm1 
symlinks.


Index: devfsd.conf
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/devfsd/devfsd.conf,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- devfsd.conf	16 Jan 2003 05:44:48 -0000	1.4
+++ devfsd.conf	25 Jul 2003 13:50:13 -0000	1.5
@@ -85,6 +85,17 @@
 REGISTER	^input/mice$	CFUNCTION GLOBAL mksymlink $devname usbmouse
 UNREGISTER	^input/mice$	CFUNCTION GLOBAL unlink usbmouse
 
+# config for usb palm pilot
+LOOKUP      ^pilot$      CFUNCTION GLOBAL mksymlink usb/tts/0 pilot0
+LOOKUP      ^pilot$      CFUNCTION GLOBAL mksymlink usb/tts/1 pilot1
+REGISTER    ^usb/tts/0$  CFUNCTION GLOBAL mksymlink $devname pilot0
+REGISTER    ^usb/tts/1$  CFUNCTION GLOBAL mksymlink $devname pilot1
+UNREGISTER  ^usb/tts/0$  CFUNCTION GLOBAL unlink pilot0
+UNREGISTER  ^usb/tts/1$  CFUNCTION GLOBAL unlink pilot1
+                                                                            
+REGISTER        ^usb/tts/.*      PERMISSIONS root.root 0777
+REGISTER        ^usb/tts         PERMISSIONS root.root 0777
+
 # If you have removable media and want to force media revalidation when looking
 # up new or old compatibility names, uncomment the following lines
 # SCSI NEWCOMPAT  /dev/sd/* names




More information about the Lunar-commits mailing list