lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 24 Jun 2009 12:51:48 +0530
From:	Prabhu Chawandi <prabhu.chavandi@...il.com>
To:	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Not able to read USB speed and descriptor

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@...il.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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ