Linux and No Dongle Detection: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
'''Background''' | '''Background''' | ||
Actually a dongle is found, but it | Actually a dongle is found, but it is not usable because of insufficient udev permissions. Dongle values can be read, but no commands like e.g. 'Respond with dongle serial' can be sent (written) to the dongles. | ||
'''Solution''' | '''Solution''' | ||
For a first test, you can start MXWendler as root. If the dongle is | For a first test, you can start MXWendler as root. If the dongle is usable now, it is a udev permission issue. Now enable the correct permissions for all users the USB dongle. Enable full access to the dongles with the following command sequence issued in a terminal: | ||
<code> | <code> | ||
Line 25: | Line 25: | ||
</code> | </code> | ||
Then restart udev service | Exit vim with <esc>,:,w,q,<enter>. Then restart udev service | ||
<code> | <code> |
Revision as of 23:38, 31 May 2024
This applies to Ubuntu and Ubuntu-based Linux versions and all MXWendler versions
Problem
You start with a USB dongle attached but the log states there is no dongle found.
Background
Actually a dongle is found, but it is not usable because of insufficient udev permissions. Dongle values can be read, but no commands like e.g. 'Respond with dongle serial' can be sent (written) to the dongles.
Solution
For a first test, you can start MXWendler as root. If the dongle is usable now, it is a udev permission issue. Now enable the correct permissions for all users the USB dongle. Enable full access to the dongles with the following command sequence issued in a terminal:
$ sudo touch /etc/udev/rules.d/999-ft-mxw.rules
$ sudo vim /etc/udev/rules.d/999-ft-mxw.rules
Enter this line:
SUBSYSTEM=="usb",ATTRS{idVendor}=="096e",MODE="0666"
Exit vim with <esc>,:,w,q,<enter>. Then restart udev service
$ sudo /etc/init.d/udev restart
and re-plug the dongle.
Remark
The dongle values are never changed, this is only possible for the dongle issuer.