[Rtai] udev rules for RTAI_SHM

Paul paul_c at tuxcnc.org
Sun Feb 22 11:43:34 CET 2009


On Sunday 22 February 2009, mantegazza at aero.polimi.it wrote:
> Does that create problems? I'm asking it because I've seen none and in
> fact the fix is likely not that but setting "rtai_shm" in place of
> "RTAI"SHM" in the minor dev definition structure. It is something that was
> done but whose commit to the CVS went forgotten and never done afterward
> because it did not show up with any problem. Thank anyhow for the remark.

There appears to be a discrepancy between the device name declared in the 
miscdevice struct (at line 251) and the device creation call (line 666). I 
also note that RTAI_SHM_DEV is defined as /dev/rtai_shm in rtai_shm.h, so 
would conclude someone forgot about the miscdevice struct - The attached 
(trivial) patch resolves the discrepancy and avoids the need for additional 
udev rules.

Note: Both vulcano and magma branches suffer from the same issue.


Regards, Paul.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: udev_rtai_shm.diff
Type: text/x-diff
Size: 536 bytes
Desc: not available
Url : http://mail.rtai.org/pipermail/rtai/attachments/20090222/00e24dc4/attachment.diff 


More information about the Rtai mailing list