From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert Veli Date: Fri, 03 Mar 2006 13:20:19 +0000 Subject: Udev + /dev/rtf Message-Id: <1141392019.7276.8.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I have a question about udev and /dev/rtf* device nodes. They are needed to interact with the module rtai_fifos.ko (part of RTAI, a Linux realtime extension). But I'm not sure if rtai_fifos.ko support sysfs or not. /sys/module/rtai_fifos/ gets created when I load the module but there is not much in it. The output of 'udevinfo -a -p /sys/module/rtai_fifos/' is just: looking at class device '/sys/module/rtai_fifos': SUBSYSTEM="unknown" SYSFS{refcnt}="0" When this module gets loaded, it would be ideal if the device nodes /dev/rtf[0-9] could be created. crw-rw-rw- 1 root root 150, 0 2006-03-03 14:05 /dev/rtf0 crw-rw-rw- 1 root root 150, 1 2006-03-03 14:05 /dev/rtf1 ... crw-rw-rw- 1 root root 150, 9 2006-03-03 14:05 /dev/rtf9 If I create the device nodes manually with mknod they get erased when the box is rebooted. Does anobody know if it is possible to make these device nodes persistent with udev somehow? (or even better, created when the module is loaded and deleted when the module is unloaded) If it is possible, how should a /etc/udev/rules.d rules file look like? I tried with: DRIVER="rtai_fifos", NAME="rtf%n" But nothing happened.. Regards, Albert ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel