Linux and No Dongle Detection: Difference between revisions
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
</code> | </code> | ||
and re-plug the dongle. | 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''' | '''Remark''' | ||
The dongle values are never changed, this is only possible for the dongle issuer. | The dongle values are never changed, this is only possible for the dongle issuer. |
Revision as of 11:45, 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 dongle values are never changed, this is only possible for the dongle issuer.