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 <p...@mesanet.com> Sent: Tuesday, May 07, 2024 4:16 PM To: Todd Zuercher via Emc-users <emc-users@lists.sourceforge.net> Cc: Todd Zuercher <to...@pgrahamdunn.com> 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 +0000 > From: Todd Zuercher via Emc-users <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > Cc: Todd Zuercher <to...@pgrahamdunn.com> > 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