Re: Why do USB timeouts happen: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT ?

2019-11-19 Thread Hans Petter Selasky

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:  at usbus8
ugen8.5:  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:  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

___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Why do USB timeouts happen: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT ?

2019-11-19 Thread Yuri

I have a USB Hantek PC-oscilloscope.

Several seconds after the PulseView program begins to upload firmware 
into it, the device disconnects:


ugen8.5:  at usbus8
ugen8.5:  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:  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?



Yuri


___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"