All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: USB controller status
Date: Mon, 16 Jan 2012 09:37:26 -0800	[thread overview]
Message-ID: <20120116173726.GA18147@kroah.com> (raw)
In-Reply-To: <CAOzqYK6+6ML=HqYOk_gJaAzB=5v_wDEzMs7C_YDgMHmB2LtWHw@mail.gmail.com>

On Mon, Jan 16, 2012 at 04:15:09PM +0530, Praveen kumar wrote:
> Hi All,
> ??????? As part of diagnostics? I have to make sure the USB controller is
> configured correctly.

How can it not be configured correctly?

> Can I get this information from any entry in /sys or /proc ?? If yes where ??
> If no I plan to add a exclusive entry in the driver to do my diagnostics.

What type of diagnostics are you trying to do?

> Is that feasible by reading some of the registers in
> the controller ??

You have looked at the debugfs files for the usb controllers for this
type of thing already, right?

greg k-h

WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <greg@kroah.com>
To: Praveen kumar <chatpravi@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	kernelnewbies@kernelnewbies.org
Subject: Re: USB controller status
Date: Mon, 16 Jan 2012 09:37:26 -0800	[thread overview]
Message-ID: <20120116173726.GA18147@kroah.com> (raw)
In-Reply-To: <CAOzqYK6+6ML=HqYOk_gJaAzB=5v_wDEzMs7C_YDgMHmB2LtWHw@mail.gmail.com>

On Mon, Jan 16, 2012 at 04:15:09PM +0530, Praveen kumar wrote:
> Hi All,
>         As part of diagnostics  I have to make sure the USB controller is
> configured correctly.

How can it not be configured correctly?

> Can I get this information from any entry in /sys or /proc ?? If yes where ??
> If no I plan to add a exclusive entry in the driver to do my diagnostics.

What type of diagnostics are you trying to do?

> Is that feasible by reading some of the registers in
> the controller ??

You have looked at the debugfs files for the usb controllers for this
type of thing already, right?

greg k-h

  reply	other threads:[~2012-01-16 17:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 10:45 USB controller status Praveen kumar
2012-01-16 17:37 ` Greg KH [this message]
2012-01-16 17:37   ` Greg KH
2012-01-17 13:56   ` Praveen kumar
2012-01-17 15:14     ` Greg KH
2012-01-17 15:14       ` 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=20120116173726.GA18147@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.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.