Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioctl() version magic is differing: /dev/EtherCAT0: 33, ethercat tool: 31 #134

Open
ibrahimsel opened this issue Jul 2, 2024 · 1 comment

Comments

@ibrahimsel
Copy link

[ethercat_sdo_srv_server-5] [ERROR] [1719907935.360533917] [ethercat_manager]: ioctl() version magic is differing: /dev/EtherCAT0: 33, ethercat tool: 31

I'm getting the above error when I try to set an sdo with the following ros2 service:

ros2 service call /ethercat_manager/set_sdo ethercat_msgs/srv/SetSdo "{master_id: 0, slave_position: 0, sdo_index: 0x60ff, sdo_subindex: 0, sdo_data_type: 'int32', sdo_value: '1000'}"

the output of uname -r: 6.5.0-21-generic

the output of modinfo ec_master:
Screenshot from 2024-07-02 11-25-03
Does this really pose a threat? If so, can you provide some guidance about a possible fix?

@mcbed
Copy link
Member

mcbed commented Jul 3, 2024

this is definitely a bug with the versioning between Etherlab and this stack. As a fix, you just need to recompile the ethercat_manager package with that line modified and it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants