Go to advanced search

by Lieta
Thu Jan 02, 2014 7:26 pm
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

Re: udev wrong group

/dev/bus/usb/ xxx / yyy is a different and lower-level interface than /dev/ttyUSB x . You need the provide the correct type of device for the application you are using. You should not normally need to create your own udev rules or symlinks. If you want a persistent device name for a ttyUSB x , whic...
by Lieta
Thu Jan 02, 2014 5:47 pm
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

Re: udev wrong group

udev rule proposed by nroff-man works. Rule KERNEL=="ttyUSB*", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{serial}=="0001", GROUP="dialout", MODE="0660", RUN+="/bin/ln -sf %k /dev/ttyUSBzwave" creates lrwxrwxrwx 1 root root 7 Jan 1 1970 /dev/ttyUSBzwave -> ttyUSB0 and "/dev/ttyUSBzwave"...
by Lieta
Thu Jan 02, 2014 8:24 am
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

Re: udev wrong group

The owner and group of a symbolic link will often be root. It doesn't matter. It has read/write/execute permissions for everyone. It's only purpose is to be a link/shortcut to the real file and it is the permissions on the that file that matter. Ok, I'll try, but then it doesn't make sense to speci...
by Lieta
Wed Jan 01, 2014 8:43 pm
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

Re: udev wrong group

Hi This is what I use for a cp2102 device, adjust for your own adapter and post your solution if it works for you. KERNEL=="ttyUSB*", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", GROUP="dialout", MODE="0660", RUN+="/bin/ln -sf %k /dev/cygnal" good luck. Doesn't work. Owner and group is still ...
by Lieta
Wed Jan 01, 2014 8:42 pm
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

Re: udev wrong group

DougieLawson wrote:So it's not a user permissions thing. It's a device driver / non-functional device problem.
But it works with "/dev/ttyUSB0".
by Lieta
Sun Dec 29, 2013 11:38 am
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

Re: udev wrong group

Can you change your application to try to open /dev/bus/usb/001/004? (This is just a temporary experiment, not a permanent fix because the device abstraction layer is there to give movable things fixed names.) Doesn't work. It prints: "ERROR: interface FAILED to connect to Port /dev/bus/usb/001/004...
by Lieta
Sun Dec 29, 2013 7:10 am
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

Re: udev wrong group

What's the ownership and permission bits for the target of the symlink bus/usb/001/004? pi@raspberrypi ~ $ ls -l /dev/bus/usb/001/004 crw-rw---T 1 root dialout 189, 3 Jan 1 1970 /dev/bus/usb/001/004 Can a user who's in group dialout open and read/write your /dev/USBzwave device? No. That's the prob...
by Lieta
Fri Dec 27, 2013 8:06 pm
Forum: Raspberry Pi OS
Topic: udev wrong group
Replies: 13
Views: 3688

udev wrong group

Hi. I've set up this udev rule: cat /etc/udev/rules.d/100-usbadapter.rules SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{serial}=="0001", SYMLINK+="ttyUSBzwave", GROUP="dialout", MODE="0660" I'd like it to create a link with group set to "dialout", but instead it's a roo...

Go to advanced search