All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Drake <dan@reactivated.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: [Libusb-devel] USB / udev only work for root
Date: Sat, 03 Jan 2009 21:41:08 +0000	[thread overview]
Message-ID: <495FDB74.60703@reactivated.net> (raw)

Hi Sarah,

Sarah Messer wrote:
> I can only communicate with a USB device using libusb when I'm logged
> in as root.  I reported this previously for libusb-0.1.12, and have
> since tried upgrading to libusb-1.0 with the libusb-compat patch.

You should post your code and the exact output of your libusb-1.0 
application.

If the device can be opened successfully but a control message is 
failing with a permissions error then it possibly suggests that you are 
sending a control message with a recipient interface which you have not 
claimed, or something like that.

Daniel


                 reply	other threads:[~2009-01-03 21:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=495FDB74.60703@reactivated.net \
    --to=dan@reactivated.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.