[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB access as user



On Fri, 28 Oct 2011 23:41:18 +0100, Richard wrote:

> I'm using piklab on wheezy, the binary for squeeze gives no functional
> problems. The app runs fine as root, but does not find the USB
> programmer as a user. I've added a file to /etc/udev/rules.d which
> should allow it to function, it does on fedora,
> 
> 026_microchip.rules
> #PICKit
> SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="0032", MODE="0660", GROUP="microchip" 
> #PICKit2
> SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="0033", MODE="0660", GROUP="microchip" 
> #ICD2
> SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8001", MODE="0660", GROUP="microchip" 
> #ICD21
> SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8000", MODE="0660", GROUP="microchip"
> 
> I'm a member of the group microchip and usbusers lsusb shows the device
> and its the correct vendor and product id.
> 
> What have I missed

I suppose you have followed these rules:

http://sourceforge.net/apps/mediawiki/piklab/index.php?title=USB_Port_Problems#For_distributions_using_.22udev.22_.28Debian_Sid.2C_Ubuntu_6.2C7.2C8.2C....29

If the order of the lines matter, you have put 8001 before 8000, that's 
the only difference I can see.

You can also try with these rules which seem to be updated:

http://usbpicprog.org/?page_id=13

And JFYI, the package has been removed from testing and sid because of this:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618600

Greetings,

-- 
Camaleón


Reply to: