Content originally posted in LPCWare by ytplanet on Thu Jan 03 15:56:27 MST 2013
I'm not sure it is the same case, but I faced problem with usb device permissions. They were set to 0664 (not writable to anyone except root) even though it should be 0666 according to /etc/udev/rules.d/85-code-red.rules (the file installed by LPCXpresso intaller).
The reason is simple. There is another rule
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
in file /lib/udev/rules.d/91-permissions.rules.
This second file is processed later and in result udev rules created by Code Red are completely useless.
The workaround is simple. I changed the name of file from 85-code-red.rules to 99-code-red.rules.
Now permissions are properly set to 0666 and in result the usb device is writable for everybody.
Quote: tsh
This is still broken for me. I had recently upgraded to ubuntu 12.4 (from having a working system before). I upgraded to lpcxpresso_4.3.0_1025 after discovering that I couldn't connect.
I have the 32 bit compatability libs installed, but no libusb in /lib.
i tried the soft-link option, but according to ltrace/ 'too many levels of soft-link', so I did a copy.
ltrace now shows me that i have a permissions problem - when using dfu-util to download the debug firmware.
Is there a udev option that needs setting to fix permissions for the usb? i didn't see it on the install instructions (but I could have missed it...)
Edit: the gui will connect to the debug probe now, but I'm not sure if I needed to run the firmware download as root in order to facilitate this...