Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2019 08:32:02 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Yuri <yuri@rawbw.com>, freebsd-usb@FreeBSD.org
Subject:   Re: Why do USB timeouts happen: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT ?
Message-ID:  <de8a3469-4d48-8391-71cf-8ea082eab66f@selasky.org>
In-Reply-To: <517c2cf9-c695-5641-f908-b04bd02fbcf0@rawbw.com>
References:  <517c2cf9-c695-5641-f908-b04bd02fbcf0@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-11-20 05:23, Yuri wrote:
> I have a USB Hantek PC-oscilloscope.
> 
> Several seconds after the PulseView program begins to upload firmware 
> into it, the device disconnects:
> 
> ugen8.5: <vendor 0x04b4 product 0x6022> at usbus8
> ugen8.5: <vendor 0x04b4 product 0x6022> at usbus8 (disconnected)
> usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
> USB_ERR_TIMEOUT
> usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
> USB_ERR_TIMEOUT
> usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
> USB_ERR_TIMEOUT
> usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
> USB_ERR_TIMEOUT
> usbd_setup_device_desc: getting device descriptor at addr 5 failed, 
> USB_ERR_TIMEOUT
> ugen8.5: <Unknown > at usbus8 (disconnected)
> 
> 
> I don't believe that the device is broken, it is brand new.
> 
> Why would the device access, no mater what it is, cause the timeout and 
> disconnect?
> 

Hi,

Some devices need to re-enumerate themself after the firmware is 
uploaded. Maybe that process fails.

What is your USB host controller?

Did you try connecting through an external USB HUB.

Does the firmware uploader try to reset the USB device?

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de8a3469-4d48-8391-71cf-8ea082eab66f>