From: Greg KH <gregkh@linuxfoundation.org>
To: Anil Nair <anilcoll90@gmail.com>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
"Steven J. Magnani" <steve@digidescorp.com>
Subject: Re: usbview 2.0 release
Date: Mon, 22 Oct 2012 11:50:04 -0700 [thread overview]
Message-ID: <20121022185004.GA19645@kroah.com> (raw)
In-Reply-To: <CAHkwNTniuL-G11c25FV5k5F_yyhOR-++OBhOahBugjeFqWzFng@mail.gmail.com>
On Tue, Oct 23, 2012 at 12:09:00AM +0530, Anil Nair wrote:
> Hello Greg,
>
> I had only one doubt though the tool seems to work for rooted users only?
> when i try to launch it as a normal user it gives me error saying,
>
> "
> Can not open the file /sys/kernel/debug/usb/devices
>
> Verify that you have USB compiled into your kernel,
> have the USB core modules loaded, and have the
> usbdevfs filesystem mounted
>
> "
Ugh, that old usbdevfs name should go away, it's debugfs that is being
used now, thanks for pointing it out.
> That problem gets solved when using root user, is it because of the
> reason that i have to mount usbdevfs for my current user?
> The earlier usbview v1.1 tool required that that is why i am asking you.
No, debugfs needs to be mounted at /sys/kernel/debug/ Is it not mounted
that way for you? Perhaps it is mounted with root-only access (default
for 3.7-rc1 and newer kernels)?
I should just port the thing to use libusb instead of debugfs, but
that's a larger job for such a low-priority tool.
thanks,
greg k-h
next prev parent reply other threads:[~2012-10-22 18:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-22 16:21 Greg KH
2012-10-22 17:19 ` Anil Nair
2012-10-22 17:37 ` Steven J. Magnani
2012-10-22 17:59 ` Greg KH
2012-10-22 18:31 ` Anil Nair
2012-10-22 18:39 ` Anil Nair
2012-10-22 18:50 ` Greg KH [this message]
2012-10-23 4:47 ` Anil Nair
2012-10-24 3:00 ` Greg KH
2012-10-24 16:35 ` Anil Nair
2012-10-24 16:41 ` Greg KH
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=20121022185004.GA19645@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=anilcoll90@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=steve@digidescorp.com \
/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
Powered by JetHome