kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: USB controller status
Date: Tue, 17 Jan 2012 07:14:23 -0800	[thread overview]
Message-ID: <20120117151423.GA11094@kroah.com> (raw)
In-Reply-To: <CAOzqYK5-W8L8oDwY4iF8kpGAxLOiVTu2vA20sEvzBtkrTk79-A@mail.gmail.com>

On Tue, Jan 17, 2012 at 07:26:24PM +0530, Praveen kumar wrote:
> Hi Greg,
> 
> What type of diagnostics are you trying to do?
> ?????????? I am trying to is to make communication to all the chips present on
> board (from kernel) and make sure all the input/output lines are working on
> that chip and the status of the configuration.
> As I am doing with the other chips like video controller ,audio controller etc
> ,I want to make sure the working condition of the USB controller and some tests
> to prove input and output lines are working and if possible loop back data
> test.

Good luck with that, it might be hard to do from within the kernel :)

> How can it not be configured correctly?
> 
> I am not sure in which condition the configuration of controller may fail but
> just I want to make sure the controller is configured properly.
> 
> You have looked at the debugfs files for the usb controllers for this
> type of thing already, right?
> 
> I have seen debugfs where I can dump all the configuration reg values ,but not
> sure to see which reg values to confirm? controller is configured properly.
> 
> Also I was trying to get the linux-usb project (http://sourceforge.net/apps/
> trac/sourceforge/wiki/Git) through git to make use of some code in there for
> some of the tests but I am not able to get it.
> Is there any alternative link from where I can get the code (like lsusb.c etc
> )..

usbutils are on github, look in your distro for the location of the
source.

greg k-h

      reply	other threads:[~2012-01-17 15:14 UTC|newest]

Thread overview: 4+ 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
2012-01-17 13:56   ` Praveen kumar
2012-01-17 15:14     ` Greg KH [this message]

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=20120117151423.GA11094@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 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).