How can I use a MicroEJ USB dongle on Linux?

Hi Jerry,

Yes, you can use the dongle on Linux, but for that it should be readable when detected. Assuming you are using udev for device management, you should add a new rule (e.g in a /etc/udev/rules.d/91-usbdongle.rules file) with the following content:

ACTION!="add", GOTO="usbdongle_end"
SUBSYSTEM=="usb", GOTO="usbdongle_start"
SUBSYSTEMS=="usb", GOTO="usbdongle_start"
GOTO="usbdongle_end"

LABEL="usbdongle_start"

ATTRS{idVendor}=="096e" , ATTRS{idProduct}=="0006" , MODE="0666"

LABEL="usbdongle_end"

Then restart the udev service:

service udev restart

Also unplug and plug your device again for the detection to happen and the dongle should be detected in your MicroEJ SDK (in the MicroEJ preferences).

Gaëtan