From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47B05C4346E for ; Sun, 27 Sep 2020 17:51:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0935D23976 for ; Sun, 27 Sep 2020 17:51:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726280AbgI0RvV convert rfc822-to-8bit (ORCPT ); Sun, 27 Sep 2020 13:51:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:54826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbgI0RvV (ORCPT ); Sun, 27 Sep 2020 13:51:21 -0400 From: bugzilla-daemon@bugzilla.kernel.org To: linux-usb@vger.kernel.org Subject: [Bug 209411] New: When retrieving string descriptor from mobile device returns eproto error Date: Sun, 27 Sep 2020 17:51:20 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: AssignedTo drivers_usb@kernel-bugs.kernel.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: USB X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rachithas104@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_usb@kernel-bugs.kernel.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version cf_kernel_version rep_platform op_sys cf_tree bug_status bug_severity priority component assigned_to reporter cf_regression Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=209411 Bug ID: 209411 Summary: When retrieving string descriptor from mobile device returns eproto error Product: Drivers Version: 2.5 Kernel Version: 4.19 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: USB Assignee: drivers_usb@kernel-bugs.kernel.org Reporter: rachithas104@gmail.com Regression: No I am trying to get get string descriptor from mobile phone,however when trying to retrieve one particular index it returns EPROTO, dev->fd, USB_DIR_IN,USB_REQ_GET_DESCRIPTOR,DESCRIPT_STRING * 256 + index, languageid, sizeof buf, buf); Return value is -1 for ioctl(fd, USBDEVFS_CONTROL, &ioctl_ctrl); kernel: [ 7084.327097] usb 1-1.2: reset high-speed USB device number 12 using ehci-pci kernel: [ 7084.831056] usb 1-1.2: device not accepting address 12, error -71 kernel: [ 7085.119075] usb 1-1.2: reset high-speed USB device number 12 using ehci-pci kernel: [ 7085.431054] usb 1-1.2: reset high-speed USB device number 12 using ehci-pci [ 7085.935069] usb 1-1.2: device not accepting address 12, error -71 [ 7086.227132] usb 1-1.2: reset high-speed USB device number 12 using ehci-pci S[ 7087.321929] usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd ctxusb rqt 128 rq 6 len 255 ret -71 kernel: [ 7087.607093] usb 1-1.2: reset high-speed USB device number 12 using ehci-pci My URB request and without my program in picture request is same -- You are receiving this mail because: You are watching the assignee of the bug.