How can I use a MicroEJ USB dongle on Linux?



I’m using MicroEJ SDK on Linux (Xubuntu 16.04) but it can’t detect the MicroEJ USB dongle to enable the license.
Can you help me ?


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"


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


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).


[SDK] License Activation

Great !
Thanks Gaetan :slight_smile: