lcec_conf: ERROR: Invalid slave type

More
07 Jan 2024 09:52 #290072 by jjdege
From title, after updating to LCNC 2.9.2 I get error.
And I can't manually compile the slave device as I've always done this,
is there a solution?
Thank you very much

this terminal output

 


 
Attachments:

Please Log in or Create an account to join the conversation.

More
07 Jan 2024 11:18 #290075 by rodw
It says there is an error on line 3 of your xml file
please share it
The following user(s) said Thank You: jjdege

Please Log in or Create an account to join the conversation.

More
07 Jan 2024 13:19 - 07 Jan 2024 13:22 #290088 by jjdege
this is the xml,
but it has always worked
I believe the FR4000 is not included in the repository devices

this is the fork here

 

File Attachment:

File Name: ethercat-c...1-07.xml
File Size:0 KB
Attachments:
Last edit: 07 Jan 2024 13:22 by jjdege.

Please Log in or Create an account to join the conversation.

More
07 Jan 2024 16:41 - 07 Jan 2024 16:47 #290112 by jjdege
Hi rodw
I did some tests, the problem is in the lcec_conf and lcec.so files loaded from the repositories are compiled without the device I use
this is the output replacing them with a backup copy that I had compiled manually
LCNC works
 


I was wondering if manual compilation has been inhibited and only devices must be used
inserted into the repositories
Thank you very much
Attachments:
Last edit: 07 Jan 2024 16:47 by jjdege.

Please Log in or Create an account to join the conversation.

More
07 Jan 2024 20:47 #290142 by rodw
So the hal driver has never supported this device
I thnk you should clone hte new fork from github.com/linuxcnc-ethercat/linuxcnc-ethercat
and add the driver support and send them a pull request to get it included.
That way it will be included in the igh repository once approved...
The new fork probably will fix your build error
 
The following user(s) said Thank You: jjdege

Please Log in or Create an account to join the conversation.

More
07 Jan 2024 23:01 - 07 Jan 2024 23:01 #290159 by jjdege
Thanks rodw for your work, all clear
I'll see what to do

Thank you very much
Last edit: 07 Jan 2024 23:01 by jjdege.

Please Log in or Create an account to join the conversation.

More
08 Jan 2024 16:45 #290229 by scottlaird
FWIW, I merged the FR4000 driver last week: github.com/linuxcnc-ethercat/linuxcnc-ethercat/pull/97.

Hopefully it'll appear in the igh repository before very long.
The following user(s) said Thank You: jjdege

Please Log in or Create an account to join the conversation.

More
08 Jan 2024 20:37 - 08 Jan 2024 20:42 #290235 by jjdege
@scottlair
thanks, I saw that you merged the driver
thanks for the work
I look forward to it appearing in the Igh repositories

I noticed that the lcec installed by the repositories are dated November
before your job
Last edit: 08 Jan 2024 20:42 by jjdege.

Please Log in or Create an account to join the conversation.

More
12 Jan 2024 07:14 - 12 Jan 2024 07:17 #290474 by jjdege
Fantastic! I updated, my device is seen by LCNC.
It doesn't see "generic" devices but I see that work is being done here
many thanks for the work
Last edit: 12 Jan 2024 07:17 by jjdege.

Please Log in or Create an account to join the conversation.

More
12 Jan 2024 18:52 #290522 by scottlaird
I *think* this is all fixed now with 1.5.2 or above. There's a 1.5.3 package in the .deb repository, so hopefully it's easy to upgrade and test.
The following user(s) said Thank You: jjdege

Please Log in or Create an account to join the conversation.

Time to create page: 1.309 seconds
Powered by Kunena Forum