Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th October 2010, 03:21 PM
fedoramonkey77 Offline
Registered User
 
Join Date: May 2008
Posts: 3
macossafari
Custom udev rule, works but is it correct

Dear Fedoraforum,

I needed to write a custom udev rule in order for a USB device (USB Blaster by Altera) to be useable by a non-root user. Their instructions were outdated (clicky) and I cobbled something together. It works, but I just wanted to see if there is a better way of doing this.

Code:
# USB-Blaster
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", \
RUN+="/bin/chmod 0666 /proc/bus/usb/$env{BUSNUM}/$env{DEVNUM}"
Also, why doesn't MODE="0666" have the desired effect instead of needing to use the RUN parameter?

Thanks

P.S. I am running Fedora 13 64-bit (2.6.34.7-61.fc13.x86_64) via VMware Fusion (3.1.1) on my MacBook Pro.
Reply With Quote
Reply

Tags
correct, custom, rule, udev, works

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using UDEV rule to run a script atavus Programming & Packaging 2 23rd February 2010 08:30 PM
udev rule (iPod) daviddoria Using Fedora 7 14th December 2008 05:06 PM
Set autosuspend via udev rule or hal policy? logularjason Hardware & Laptops 0 14th January 2008 07:55 AM


Current GMT-time: 20:58 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat