On 05/11/2014 05:19 PM, andy pugh wrote: > This module appears in the contributed components section of the Wiki: > http://www.linuxcnc.org/images/fbfiles/files/sensors.txt > > It is meant to create HAL pins for the motherboard sensors, which is > potentially interesting. > > Someone on the forum gets some output, but no pins. I don't even get > pins, and then my system crashes: > > andypugh@dn2800:~/git/linuxcnc-dev/bin$ sudo shutdown -r now > -bash: fork: Cannot allocate memory > > So, perhaps the module has a memory leak? > > Where does debug output go to when you loadusr a userspace HAL module? > It doesn't appear at the halcmd prompt, nor is there anything in > dmesg. (Assumign that there is some output to see)
Userspace stuff doesn't ever go to dmesg. All the print statements in sensors.txt are commented out. I had to uncomment them and rebuild the comp, then the program's output appeared in the terminal i ran it from (either via halcmd loadusr or by hand at the shell prompt). The sensors backend needs to be configured for your system before it'll emit anything very useful. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers