How do I use this driver for MTI-30?
jediofgever opened this issue · 3 comments
Hi,
I have a MTI-30 model. When I run the driver it crashes with
[ERROR] [1628158672.132779485] [xsens_mti_node]: No MTi device found.
but lsusb does show this ;
Bus 001 Device 007: ID 2639:0003 Xsens MTi-30 AHRS
How can I use this driver for my sensor ?
Ahh OK.
Needed to do;
sudo chmod 777 /dev/ttyUSB0
it will be nice if you put a notice on Readme about that. So other people notice it.
@jediofgever This issue has been documented in the readme. Take a look at the following point in the troubleshooting section. The correct way to handle this issue is by adding the user to dialout group. Doing a chmod, sometimes resets the permissions when the device is disconnected and connected back.
- The device is recognized, but I cannot ever access the device - Make sure you are in the correct group (often dialout or uucp) in order to access the device. You can test this with $ ls -l /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 0 May 6 16:21 /dev/ttyUSB0 $ groups dialout audio video usb users plugdev If you aren't in the correct group, you can fix this in two ways. 1. Add yourself to the correct group You can add yourself to it by using your distributions user management tool, or call $ sudo usermod -G dialout -a $USER Be sure to replace dialout with the actual group name if it is different. After adding yourself to the group, either relogin to your user, or call $ newgrp dialout to add the current terminal session to the group. 2. Use udev rules Alternatively, put the following rule into /etc/udev/rules.d/99-custom.rules SUBSYSTEM=="tty", ATTRS{idVendor}=="2639", ACTION=="add", GROUP="$GROUP", MODE="0660" Change $GROUP into your desired group (e.g. adm, plugdev, or usb).
Many thanks for the additional info. I will switch to that method then.
I