4

Setting up USB for PIC-programming

view full story
linux-howto

http://www.linuxquestions.org – I am reading through the documentation for pk2cmd, required for using the PICkit2 programmer. I aim to install using the source, and thus libusb-dev is needed. The docs says that the runtime is usually included with the distro but the dev-part is not. Well, to be on the safe side, I downloaded the source for libusb (0.1.12), which in turn should contain libusb-dev. One step down, a few more to go. pk2cmd should be pretty straightforward to compile, but ... Now I am asked to set up USB so that it can be used by users other than root. A document is filled to the brim with instruction for cases old and new. It makes my head spin and that's why I am asking. The programmer shows up fine with lsusb, and I see it as /dev/bus/usb/001/006 So, basically, as I understand it, the device need the proper rights to be used by a regular user. But how do I do that? (HowTos)