troller (EMC)
> Subject: Re: [Emc-users] Link a Bash script to a hal signal
>
> Thank you Frank, i could load the python scripts.. the
> example for now..
>
> i have a problem with my script.. when i load it and enter
> the halcmd show..
> nothing appears.. only the halcmd appli
eg -W, you need to use the named
> version, eg -Wn mycomponent
>
> That's what I do.
>
> Frank
>
> > -Original Message-
> > From: Leonardo Marsaglia [mailto:leonardomarsagli...@gmail.com]
> > Sent: Sunday, 15 November 2009 7:09 AM
> > To: Enha
That's what I do.
Frank
> -Original Message-
> From: Leonardo Marsaglia [mailto:leonardomarsagli...@gmail.com]
> Sent: Sunday, 15 November 2009 7:09 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Link a Bash script to a hal signal
>
> Th
Thank you very much guys for your help, i think may be the best is to make a
userspace component as john told..
I have only one doubt about that.. and it's about the directory in which the
component has to be inserted so i can load it with the loadusr command.. i
read about that in the hal manual
Dave wrote:
> If you hold the power off button down on the motherboard, the PC will not
> power off??
>
> I haven't seen any issues with that on the PCs I have loaded with EMC2. The
> power button on the PCs I think is a function of the PC bios - hold it down
> for x seconds and it will kill t
Leonardo Marsaglia wrote:
> Hello dave, first of all thanks for your answer
>
> What i'm trying to do is to link an external button to the halt command, to
> power off the machine quickly, since the kernel has the acpi disconnected i
> can't use the normal power off button in the motherboard.
>
>
I think Leonardo wants to trigger 'shutdown -h now's from a physical button.
I posted earlier about using kexec to load an acpi-enabled kernel, which
will then power down the machine at the end of the shutdown sequence. I
assume he's trying to do that.
For the record, killing power to the PC wit
>>i can't use the normal power off button in the motherboard.
If you hold the power off button down on the motherboard, the PC will not power
off??
I haven't seen any issues with that on the PCs I have loaded with EMC2. The
power button on the PCs I think is a function of the PC bios - hold i
Hello dave, first of all thanks for your answer
What i'm trying to do is to link an external button to the halt command, to
power off the machine quickly, since the kernel has the acpi disconnected i
can't use the normal power off button in the motherboard.
So i decided to create a component with
Leonardo, what are you really trying to do?
I don't know about running a bash script but in the Wiki there is an
example for accessing pins via a Python script.
http://www.linuxcnc.org/docview/html//hal_halmodule.html
Dave
Leonardo Marsaglia wrote:
> Hello again, i think i figured out how to
Hello again, i think i figured out how to make the link, i found that i can
use the function system included in the stdlib.h library..
The only problem that i have is that ubuntu doesn't seem to have that
library.
I installed the build-essential package and it's the same.
What i'm trying to do i
Hello everybody, i'm finishing with the setup of my machine and i have one
question..
How can i link a signal to a bash script? is it possible to make a component
with the sript in it and then use the component to activate that script
whenever i want?
Thanks in adavance for your help.
---
12 matches
Mail list logo