Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread gene heskett

On 5/8/24 13:44, Todd Zuercher via Emc-users wrote:

Gene,

Tell me more about this udev bug.

I'm not so sure this system even has it.  If I check the directory  
/dev/serial/by-id is there and has one device in it, and it looks like it is 
most likely my device.  If my system was affected bu this bug would the by-id 
directory not be there, or would it not have any devices in it, or would the 
device just not work?

I've a usb tree resembling a weeping willow, over a dozen usb cables 
plugged into at least three 4-port expanders, one of which is a 7 port 
and its full, so my output from that command shows 2 devices. One is 
driving an X10 CM11a to control some lights. And I don't recall what the 
other is doing. The x10 stuff has only been running about 35 years. I'm 
one of the two authors of the Amiga's ezhome software for x19 stuff. 
I've long since forgot the nitty and gritty details of what all I had it 
doing.


Whatever you have that did use the /dev/serial/by-id stuff would not be 
working if the bug is present. Buster is ok, bullseye and bookworm will 
fail and the final trixie is supposed to be fixed.  Your stuff is 
probably too old to be effected.


Take care & stay well Todd.


Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Wednesday, May 08, 2024 12:23 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:

No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was the 
last Linuxcnc distro that seemed work with this old pc and it's ISA IO card.) 
The new PC is running Debian 12 (installed using an ordinary Debian net install 
iso).

The groups the user belongs to  on the PC are "adm, dialout, cdrom, plugdev, lpadmin, admin, 
and sambashare".  The groups for the new PC are "cdrom, floppy, sudo, audio, dip, video, 
plugdev, users, netdev, lpadmin, and scanner"

So, I'm not sure, to my unskilled eye, it would seem that "dialout" might be the most 
logical possible permission deficiency, but I'm not sure if "dip" might be an equivalent 
replacement for that.


Your debian 12 install has the udev bug I sent you a link to the fix already.  
It restores the missing two lines that setup the serial/by-id stuff for usb.


Todd Zuercher
P. Graham Dunn
Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
http://www.pgrahamdunn.com/%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
%7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Wednesday, May 08, 2024 4:18 AM
To: Enhanced Machine Controller (EMC)

Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?


[EXTERNAL EMAIL] Be sure links are safe.


On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
It was already set to 3.

What is your MB2HAL load line?
What does lsusb call  the dongle?

Are the two PCs in question running the same version of Linux?

--
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://list/
s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
0%7C%7C%7C&sdata=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D&reserv
ed=0


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
   soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
   - Louis D. Brandeis



___
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
.


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 

Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Like I said earlier, I added the user to the dialout group (using that usermod 
command below) and that fixed my issue.

My system does not show /dev/ttyUSB0 as locked  (I can't say for sure if that 
was the case before I added dialout to the user's groups.

"stat /dev/ttyUSB0"  does contain  Gid: ( 20/ dialout)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: zz...@seznam.cz 
Sent: Wednesday, May 08, 2024 1:45 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Mb2hal 2.9?

[You don't often get email from zz...@seznam.cz. Learn why this is important at 
https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

Bookworm has /dev/ttyUSB "locked"
File icon has red cross

stat /dev/ttyUSB0

Check if it contain:

Gid: ( 20/ dialout)

Then:

sudo usermod -a -G dialout $USER

"-- Původní zpráva --
Od: Todd Zuercher via Emc-users 
Datum: 08.05.2024 19:27:15
Předmět: Re: [Emc-users] Mb2hal 2.9?

Thanks Gene,

I'm not sure that, bug is completely relevant to my issue. As my Mb2hal config 
never used serial/by-id. It has always used /dev/ttyUSB0 to address the RS485 
device. Maybe serial by id might be a better way to address the specific serial 
port used, but I am not even sure if it is even be supported by Mb2hal or 
exactly how to set it up that way (none of the example Mb2hal configurations 
use it.) And even if it were possible, I'm not sure if I still would have had 
the permission problems and I would have also had to fix the udev bug first. 
Changing the permission is all I needed to do to get this working as it was 
before.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone: (330)828-2105ext. 2031

-Original Message-
From: gene heskett
Sent: Wednesday, May 08, 2024 12:23 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:
> No, they are not. The old pc was running Ubuntu 10.04. (Because that
> was
the last Linuxcnc distro that seemed work with this old pc and it's ISA IO
card.) The new PC is running Debian 12 (installed using an ordinary Debian net 
install iso).
>
> The groups the user belongs to on the PC are "adm, dialout, cdrom,
plugdev, lpadmin, admin, and sambashare". The groups for the new PC are "cdrom, 
floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner"
>
> So, I'm not sure, to my unskilled eye, it would seem that "dialout"
> might
be the most logical possible permission deficiency, but I'm not sure if "dip" 
might be an equivalent replacement for that.
>
Your debian 12 install has the udev bug I sent you a link to the fix already. 
It restores the missing two lines that setup the serial/by-id stuff for usb.

> Todd Zuercher
> P. Graham Dunn
> Inc.>
> http://www.p/
> grahamdunn.com%2F%252Findex.php%26data%3D05%257C02%257Ctoddz%2540&data
> =05%7C02%7Ctoddz%40pgrahamdunn.com%7C59f83c23425d48a02e7308dc6f8b585a%
> 7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638507891505884667%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=AiUEBo31wTc8tCmh01ycujCEAsHQS1vaCpN0
> RI5YgCM%3D&reserved=0
pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone: (330)828-2105ext. 2031
>
> From: andy pugh
> Sent: Wednesday, May 08, 2024 4:18 AM
> To: Enhanced Machine Controller (EMC)
>
> Cc: Todd Zuercher
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
>
> On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users > wrote:
> It was already set to 3.
>
> What is your MB2HAL load line?
> What does lsusb call the dongle?
>
> Are the two PCs in question running the same version of Linux?
>
> --
> 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://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C6

Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread zz912
Bookworm has /dev/ttyUSB "locked"
File icon has red cross

stat /dev/ttyUSB0

Check if it contain:

Gid: ( 20/ dialout)

Then:

sudo usermod -a -G dialout $USER

"-- Původní zpráva --
Od: Todd Zuercher via Emc-users 
Datum: 08.05.2024 19:27:15
Předmět: Re: [Emc-users] Mb2hal 2.9?

Thanks Gene, 

I'm not sure that, bug is completely relevant to my issue. As my Mb2hal 
config never used serial/by-id. It has always used /dev/ttyUSB0 to address 
the RS485 device. Maybe serial by id might be a better way to address the 
specific serial port used, but I am not even sure if it is even be supported
by Mb2hal or exactly how to set it up that way (none of the example Mb2hal 
configurations use it.) And even if it were possible, I'm not sure if I 
still would have had the permission problems and I would have also had to 
fix the udev bug first. Changing the permission is all I needed to do to get
this working as it was before. 

Todd Zuercher 
P. Graham Dunn Inc. 
630 Henry Street 
Dalton, Ohio 44618 
Phone: (330)828-2105ext. 2031 

-Original Message- 
From: gene heskett 
Sent: Wednesday, May 08, 2024 12:23 PM 
To: emc-users@lists.sourceforge.net 
Subject: Re: [Emc-users] Mb2hal 2.9? 

[EXTERNAL EMAIL] Be sure links are safe. 

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote: 
> No, they are not. The old pc was running Ubuntu 10.04. (Because that was 
the last Linuxcnc distro that seemed work with this old pc and it's ISA IO 
card.) The new PC is running Debian 12 (installed using an ordinary Debian 
net install iso). 
> 
> The groups the user belongs to on the PC are "adm, dialout, cdrom, 
plugdev, lpadmin, admin, and sambashare". The groups for the new PC are 
"cdrom, floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, 
and scanner" 
> 
> So, I'm not sure, to my unskilled eye, it would seem that "dialout" might 
be the most logical possible permission deficiency, but I'm not sure if 
"dip" might be an equivalent replacement for that. 
> 
Your debian 12 install has the udev bug I sent you a link to the fix 
already. It restores the missing two lines that setup the serial/by-id stuff
for usb. 

> Todd Zuercher 
> P. Graham Dunn 
> Inc.> http://www.pgrahamdunn.com/%2Findex.php&data=05%7C02%7Ctoddz%40
pgrahamdunn.com 
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43 
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw 
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata= 
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0> 
> 630 Henry Street 
> Dalton, Ohio 44618 
> Phone: (330)828-2105ext. 2031 
> 
> From: andy pugh 
> Sent: Wednesday, May 08, 2024 4:18 AM 
> To: Enhanced Machine Controller (EMC) 
> 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9? 
> 
> 
> [EXTERNAL EMAIL] Be sure links are safe. 
> 
> 
> On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users > wrote: 
> It was already set to 3. 
> 
> What is your MB2HAL load line? 
> What does lsusb call the dongle? 
> 
> Are the two PCs in question running the same version of Linux? 
> 
> -- 
> 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://list/ 
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz% 
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c 
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d 
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C 
> 0%7C%7C%7C&sdata=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D&reserv 
> ed=0 

Cheers, Gene Heskett, CET. 
-- 
"There are four boxes to be used in defense of liberty: 
soap, ballot, jury, and ammo. Please use in that order." 
-Ed Howdershelt (Author, 1940) 
If we desire respect for the law, we must first make the law respectable. 
- Louis D. Brandeis 



___ 
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 
"
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Gene,

Tell me more about this udev bug.

I'm not so sure this system even has it.  If I check the directory  
/dev/serial/by-id is there and has one device in it, and it looks like it is 
most likely my device.  If my system was affected bu this bug would the by-id 
directory not be there, or would it not have any devices in it, or would the 
device just not work?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Wednesday, May 08, 2024 12:23 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:
> No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was 
> the last Linuxcnc distro that seemed work with this old pc and it's ISA IO 
> card.) The new PC is running Debian 12 (installed using an ordinary Debian 
> net install iso).
>
> The groups the user belongs to  on the PC are "adm, dialout, cdrom, plugdev, 
> lpadmin, admin, and sambashare".  The groups for the new PC are "cdrom, 
> floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner"
>
> So, I'm not sure, to my unskilled eye, it would seem that "dialout" might be 
> the most logical possible permission deficiency, but I'm not sure if "dip" 
> might be an equivalent replacement for that.
>
Your debian 12 install has the udev bug I sent you a link to the fix already.  
It restores the missing two lines that setup the serial/by-id stuff for usb.

> Todd Zuercher
> P. Graham Dunn
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> http://www.pgrahamdunn.com/%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> From: andy pugh 
> Sent: Wednesday, May 08, 2024 4:18 AM
> To: Enhanced Machine Controller (EMC)
> 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
>
> On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
> mailto:emc-users@lists.sourceforge.net>> 
> wrote:
> It was already set to 3.
>
> What is your MB2HAL load line?
> What does lsusb call  the dongle?
>
> Are the two PCs in question running the same version of Linux?
>
> --
> 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://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D&reserv
> ed=0

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis



___
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] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Thanks Gene,

I'm not sure that, bug is completely relevant to my issue.  As my Mb2hal config 
never used serial/by-id.  It has always used  /dev/ttyUSB0 to address the RS485 
device.  Maybe serial by id might be a better way to address the specific 
serial port used, but I am not even sure if it is even be supported by Mb2hal 
or exactly how to set it up that way (none of the example Mb2hal configurations 
use it.)  And even if it were possible, I'm not sure if I still would have had 
the permission problems and I would have also had to fix the udev bug first.  
Changing the permission is all I needed to do to get this working as it was 
before.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Wednesday, May 08, 2024 12:23 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:
> No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was 
> the last Linuxcnc distro that seemed work with this old pc and it's ISA IO 
> card.) The new PC is running Debian 12 (installed using an ordinary Debian 
> net install iso).
>
> The groups the user belongs to  on the PC are "adm, dialout, cdrom, plugdev, 
> lpadmin, admin, and sambashare".  The groups for the new PC are "cdrom, 
> floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner"
>
> So, I'm not sure, to my unskilled eye, it would seem that "dialout" might be 
> the most logical possible permission deficiency, but I'm not sure if "dip" 
> might be an equivalent replacement for that.
>
Your debian 12 install has the udev bug I sent you a link to the fix already.  
It restores the missing two lines that setup the serial/by-id stuff for usb.

> Todd Zuercher
> P. Graham Dunn
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> http://www.pgrahamdunn.com/%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> From: andy pugh 
> Sent: Wednesday, May 08, 2024 4:18 AM
> To: Enhanced Machine Controller (EMC)
> 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
>
> On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
> mailto:emc-users@lists.sourceforge.net>> 
> wrote:
> It was already set to 3.
>
> What is your MB2HAL load line?
> What does lsusb call  the dongle?
>
> Are the two PCs in question running the same version of Linux?
>
> --
> 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://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D&reserv
> ed=0

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis



___
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] Mb2hal 2.9?

2024-05-08 Thread gene heskett

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:

No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was the 
last Linuxcnc distro that seemed work with this old pc and it’s ISA IO card.) 
The new PC is running Debian 12 (installed using an ordinary Debian net install 
iso).

The groups the user belongs to  on the PC are “adm, dialout, cdrom, plugdev, 
lpadmin, admin, and sambashare”.  The groups for the new PC are “cdrom, floppy, 
sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner”

So, I’m not sure, to my unskilled eye, it would seem that “dialout” might be 
the most logical possible permission deficiency, but I’m not sure if “dip” 
might be an equivalent replacement for that.

Your debian 12 install has the udev bug I sent you a link to the fix 
already.  It restores the missing two lines that setup the serial/by-id 
stuff for usb.



Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Wednesday, May 08, 2024 4:18 AM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?


[EXTERNAL EMAIL] Be sure links are safe.


On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
It was already set to 3.

What is your MB2HAL load line?
What does lsusb call  the dongle?

Are the two PCs in question running the same version of Linux?

--
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


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



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


Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Yes, it was a permission issue.  After I added the user to the "dialout" group 
it worked fine.  Thanks Peter for putting me on the right track.

That might be something that should be added to the Mb2hal documentation.  (If 
there isn't something about it already there.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Todd Zuercher via Emc-users 
Sent: Wednesday, May 08, 2024 8:13 AM
To: andy pugh ; Enhanced Machine Controller (EMC) 

Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was the 
last Linuxcnc distro that seemed work with this old pc and it's ISA IO card.) 
The new PC is running Debian 12 (installed using an ordinary Debian net install 
iso).

The groups the user belongs to  on the old PC are "adm, dialout, cdrom, 
plugdev, lpadmin, admin, and sambashare".  The groups for the new PC are 
"cdrom, floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and 
scanner"

So, I'm not sure, to my unskilled eye, it would seem that "dialout" might be 
the most logical possible permission deficiency, but I'm not sure if "dip" 
might be an equivalent replacement for that.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Wednesday, May 08, 2024 4:18 AM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?


[EXTERNAL EMAIL] Be sure links are safe.


On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
It was already set to 3.

What is your MB2HAL load line?
What does lsusb call  the dongle?

Are the two PCs in question running the same version of Linux?

--
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] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was the 
last Linuxcnc distro that seemed work with this old pc and it’s ISA IO card.) 
The new PC is running Debian 12 (installed using an ordinary Debian net install 
iso).

The groups the user belongs to  on the PC are “adm, dialout, cdrom, plugdev, 
lpadmin, admin, and sambashare”.  The groups for the new PC are “cdrom, floppy, 
sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner”

So, I’m not sure, to my unskilled eye, it would seem that “dialout” might be 
the most logical possible permission deficiency, but I’m not sure if “dip” 
might be an equivalent replacement for that.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Wednesday, May 08, 2024 4:18 AM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?


[EXTERNAL EMAIL] Be sure links are safe.


On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
It was already set to 3.

What is your MB2HAL load line?
What does lsusb call  the dongle?

Are the two PCs in question running the same version of Linux?

--
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] Mb2hal 2.9?

2024-05-08 Thread andy pugh
On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users <
emc-users@lists.sourceforge.net> wrote:

> It was already set to 3.


What is your MB2HAL load line?
What does lsusb call  the dongle?

Are the two PCs in question running the same version of Linux?

-- 
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] Mb2hal 2.9?

2024-05-07 Thread Todd Zuercher via Emc-users
It was already set to 3.

On May 7, 2024 7:37 PM, John Dammeyer  wrote:
[EXTERNAL EMAIL] Be sure links are safe.

Todd,
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLinuxCNC%2Flinuxcnc%2Fblob%2Fmaster%2Fsrc%2Fhal%2Fuser_comps%2Fmb2hal%2Fm&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7C70ae95d405504cef1b5d08dc6eee9e4d%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638507218366550444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=7UxWW9Wd0gVGG%2BBuIZdcbVxL8nWIQbQcXnDPRfxz8Bg%3D&reserved=0<https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/user_comps/mb2hal/m>
b2hal_HOWTO.ini
This link says you can set a debug level.

#OPTIONAL: Debug level of init and INI file parsing.
# 0 = silent.
# 1 = error messages (default).
# 2 = OK confirmation messages.
# 3 = debugging messages.
# 4 = maximum debugging messages (only in transactions).
INIT_DEBUG=3

Maybe set yours to 3 to get more information?
John

> -Original Message-
> From: Todd Zuercher via Emc-users [mailto:emc-
> us...@lists.sourceforge.net]
> Sent: May 7, 2024 1:29 PM
> To: Peter Wallace; Todd Zuercher via Emc-users
> Cc: Todd Zuercher
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
> Peter,
>
> Not sure,  considering how many years ago its been since I set this up I
may
> have forrgotton about changing user permisions or adding a group.  I'll
have
> to look into that tomorrow.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Peter Wallace 
> Sent: Tuesday, May 07, 2024 4:16 PM
> To: Todd Zuercher via Emc-users 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> On Tue, 7 May 2024, Todd Zuercher via Emc-users wrote:
>
> > Date: Tue, 7 May 2024 19:59:55 +
> > From: Todd Zuercher via Emc-users 
> > To: "Enhanced Machine Controller (EMC)"
> > 
> > Cc: Todd Zuercher 
> > Subject: [Emc-users] Mb2hal 2.9?
> >
> > The machine that I've been working on updating from 2.7 to 2.9 has hit a
> snag.  The one thing I didn't change now seems to be giving me the most
> trouble.
> >
> > The machine has 8 vfds for running 8 router spindles, they are/were
> connected to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working
> find on the old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the
old
> mb2hal.ini and it's associated hal file over to the new machine and added
> them to the config, but I can not seem to establish communication between
> Linuxcnc and the drives.  Starting Linuxcnc from the terminal, and it
pukes out
> this string of error messages, so fast that I can't find any other
possibly more
> informative error messages further up the log, (beacaue I can't scroll
past all
> this other junk.)  My mb2hal config has 32 transactions, and there is an
error
> msg like below for each of the 32, then the list repeats ad nauseum.   Any
> one have any ideas what's going on?  The PC is running Debian 12, with
> Linuxcnc installed from the Debian repos.
> >
> > mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot
> connect
> > to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[1]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[3]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[5]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[7]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1]
> >
> > Moving the RS485 dongle back to the old pc and loading the mb2hal config
> there gives no errors.  So it shouldn't be a hardware or config issue that
I'm
> aware of.  Did something significant change in mb2hal between 2.7 and 2.9
> that would require a change to the mb2hal configuration files?
> >
> > Todd Zuercher
> > P. Graham Dunn
> >
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2F&data=05%7C02%7Ctoddz%40pgrahamdunn.com%

Re: [Emc-users] Mb2hal 2.9?

2024-05-07 Thread gene heskett

On 5/7/24 16:02, Todd Zuercher via Emc-users wrote:

The machine that I've been working on updating from 2.7 to 2.9 has hit a snag.  
The one thing I didn't change now seems to be giving me the most trouble.

The machine has 8 vfds for running 8 router spindles, they are/were connected 
to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working find on the 
old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the old mb2hal.ini and 
it's associated hal file over to the new machine and added them to the config, 
but I can not seem to establish communication between Linuxcnc and the drives.  
Starting Linuxcnc from the terminal, and it pukes out this string of error 
messages, so fast that I can't find any other possibly more informative error 
messages further up the log, (beacaue I can't scroll past all this other junk.) 
 My mb2hal config has 32 transactions, and there is an error msg like below for 
each of the 32, then the list repeats ad nauseum.   Any one have any ideas 
what's going on?  The PC is running Debian 12, with Linuxcnc installed from the 
Debian repos.

mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[1] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[3] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[5] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[7] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]

Moving the RS485 dongle back to the old pc and loading the mb2hal config there 
gives no errors.  So it shouldn't be a hardware or config issue that I'm aware 
of.  Did something significant change in mb2hal between 2.7 and 2.9 that would 
require a change to the mb2hal configuration files?

Debian screwed the moose at debian 11, and it's not fixed until trixie.

Some how a copy paste left out the 2 udev lines that generate the 
/dev/serial/by-id to usb links.  There a pinned patch for that on the 
discord/klipper forum that restores that.


Contains a link to the fix.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



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


Re: [Emc-users] Mb2hal 2.9?

2024-05-07 Thread John Dammeyer
Todd,
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/user_comps/mb2hal/m
b2hal_HOWTO.ini
This link says you can set a debug level.

#OPTIONAL: Debug level of init and INI file parsing.
# 0 = silent.
# 1 = error messages (default).
# 2 = OK confirmation messages.
# 3 = debugging messages.
# 4 = maximum debugging messages (only in transactions).
INIT_DEBUG=3

Maybe set yours to 3 to get more information?
John

> -Original Message-
> From: Todd Zuercher via Emc-users [mailto:emc-
> us...@lists.sourceforge.net]
> Sent: May 7, 2024 1:29 PM
> To: Peter Wallace; Todd Zuercher via Emc-users
> Cc: Todd Zuercher
> Subject: Re: [Emc-users] Mb2hal 2.9?
> 
> Peter,
> 
> Not sure,  considering how many years ago its been since I set this up I
may
> have forrgotton about changing user permisions or adding a group.  I'll
have
> to look into that tomorrow.
> 
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
> 
> -Original Message-
> From: Peter Wallace 
> Sent: Tuesday, May 07, 2024 4:16 PM
> To: Todd Zuercher via Emc-users 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9?
> 
> [EXTERNAL EMAIL] Be sure links are safe.
> 
> On Tue, 7 May 2024, Todd Zuercher via Emc-users wrote:
> 
> > Date: Tue, 7 May 2024 19:59:55 +
> > From: Todd Zuercher via Emc-users 
> > To: "Enhanced Machine Controller (EMC)"
> > 
> > Cc: Todd Zuercher 
> > Subject: [Emc-users] Mb2hal 2.9?
> >
> > The machine that I've been working on updating from 2.7 to 2.9 has hit a
> snag.  The one thing I didn't change now seems to be giving me the most
> trouble.
> >
> > The machine has 8 vfds for running 8 router spindles, they are/were
> connected to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working
> find on the old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the
old
> mb2hal.ini and it's associated hal file over to the new machine and added
> them to the config, but I can not seem to establish communication between
> Linuxcnc and the drives.  Starting Linuxcnc from the terminal, and it
pukes out
> this string of error messages, so fast that I can't find any other
possibly more
> informative error messages further up the log, (beacaue I can't scroll
past all
> this other junk.)  My mb2hal config has 32 transactions, and there is an
error
> msg like below for each of the 32, then the list repeats ad nauseum.   Any
> one have any ideas what's going on?  The PC is running Debian 12, with
> Linuxcnc installed from the Debian repos.
> >
> > mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot
> connect
> > to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[1]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[3]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[5]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[7]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1]
> >
> > Moving the RS485 dongle back to the old pc and loading the mb2hal config
> there gives no errors.  So it shouldn't be a hardware or config issue that
I'm
> aware of.  Did something significant change in mb2hal between 2.7 and 2.9
> that would require a change to the mb2hal configuration files?
> >
> > Todd Zuercher
> > P. Graham Dunn
> >
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> >
> www.pgrahamdunn.com%2Findex.php&data=05%7C02%7Ctoddz%40pgraha
> mdunn.com
> >
> %7Cab367b57db9e4abbdc5108dc6ed282a3%7C5758544c573f47cebee96c3e08
> 06fb43
> >
> %7C0%7C0%7C638507097628024227%7CUnknown%7CTWFpbGZsb3d8eyJWIj
> oiMC4wLjAw
> >
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C
> &sdata=
> > rIq1Puq3K28VXm9oJqLE09fKDnjDgo1XGfCzicJGRTQ%3D&reserved=0>
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> 
> Could this be some permissions or device name error with USB--> RS-485
> device driver?
> 
> 
> Peter Wallace
> Mesa Electronics
> 
> 
> ___
> 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] Mb2hal 2.9?

2024-05-07 Thread Todd Zuercher via Emc-users
Peter,

Not sure,  considering how many years ago its been since I set this up I may 
have forrgotton about changing user permisions or adding a group.  I'll have to 
look into that tomorrow.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace  
Sent: Tuesday, May 07, 2024 4:16 PM
To: Todd Zuercher via Emc-users 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On Tue, 7 May 2024, Todd Zuercher via Emc-users wrote:

> Date: Tue, 7 May 2024 19:59:55 +
> From: Todd Zuercher via Emc-users 
> To: "Enhanced Machine Controller (EMC)" 
> 
> Cc: Todd Zuercher 
> Subject: [Emc-users] Mb2hal 2.9?
>
> The machine that I've been working on updating from 2.7 to 2.9 has hit a 
> snag.  The one thing I didn't change now seems to be giving me the most 
> trouble.
>
> The machine has 8 vfds for running 8 router spindles, they are/were connected 
> to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working find on the 
> old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the old mb2hal.ini 
> and it's associated hal file over to the new machine and added them to the 
> config, but I can not seem to establish communication between Linuxcnc and 
> the drives.  Starting Linuxcnc from the terminal, and it pukes out this 
> string of error messages, so fast that I can't find any other possibly more 
> informative error messages further up the log, (beacaue I can't scroll past 
> all this other junk.)  My mb2hal config has 32 transactions, and there is an 
> error msg like below for each of the 32, then the list repeats ad nauseum.   
> Any one have any ideas what's going on?  The PC is running Debian 12, with 
> Linuxcnc installed from the Debian repos.
>
> mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot connect 
> to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[1] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[3] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[5] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[7] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1]
>
> Moving the RS485 dongle back to the old pc and loading the mb2hal config 
> there gives no errors.  So it shouldn't be a hardware or config issue that 
> I'm aware of.  Did something significant change in mb2hal between 2.7 and 2.9 
> that would require a change to the mb2hal configuration files?
>
> Todd Zuercher
> P. Graham Dunn 
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> www.pgrahamdunn.com%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cab367b57db9e4abbdc5108dc6ed282a3%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507097628024227%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> rIq1Puq3K28VXm9oJqLE09fKDnjDgo1XGfCzicJGRTQ%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>

Could this be some permissions or device name error with USB--> RS-485 device 
driver?


Peter Wallace
Mesa Electronics


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


Re: [Emc-users] Mb2hal 2.9?

2024-05-07 Thread Peter Wallace

On Tue, 7 May 2024, Todd Zuercher via Emc-users wrote:


Date: Tue, 7 May 2024 19:59:55 +
From: Todd Zuercher via Emc-users 
To: "Enhanced Machine Controller (EMC)" 
Cc: Todd Zuercher 
Subject: [Emc-users] Mb2hal 2.9?

The machine that I've been working on updating from 2.7 to 2.9 has hit a snag.  
The one thing I didn't change now seems to be giving me the most trouble.

The machine has 8 vfds for running 8 router spindles, they are/were connected 
to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working find on the 
old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the old mb2hal.ini and 
it's associated hal file over to the new machine and added them to the config, 
but I can not seem to establish communication between Linuxcnc and the drives.  
Starting Linuxcnc from the terminal, and it pukes out this string of error 
messages, so fast that I can't find any other possibly more informative error 
messages further up the log, (beacaue I can't scroll past all this other junk.) 
 My mb2hal config has 32 transactions, and there is an error msg like below for 
each of the 32, then the list repeats ad nauseum.   Any one have any ideas 
what's going on?  The PC is running Debian 12, with Linuxcnc installed from the 
Debian repos.

mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[1] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[3] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[5] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[7] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]

Moving the RS485 dongle back to the old pc and loading the mb2hal config there 
gives no errors.  So it shouldn't be a hardware or config issue that I'm aware 
of.  Did something significant change in mb2hal between 2.7 and 2.9 that would 
require a change to the mb2hal configuration files?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031



Could this be some permissions or device name error with USB--> RS-485
device driver?


Peter Wallace
Mesa Electronics


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


[Emc-users] Mb2hal 2.9?

2024-05-07 Thread Todd Zuercher via Emc-users
The machine that I've been working on updating from 2.7 to 2.9 has hit a snag.  
The one thing I didn't change now seems to be giving me the most trouble.

The machine has 8 vfds for running 8 router spindles, they are/were connected 
to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working find on the 
old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the old mb2hal.ini and 
it's associated hal file over to the new machine and added them to the config, 
but I can not seem to establish communication between Linuxcnc and the drives.  
Starting Linuxcnc from the terminal, and it pukes out this string of error 
messages, so fast that I can't find any other possibly more informative error 
messages further up the log, (beacaue I can't scroll past all this other junk.) 
 My mb2hal config has 32 transactions, and there is an error msg like below for 
each of the 32, then the list repeats ad nauseum.   Any one have any ideas 
what's going on?  The PC is running Debian 12, with Linuxcnc installed from the 
Debian repos.

mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[1] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[3] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[5] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[7] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]

Moving the RS485 dongle back to the old pc and loading the mb2hal config there 
gives no errors.  So it shouldn't be a hardware or config issue that I'm aware 
of.  Did something significant change in mb2hal between 2.7 and 2.9 that would 
require a change to the mb2hal configuration files?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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