Linux and No Dongle Detection

From MXWendler Wiki
Revision as of 01:38, 1 June 2024 by Hwendler (talk | contribs)
Jump to navigation Jump to search

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.