![](https://seccdn.libravatar.org/avatar/2f3d52f7ee9cca8029b49e42ec90577c.jpg?s=120&d=mm&r=g)
On 02/04/2019 16:52, Christian Schmitz wrote:
Hi everyone: I have a opensuse tumbleweed, and i use the chip programmer PICKIT2, PICKIT3 via usb. Sometimes at boot the permission are right 664 but when the programmer is replugged or rebooted the permissions are only root 600.
I suspect that i have a problem with udev rules file atached. If i check for conflict with any other rule GREP only find manufacturer id match with: /etc/udev/rules.d/010_mchp_tools.rules
DMESG say that is discovered as usb HID
Best Regards. Christian
Hi Christian, I work with a pickit3 all the time and on my Leap:15 box I have no problem. The permissions are taken care of by the installation of Mplab x, I have it on my Tumbleweed Laptop as well but I haven't used it since I installed Tumleweed but I'll check later. The rule that looks like it does the job is: /etc/udev/rules.d/z010_mchp_tools.rules and it contains: 2017.09.25 Added check for Microchip product IDs. # 2017.03,03 Added check for Atmel tools. # 2012.01.23 Changed SYSFS reference(s) to ATTR. # 2011.12.15 Note: Reboot works on all systems to have rules file recognized. # 2010.01.26 Add reference to "usb" for Ubuntu. # 2010.01.22 Attempt to further simplify rules files requirements. # 2009.08.18 Rules file simplified. # 2009.07.15 Rules file created. ENV{hotplugscript}="/etc/.mplab_ide/mchplinusbdevice" ACTION!="add", GOTO="check_remove" SUBSYSTEM=="usb_device", GOTO="check_add" SUBSYSTEM!="usb", GOTO="rules_end" LABEL="check_add" ATTR{idVendor}=="04d8", ATTR{idProduct}=="8???", MODE="666", RUN+="%E{hotplugscript} add" ATTR{idVendor}=="04d8", ATTR{idProduct}=="9???", MODE="666", RUN+="%E{hotplugscript} add" ATTR{idVendor}=="04d8", ATTR{idProduct}=="a0??", MODE="666", RUN+="%E{hotplugscript} add" ATTR{idVendor}=="04d8", ATTR{idProduct}=="00e0", MODE="666", RUN+="%E{hotplugscript} add" ATTR{idVendor}=="04d8", ATTR{idProduct}=="00e1", MODE="666", RUN+="%E{hotplugscript} add" ATTR{idVendor}=="03eb", ATTR{idProduct}!="6124", MODE="666", RUN+="%E{hotplugscript} add" GOTO="rules_end" LABEL="check_remove" ACTION=="remove", RUN+="%E{hotplugscript} remove %E{PRODUCT}" LABEL="rules_end" -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org