[Emc-developers] moved the selectRadioX/selectRadioZ pins

2022-07-23 Thread gene heskett
That I use with the jog dials on my Sheldon, from pyvcp to axisui, caught me by surprise when LinuxCNC -l bailed out. should I move those two net statements to the .hal file or is postgui.hal still the correct place? Thank you, take care & stay well. Cheers, Gene Heskett. -- "There are four b

Re: [Emc-developers] moved the selectRadioX/selectRadioZ pins

2022-07-23 Thread andy pugh
On Sat, 23 Jul 2022 at 08:01, gene heskett wrote: > should I move those two net statements to the .hal file or is > postgui.hal still the correct place? You don't say which net statements. But I would have thought that postgui was the place for anything gui related. -- atp "A motorcycle is a b

Re: [Emc-developers] moved the selectRadioX/selectRadioZ pins

2022-07-23 Thread gene heskett
On 7/23/22 03:34, andy pugh wrote: On Sat, 23 Jul 2022 at 08:01, gene heskett wrote: should I move those two net statements to the .hal file or is postgui.hal still the correct place? You don't say which net statements. But I would have thought that postgui was the place for anything gui rela

[Emc-developers] sudo make setuid -> cannot gain I/O privileges

2022-07-23 Thread Alec Ari via Emc-developers
Hey everyone, I've been at this all day and I'm stuck.. I run `sudo make setuid` after compiling LinuxCNC master branch and then I run latency-test and then I get this error (the latency-test window still comes up): cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -

Re: [Emc-developers] sudo make setuid -> cannot gain I/O privileges

2022-07-23 Thread Alec Ari via Emc-developers
The example code I pasted earlier didn't compile, and I made a few changes. /*  * iopl.c: very simple example of port I/O  *  * This code does nothing useful, just a port write, a pause,  * and a port read. Compile with `gcc -O2 iopl.c -o iopl.o',  * and run as root with `./iopl.o'.  */ #include

Re: [Emc-developers] sudo make setuid -> cannot gain I/O privileges

2022-07-23 Thread Alec Ari via Emc-developers
I get the same error on Debian with both iopl and ioperm function tests... Not sure how LinuxCNC is working anymore on anything.. Alec ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/em

Re: [Emc-developers] sudo make setuid -> cannot gain I/O privileges

2022-07-23 Thread Alec Ari via Emc-developers
I ran `uname -r` after the iopl and ioperm example tests failed and saw it booted my custom Debian kernel.. I reboot, select the Debian 5.18 bpo (backported) kernel and the tests return: status: 255 So I thought OK... Either something changed between 5.18 and 5.19 or I'm missing something in m