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

udev problem



Hi there looks like there has been a change in the way udev handles its rules.
I'm using piklab which I've use consistently for a few years.
I can now only use it as root, as it wont allow the connection to the usb programer.
The things which normally work are the add to groups, piklab and usbuser and add myself to them.
also to add rules in /etc/udev/rules.d
026-piklab.rules
#PICKit 1
ATTR{idVendor}=="04d8", ATTR{idProduct}=="0032", OWNER:="root", GROUP:="microchip",MODE:="0660"
#PICKit 2
ATTR{idVendor}=="04d8", ATTR{idProduct}=="0033", OWNER:="root", GROUP:="microchip",MODE:="0660"
#ICD2
ATTR{idVendor}=="04d8", ATTR{idProduct}=="8001", OWNER:="root", GROUP:="microchip",MODE:="0660"
#ICD21
ATTR{idVendor}=="04d8", ATTR{idProduct}=="8001", OWNER:="root", GROUP:="microchip",MODE:="0660"
#PICDEM FS USB Bootloader
ATTR{idVendor}=="04d8", ATTR{idProduct}=="000b", OWNER:="root", GROUP:="microchip",MODE:="0660"

11-usbuser.rules
ACTION=="add", BUS=="usb", GROUP:="usbuser", MODE:="0666"

That normally works, but not now.

As a user I get 
USB Port: Could not find USB device (vendor=0x04D8 product=0x8001). 

lsusb shows
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04b8:0007 Seiko Epson Corp. Printer
Bus 004 Device 002: ID 046d:c05f Logitech, Inc. 
Bus 006 Device 002: ID 04d8:8001 Microchip Technology, Inc. ICD2 in-circuit debugger

It is there and is usable by root :(

I'm also a member of the group microchip


For a long while as you boot up there has been a message the udev is changing from action to attributes

I'm also getting similar problems with another app which uses /dev/ttyS0.

Whats changed ??????

TIA

-- 
Best wishes / 73
Richard Bown

e-mail: richard@g8jvm.com   or   richard.bown@blueyonder.co.uk

nil carborundum a illegitemis
##################################################################################
Ham Call G8JVM . OS Debian Wheezy/Sid amd64 on a Dual core AMD Athlon 5200, 4 GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W & 3 cms:5W
################################################################################## 


Reply to: