linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Piter PUNK <piterpunk@unitednerds.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: USB / udev only work for root
Date: Sat, 03 Jan 2009 18:24:01 +0000	[thread overview]
Message-ID: <495FAD41.4010202@unitednerds.org> (raw)
In-Reply-To: <580562.39355.qm@web50706.mail.re2.yahoo.com>

Sarah Messer wrote:
> The problem is not present on an OpenSUSE 10.0 machine running identical code with straight libusb-0.1/pyusb
> 
> /etc/udev/rules.d/55-libsane.rules contains the following lines (among many others):
> 
> # ENV{DEVTYPE}="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664", OWNER="root", GROUP="root"
> 
> SUBSYSTEM="usb", ACTION="add|change", SYSFS{idVendor}="0699", SYSFS{idProduct}="0368", GROUP="usb", MODE="0664"

Change SYSFS to ATTRS.

Piter Punk

  reply	other threads:[~2009-01-03 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-02 22:54 USB / udev only work for root Sarah Messer
2009-01-03 18:24 ` Piter PUNK [this message]
2009-01-05 15:58 ` Sarah Messer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=495FAD41.4010202@unitednerds.org \
    --to=piterpunk@unitednerds.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).