Linux and No Dongle Detection: Difference between revisions
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
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 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> | ||
$ sudo touch /etc/udev/rules.d/999-ft-mxw.rules | $ sudo touch /etc/udev/rules.d/999-ft-mxw.rules | ||
$ sudo | $ sudo vim /etc/udev/rules.d/999-ft-mxw.rules | ||
</code> | |||
Enter this line: | |||
<code> | |||
SUBSYSTEM=="usb",ATTRS{idVendor}=="096e",MODE="0666" | |||
</code> | |||
Exit vim with <esc>,:,w,q,<enter>. Then restart udev service | |||
<code> | |||
$ sudo /etc/init.d/udev restart | $ sudo /etc/init.d/udev restart | ||
</code> | </code> | ||
and re-plug the dongle. This udev rule enables read/write permissions for all users when a Feitian dongle (Vendor id is 096e) is plugged into the system. | |||
'''Remark''' | |||
The 'write' - permissions added here allow sending device commands to the dongle. The values stored inside the dongle are never changed. |
Latest revision as of 11:47, 1 June 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. This udev rule enables read/write permissions for all users when a Feitian dongle (Vendor id is 096e) is plugged into the system.
Remark
The 'write' - permissions added here allow sending device commands to the dongle. The values stored inside the dongle are never changed.