Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane

From: Richard C. Steffens <rsteff <at> comcast.net>
Subject: Resolved: Permissions setting for USB program
Newsgroups: gmane.org.user-groups.linux.portland
Date: Wednesday 21st September 2011 20:44:41 UTC (over 7 years ago)
On 09/20/2011 11:36 AM, Jason Barnett wrote:
> try adding a udev rule with the following lines in it:
>
> SUBSYSTEM=="usb", SYSFS{idVendor}=="*0bb4*", MODE="0666"
> SUBSYSTEM=="usb", ATTRS{idVendor}=="*0bb4*", MODE="0666"
>
> of course change the 0bb4 with the vendor ID of your device.

On 09/20/2011 11:41 AM, Paul Heinlein wrote:
> I *think* the snippet below
> would work, but you'll want to test it.
>
>     # /etc/udev/rules.d/footpedal.rules
>     KERNEL=="usb/hiddev[0-9]*", MODE="0644"


I tried Paul's idea first. It didn't work.

I tried Jason's next and they work. I didn't get the message about 
restarting the service until after I had rebooted, so I'll have to try 
that when I set this up on my laptop.

Thanks for all the advice.

Here's my rule file:

# /etc/udev/rules.d/footpedal.rules
#
# Set permissions for USB footpedal Infinity IN-USB-1
#
# sudo lsusb -v reports
# Bus 002 Device 002: ID 05f3:00ff PI Engineering, Inc.
# Device Descriptor:
# <...>
#  idVendor           0x05f3 PI Engineering, Inc.
#  idProduct          0x00ff
#  bcdDevice            1.20
#  iManufacturer           1 VEC
#  iProduct                2 VEC USB Footpedal
#
# Rules recommended by PLUG mailing list member, Jason Barnett on 
September 20, 2011
#
# After changing rules issue this command: sudo service udev restart
#
SUBSYSTEM=="usb", SYSFS{idVendor}=="*05f3*", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="*05f3*", MODE="0666"

-- 
Regards,

Dick Steffens
 
CD: 64ms