Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758636AbZFXPBe (ORCPT ); Wed, 24 Jun 2009 11:01:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752314AbZFXPBX (ORCPT ); Wed, 24 Jun 2009 11:01:23 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:39994 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751240AbZFXPBX (ORCPT ); Wed, 24 Jun 2009 11:01:23 -0400 Date: Wed, 24 Jun 2009 11:01:22 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Prabhu Chawandi cc: linux-usb@vger.kernel.org, Subject: Re: Not able to read USB speed and descriptor In-Reply-To: <241b8f7b0906240021p55d1721bt3fc74f2af7734e66@mail.gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 30 On Wed, 24 Jun 2009, Prabhu Chawandi wrote: > 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. Is this question related to $SUBJECT? I don't see any connection... > Anythig am I missing ? I am testing it for mass stoage device... In most host controllers for personal computers, the hardware does not support turning off port power. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/