* Udev + /dev/rtf
@ 2006-03-03 13:20 Albert Veli
2006-03-03 13:24 ` Marco d'Itri
0 siblings, 1 reply; 2+ messages in thread
From: Albert Veli @ 2006-03-03 13:20 UTC (permalink / raw)
To: linux-hotplug
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&kid\x110944&bid$1720&dat\x121642
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-03 13:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 13:20 Udev + /dev/rtf Albert Veli
2006-03-03 13:24 ` Marco d'Itri
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).