Re: [Emc-users] Installing From Debian?

2023-08-02 Thread andy pugh
On Thu, 3 Aug 2023 at 00:31, Sam Sokolik  wrote:

> I have been pretty busy with life. - is it going to be updated at some
> point?

That seems to be hard to do.

> it did work for me - and I am not doing trivial stuff...

The only very serious bug I know of at the moment is:
https://github.com/LinuxCNC/linuxcnc/issues/2587

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing From Debian?

2023-08-02 Thread Sam Sokolik
Yes - understood.  I knew it was an old image - but not how old.

I have been pretty busy with life. - is it going to be updated at some
point?

it did work for me - and I am not doing trivial stuff...

https://www.youtube.com/watch?v=nWCdqE5xd-c

sam


On Wed, Aug 2, 2023 at 9:39 AM andy pugh  wrote:

> On Sun, 30 Jul 2023 at 19:59, Sam Sokolik  wrote:
>
> > apt-get installed linuxcnc-uspace and was up and running within a few
> > minutes after copying my configs..
>
> It's probably worth mentioning that you get a fairly old snapshot of
> LinuxCNC this way, dating from February.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC build on BeagleBoneBlack

2023-08-02 Thread Thomas J Powderly

Andy , hello

Is there an explanation of gpiod?

I've been working on a generic module for anything that Arduino IDE 
talks to serially.


I use the net section of the .hal to config everything,

Only DI DO AI AO and PO ( pwm out ) pins are respected.

thx

TomP

On 8/2/23 20:40, andy pugh wrote:

On Wed, 2 Aug 2023 at 02:13, alanmthomason--- via Emc-users
 wrote:


2.  When I perform the configure, is there a way to specify the BBB?
I'm trying to figure out how the compile process would bring in
src/hal/driver/hal_bb_gpio.c

It might be automatic, the modules should be built for any "uspace" config:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L995



4.  Does operation on the beaglebone black require a dtb file to be
loaded to specify the needed pins as input/output?

If you install "gpiod" does "gpioinfo" work?
If so, then I am currently working on a driver that uses libgpiod.
That might work for you (though not at the moment)




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC build on BeagleBoneBlack

2023-08-02 Thread alanmthomason--- via Emc-users
Hi There...

Thanks for the help, it means a lot...

Regarding item 4:
It appears to be already installed (not sure if I did this in my fumbling 
around or if it came in with something else), so I'll look forward to your 
upcoming driverAlan

debian@BeagleBone:~$ gpioinfo
gpiochip0 - 32 lines:
line   0: "P8_25 [mmc1_dat0]" "P8_25" input active-high [used]
line   1: "[mmc1_dat1]" "P8_24" input active-high [used]
...

debian@BeagleBone:~$ sudo apt list | grep gpio

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

gpiod/oldstable,now 1.6.2-1 armhf [installed]
libgpiod-dev/oldstable,now 1.6.2-1 armhf [installed]
libgpiod-doc/oldstable 1.6.2-1 all
libgpiod2/oldstable,now 1.6.2-1 armhf [installed]
libpigpiod-if-dev/oldstable 1.78-1 armhf
libpigpiod-if1/oldstable 1.78-1 armhf
libpigpiod-if2-1/oldstable 1.78-1 armhf
pigpio-tools/oldstable 1.78-1 armhf
python3-gpiozero/oldstable 1.4.1-1.3 armhf
python3-libgpiod/oldstable,now 1.6.2-1 armhf [installed]
python3-pigpio/oldstable 1.78-1 all
python3-rpi.gpio/oldstable 0.7.0-0.2+b2 armhf
rpi.gpio-common/oldstable 0.7.0-0.2+b2 armhf
svxlink-gpio/oldstable 19.09.1-3 all

-Original Message-
From: andy pugh  
Sent: Wednesday, August 2, 2023 9:40 AM
To: Enhanced Machine Controller (EMC) 
Cc: alanmthoma...@icloud.com
Subject: Re: [Emc-users] LinuxCNC build on BeagleBoneBlack

On Wed, 2 Aug 2023 at 02:13, alanmthomason--- via Emc-users 
 wrote:

> 2.  When I perform the configure, is there a way to specify the BBB?
> I'm trying to figure out how the compile process would bring in 
> src/hal/driver/hal_bb_gpio.c

It might be automatic, the modules should be built for any "uspace" config:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L995


> 4.  Does operation on the beaglebone black require a dtb file to be
> loaded to specify the needed pins as input/output?

If you install "gpiod" does "gpioinfo" work?
If so, then I am currently working on a driver that uses libgpiod.
That might work for you (though not at the moment)

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed for 
the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing From Debian?

2023-08-02 Thread andy pugh
On Sun, 30 Jul 2023 at 19:59, Sam Sokolik  wrote:

> apt-get installed linuxcnc-uspace and was up and running within a few
> minutes after copying my configs..

It's probably worth mentioning that you get a fairly old snapshot of
LinuxCNC this way, dating from February.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC build on BeagleBoneBlack

2023-08-02 Thread andy pugh
On Wed, 2 Aug 2023 at 02:13, alanmthomason--- via Emc-users
 wrote:

> 2.  When I perform the configure, is there a way to specify the BBB?
> I'm trying to figure out how the compile process would bring in
> src/hal/driver/hal_bb_gpio.c

It might be automatic, the modules should be built for any "uspace" config:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L995


> 4.  Does operation on the beaglebone black require a dtb file to be
> loaded to specify the needed pins as input/output?

If you install "gpiod" does "gpioinfo" work?
If so, then I am currently working on a driver that uses libgpiod.
That might work for you (though not at the moment)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users