Install linuxcnc-uspace 2.7.0~pre2 on a Wheezy machine running the RT-Preempt kernel. Run stepconf from a terminal. Click Start, then keep clicking Forward until you get to Axis X, then click Test This Axis. At that point, stepconf prints these errors in the terminal:
0 10:53:42 seb@wheezy-i386 /home/seb> dpkg --status linuxcnc-uspace | grep Version
Version: 1:2.7.0~pre2
0 10:53:45 seb@wheezy-i386 /home/seb> uname -a
Linux wheezy-i386 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.63-2 i686 GNU/Linux
0 10:53:47 seb@wheezy-i386 /home/seb> stepconf
STEPCONF WARNING: check-for-realtime function failed - continuing anyways.
update
update
update
update
%
%
Note: Using POSIX realtime
%
%
probe_parport: dlopen: /usr/lib/linuxcnc/modules/probe_parport.so: cannot open shared object file: No such file or directory
<stdin>:4: /usr/bin/rtapi_app exited without becoming ready
<stdin>:4: insmod failed, returned -1
I think both the "check-for-realtime function failed" and the probe_parport failure are stepconf bugs that should be fixed.
Carsten Presser reports in email that pncconf has a similar problem:
http://article.gmane.org/gmane.linux.distributions.emc.user/54163
Stepconf in v2.7.0-pre2-275-g18a933a no longer tries to load probe_parport, but now pushing the Test This Axis button pops up a dialog box that says "You are running a simulated-realtime version of LinuxCNC, so testing/tuning of hardware is unavailable."
Ah, that dialog was from running the uspace version of linuxcnc on rtai, so the error is appropriate. Running the rtai version of linuxcnc on rtai works fine.
Running the uspace version on rt-preempt now gives this error:
STEPCONF WARNING: check-for-realtime function failed - continuing anyways.
Then hal_parport fails to load because the linux "ppdev" module is not loaded. Loading ppdev and restarting stepconf lets me Test This Axis (but i still get the "check-for-realtime function failed" error).
The stepconf check-for-realtime bug is fixed in v2.7.0-pre2-297-g223b130, so i'm closing this bug.
Not sure about the ppdev issue, i can no longer reproduce it here. It's possible i did my tests in a VM without a parport... Like a boss. Open a new bug if that issue bites again.