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=05%7C02%7Ctoddz%40
pgrahamdunn.com 
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43 
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw 
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C= 
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D=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=05%7C02%7Ctoddz% 
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c 
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d 
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C 
> 0%7C%7C%7C=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D 
> 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] MESA card suggestions

2023-12-15 Thread zz912
Hello Alan,

You can start with one 7i96s.

Then you can add one 7i84.

Then you can add 7i74 for 8 pieces 7i84.

Or you can start with 7i96s + 7i74 + (2 to 9) * 7i84 imidietaly.

I dont like sharing inputs. For control panel you can use input matrix.

Zdenek

"-- Původní zpráva --
Od: andy pugh 
Datum: 15.12.2023 23:50:24
Předmět: Re: [Emc-users] MESA card suggestions

On Fri, 15 Dec 2023 at 22:19, alanmthomason--- via Emc-users
wrote:

> I am looking for a suggestion for the best MESA card to be used with
>
> an ethernet connection
>
> 4axes
>
> Teknic servo / stepper taking a step/direction input of 5 to 24V
>
> Ideally this would be in a format that I could mount in a simple 
enclosure.
>
> 3digital inputs per axis, so 12inputs
>
> 1 additional digital output.

The 7i96S is available (unlike the 7i76E, which would be another good
choice) but it is a little short of IO, having one input fewer than
you require. (And maybe you want a probe too? and some external
alarms, coolant level sensing...(
You can easily add extra IO with a smart-serial card such as the 7i84.
(Though there are 17 unprotected GPIO pins on the expansion connector
too, but using those as bare pins is something I would only suggest to
the electronically confident)

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