I am trying to get a micochip pic programmer working under linux. I followed the directions from
http://mcuee.blogspot.com/2008/04/pk...er-ubuntu.html
everything worked as root but I could not get users that were in the 'microchip' group.
Code:
root@x:~# lsusb
Bus 001 Device 006: ID 04d8:0033 Microchip Technology, Inc.
Bus 001 Device 005: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Bus 001 Device 003: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 1058:1100 Western Digital Technologies, Inc.
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c401 Logitech, Inc. TrackMan Marble Wheel
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
root@x:~# ls -la /dev/bus/usb/001
total 0
drwxr-xr-x 2 root root 140 2008-09-13 12:56 ./
drwxr-xr-x 7 root root 140 2008-09-12 17:10 ../
crw-r--r-- 1 root microchip 189, 0 2008-09-12 17:10 001
crw-r--r-- 1 root microchip 189, 1 2008-09-12 17:10 002
crw-r--r-- 1 root microchip 189, 2 2008-09-12 17:10 003
crw-rw---- 1 root lp 189, 4 2008-09-13 12:56 005
crw-r--r-- 1 root microchip 189, 5 2008-09-13 12:56 006
first, why is microchip listed four times? the programmer is #6. The printer is #5. this is with a udev permissions file created as stated in the directions. the programmer only works for root and the printer works fine. when I change the name of the permissions file to just 'microchip.rules' everything becomes
Code:
drwxr-xr-x 2 root root 140 2008-09-13 13:05 ./
drwxr-xr-x 7 root root 140 2008-09-12 17:10 ../
crw-r--r-- 1 root microchip 189, 0 2008-09-12 17:10 001
crw-r--r-- 1 root microchip 189, 1 2008-09-12 17:10 002
crw-r--r-- 1 root microchip 189, 2 2008-09-12 17:10 003
crw-rw---- 1 root microchip 189, 4 2008-09-13 13:04 005
crw-rw-r-- 1 root microchip 189, 7 2008-09-13 13:06 008
root@x:~# lsusb
Bus 001 Device 008: ID 04d8:0033 Microchip Technology, Inc.
Bus 001 Device 005: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Bus 001 Device 003: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 1058:1100 Western Digital Technologies, Inc.
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c401 Logitech, Inc. TrackMan Marble Wheel
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
so why now is the printer missing? the printer doesn't work. and how do I get rid of all of the microchip listings? but, the programmer now works for the members of the 'microchip' group.