You are not logged in.

#1 2011-12-29 14:43:50

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Controlling USB device permissions with UDEV rules

Hello,

I'm trying to use PLUG, a piece of software that connects to my guitar amplifier by USB: http://piorekf.org/plug/

I can compile the application and run it just fine.

However, if I try to run it as a normal user, I get USB permissions errors.

I've added myself to the group plugdev, and tried the following udev rules:

ATTRS{idVendor}=="1ed8", SYSFS{idProduct}=="0004", MODE="664", GROUP="pludev"
ATTRS{idVendor}=="1ed8", SYSFS{idProduct}=="0005", MODE="664", GROUP="plugdev"
ATTRS{idVendor}=="1ed8", SYSFS{idProduct}=="0006", MODE="664", GROUP="plugdev"

This didn't work, after checking the nodes using ls -l, the nodes are still root:root.

Any ideas on how I can change the permissions?

Thanks,

Chris.

Last edited by kernel_geek (2012-01-01 02:06:04)

Offline

#2 2012-01-01 02:06:12

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Re: Controlling USB device permissions with UDEV rules

Bump?

Offline

#3 2012-01-01 02:11:55

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Controlling USB device permissions with UDEV rules

kernel_geek wrote:

However, if I try to run it as a normal user, I get USB permissions errors.

I've added myself to the group plugdev, and tried the following udev rules:

ATTRS{idVendor}=="1ed8", SYSFS{idProduct}=="0004", MODE="664", GROUP="pludev"
ATTRS{idVendor}=="1ed8", SYSFS{idProduct}=="0005", MODE="664", GROUP="plugdev"
ATTRS{idVendor}=="1ed8", SYSFS{idProduct}=="0006", MODE="664", GROUP="plugdev"

If this was a literal copy-paste from your rules file, I do see a typo there at the end of the first line: "pludev" -> "plugdev". Maybe that's the problem?

Offline

Board footer

Powered by FluxBB