From: Prabhu Chawandi <prabhu.chavandi@gmail.com>
To: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Not able to read USB speed and descriptor
Date: Wed, 24 Jun 2009 12:51:48 +0530 [thread overview]
Message-ID: <241b8f7b0906240021p55d1721bt3fc74f2af7734e66@mail.gmail.com> (raw)
In-Reply-To: <241b8f7b0906230627v12f8a48ft46fcbb98986e80c7@mail.gmail.com>
In the devio.c,
I have added a case to return the speed and other descriptors,
call :
ret = usb_control_msg(pRootHub, usb_sndctrlpipe(pRootHub, 0),
USB_REQ_CLEAR_FEATURE, USB_RT_PORT, USB_PORT_FEAT_POWER,
port_num + 1, NULL, 0, HZ);
The above call is returning err : -32 EPIPE.
The above call is working file for the rear port while the same is not
working for the fromt port.
Anythig am I missing ? I am testing it for mass stoage device...
Any inputs ? ,,,,,
On Tue, Jun 23, 2009 at 6:57 PM, Prabhu
Chawandi<prabhu.chavandi@gmail.com> wrote:
> Hi all,
>
> I ma not able to read the USB descriptor and speeed, while I can
> read and write into the storage device..
>
> What might be the reason for that ?
>
> regards,
> Prabhu
>
next prev parent reply other threads:[~2009-06-24 7:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 13:27 Prabhu Chawandi
2009-06-23 14:14 ` Rajaram R
2009-06-24 7:21 ` Prabhu Chawandi [this message]
2009-06-24 15:01 ` Alan Stern
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=241b8f7b0906240021p55d1721bt3fc74f2af7734e66@mail.gmail.com \
--to=prabhu.chavandi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@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
all inboxes | Powered by JetHome®