libusbJava.so
into a shared directory searched by java for dynamic object files, i.e. /usr/lib
/dev/bus/usb/....
), or you can run the codeloader via super-user-privileges or you can adapt the udev rule for new usb-devices./etc/udev/rules.d/60-imote.rules
:
SUBSYSTEM=="usb",ATTR{idVendor}=="042b",ATTR{idProduct}=="1337",GROUP="usb",MODE="0660" SUBSYSTEM=="usb",ATTR{idVendor}=="0403",ATTR{idProduct}=="cff8",GROUP="usb",MODE="0660"Make sure you have a group usb and you are in this group; after attaching the imote (and keeping it in boot-state - see note), you should see devices with
ls -la /dev/bus/*/*
which are in the group usb.