Hello Amit, I had just asked a similar question a fews day ago that Jan answered for me. I'Ve documented it below.
RTDM devices aren't registered with the Linux VFS layer. They live in their own space, managed by Xenomai, addressable via Native's rt_dev_open or the wrapped POSIX open call. The POSIX skin allows you to address them as "/dev/mydevice" as well, but it acutally cuts "/dev/" off before doing the open via RTDM. Check /proc/xenomai/rtdm/named_devices to see if your device was registered. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SDP-DE Corporate Competence Center Embedded Linux Hope this helps! Donald R. Poole, Jr. Research Engineer Voice: 210.522.3131 | Fax: 210.522.4931 Tactical Networks & Communications (tacticalnetworks.swri.org) Southwest Research Institute (SwRI) On 2/1/13 11:09 AM, "Amit Bhaira" <[email protected]> wrote: >where the rtdm_dev_register(&device) will register the device ?? > >_______________________________________________ >Xenomai mailing list >[email protected] >http://www.xenomai.org/mailman/listinfo/xenomai _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
