This is regarding the pervasive error "Unable to open switchtest device" while trying to test context-switch timings using 'switchtest' testsuite application.
Looking at the testsuite code, i found that - 'latency' (which can successfully operate the xeno_switchtest driver ) uses rtdm_dev_xxx calls whereas - 'switchtest' application uses the posix 'open'/'close' system-calls for driver-interaction Looking at ksrc/drivers/testing/switchtest.c, i found that there is no registration of switchtest under linux-device-driver subsystem (even as a misc driver like rtnet or rtheap do). Thus, there doesnt seem to be a way through which a linux-process (non-RT mode) may access xeno_switchtest driver through /dev/rttest<x> (or the new /dev/rttest-switchtst<x> ref: https://mail.gna.org/public/xenomai-git/2010-04/msg00073.html). In case there is such a registration required, i would be more than willing to contribute. In case, the 'open' system-call is handled by one of the skins (i have native, posix,rtai and rtdm enabled in my kernel-config), kindly point out the code and enlighten. Thanks for running this awesome project and all the help/pointers.
_______________________________________________ Xenomai-core mailing list Xenomaiemail@example.com https://mail.gna.org/listinfo/xenomai-core