Linux-USB Archive on lore.kernel.org
 help / color / Atom feed
* USB disconnect due to error from flowcontrol urb
@ 2019-08-15  8:41 Bjoern
  2019-08-15  9:12 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Bjoern @ 2019-08-15  8:41 UTC (permalink / raw)
  To: linux-usb

Hi,


I'm running on Ubuntu Bionic 4.14.94-155 on an odroid-x4 (armhf).


I have a FT230X Basic UART (0403:6015) plugged into the exynos-ohci USB. 
The device is linked via a udev rule to a "symbolic/virtual" device so 
that the software FHEM can address it independent of the real ttyUSB* name.


I constantly see disconnects for the device in the kernel log, see log 
excerpts below. I've found similar issues online going back till 2012 
but there seems to be no solution so far. I'd like to help find the 
cause if possible.

Regards,
Bjoern


Aug  4 11:25:11 fhem2 kernel: [2476586.963898] usb 2-1: USB disconnect, 
device number 66
Aug  4 11:25:11 fhem2 kernel: [2476586.965833] ftdi_sio ttyUSB0: error 
from flowcontrol urb
Aug  4 11:25:11 fhem2 kernel: [2476586.976811] ftdi_sio ttyUSB0: FTDI 
USB Serial Device converter now disconnected from ttyUSB0
Aug  4 11:25:11 fhem2 kernel: [2476586.977232] ftdi_sio 2-1:1.0: device 
disconnected
Aug  4 11:25:12 fhem2 kernel: [2476587.453089] usb 2-1: new full-speed 
USB device number 67 using exynos-ohci
Aug  4 11:25:12 fhem2 kernel: [2476587.690677] usb 2-1: New USB device 
found, idVendor=0403, idProduct=6015
Aug  4 11:25:12 fhem2 kernel: [2476587.690701] usb 2-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Aug  4 11:25:12 fhem2 kernel: [2476587.690718] usb 2-1: Product: FT230X 
Basic UART
Aug  4 11:25:12 fhem2 kernel: [2476587.690733] usb 2-1: Manufacturer: FTDI
Aug  4 11:25:12 fhem2 kernel: [2476587.690748] usb 2-1: SerialNumber: 
DN03L5HK
Aug  4 11:25:12 fhem2 kernel: [2476587.697068] ftdi_sio 2-1:1.0: FTDI 
USB Serial Device converter detected
Aug  4 11:25:12 fhem2 kernel: [2476587.697388] usb 2-1: Detected FT-X
Aug  4 11:25:12 fhem2 kernel: [2476587.701288] usb 2-1: FTDI USB Serial 
Device converter now attached to ttyUSB0

Aug  4 19:43:11 fhem2 kernel: [2506466.787738] usb usb2-port1: disabled 
by hub (EMI?), re-enabling...
Aug  4 19:43:11 fhem2 kernel: [2506466.792968] usb 2-1: USB disconnect, 
device number 67
Aug  4 19:43:11 fhem2 kernel: [2506466.794825] ftdi_sio ttyUSB0: error 
from flowcontrol urb
Aug  4 19:43:11 fhem2 kernel: [2506466.803026] ftdi_sio ttyUSB0: FTDI 
USB Serial Device converter now disconnected from ttyUSB0
Aug  4 19:43:11 fhem2 kernel: [2506466.803630] ftdi_sio 2-1:1.0: device 
disconnected
Aug  4 19:43:11 fhem2 kernel: [2506467.139384] usb 2-1: new full-speed 
USB device number 68 using exynos-ohci
Aug  4 19:43:12 fhem2 kernel: [2506467.377550] usb 2-1: New USB device 
found, idVendor=0403, idProduct=6015
Aug  4 19:43:12 fhem2 kernel: [2506467.377574] usb 2-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Aug  4 19:43:12 fhem2 kernel: [2506467.377590] usb 2-1: Product: FT230X 
Basic UART
Aug  4 19:43:12 fhem2 kernel: [2506467.377606] usb 2-1: Manufacturer: FTDI
Aug  4 19:43:12 fhem2 kernel: [2506467.377620] usb 2-1: SerialNumber: 
DN03L5HK
Aug  4 19:43:12 fhem2 kernel: [2506467.383884] ftdi_sio 2-1:1.0: FTDI 
USB Serial Device converter detected
Aug  4 19:43:12 fhem2 kernel: [2506467.384291] usb 2-1: Detected FT-X
Aug  4 19:43:12 fhem2 kernel: [2506467.388093] usb 2-1: FTDI USB Serial 
Device converter now attached to ttyUSB0

Aug  6 07:46:23 fhem2 kernel: [2636259.004563] usb 2-1: USB disconnect, 
device number 68
Aug  6 07:46:23 fhem2 kernel: [2636259.005393] ftdi_sio ttyUSB0: error 
from flowcontrol urb
Aug  6 07:46:23 fhem2 kernel: [2636259.011179] ftdi_sio ttyUSB0: FTDI 
USB Serial Device converter now disconnected from ttyUSB0
Aug  6 07:46:23 fhem2 kernel: [2636259.011347] ftdi_sio 2-1:1.0: device 
disconnected
Aug  6 07:46:24 fhem2 kernel: [2636259.491782] usb 2-1: new full-speed 
USB device number 69 using exynos-ohci
Aug  6 07:46:24 fhem2 kernel: [2636259.730054] usb 2-1: New USB device 
found, idVendor=0403, idProduct=6015
Aug  6 07:46:24 fhem2 kernel: [2636259.730079] usb 2-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Aug  6 07:46:24 fhem2 kernel: [2636259.730095] usb 2-1: Product: FT230X 
Basic UART
Aug  6 07:46:24 fhem2 kernel: [2636259.730110] usb 2-1: Manufacturer: FTDI
Aug  6 07:46:24 fhem2 kernel: [2636259.730125] usb 2-1: SerialNumber: 
DN03L5HK
Aug  6 07:46:24 fhem2 kernel: [2636259.736360] ftdi_sio 2-1:1.0: FTDI 
USB Serial Device converter detected
Aug  6 07:46:24 fhem2 kernel: [2636259.736715] usb 2-1: Detected FT-X
Aug  6 07:46:24 fhem2 kernel: [2636259.740832] usb 2-1: FTDI USB Serial 
Device converter now attached to ttyUSB2

Aug  6 12:08:56 fhem2 kernel: [2652012.201328] usb 2-1: USB disconnect, 
device number 69
Aug  6 12:08:56 fhem2 kernel: [2652012.202561] ftdi_sio ttyUSB2: error 
from flowcontrol urb
Aug  6 12:08:56 fhem2 kernel: [2652012.209322] ftdi_sio ttyUSB2: FTDI 
USB Serial Device converter now disconnected from ttyUSB2
Aug  6 12:08:56 fhem2 kernel: [2652012.209579] ftdi_sio 2-1:1.0: device 
disconnected
Aug  6 12:08:57 fhem2 kernel: [2652012.684908] usb 2-1: new full-speed 
USB device number 70 using exynos-ohci
Aug  6 12:08:57 fhem2 kernel: [2652012.922996] usb 2-1: New USB device 
found, idVendor=0403, idProduct=6015
Aug  6 12:08:57 fhem2 kernel: [2652012.923021] usb 2-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Aug  6 12:08:57 fhem2 kernel: [2652012.923037] usb 2-1: Product: FT230X 
Basic UART
Aug  6 12:08:57 fhem2 kernel: [2652012.923053] usb 2-1: Manufacturer: FTDI
Aug  6 12:08:57 fhem2 kernel: [2652012.923067] usb 2-1: SerialNumber: 
DN03L5HK
Aug  6 12:08:57 fhem2 kernel: [2652012.929686] ftdi_sio 2-1:1.0: FTDI 
USB Serial Device converter detected
Aug  6 12:08:57 fhem2 kernel: [2652012.930094] usb 2-1: Detected FT-X
Aug  6 12:08:57 fhem2 kernel: [2652012.933614] usb 2-1: FTDI USB Serial 
Device converter now attached to ttyUSB0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: USB disconnect due to error from flowcontrol urb
  2019-08-15  8:41 USB disconnect due to error from flowcontrol urb Bjoern
@ 2019-08-15  9:12 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-08-15  9:12 UTC (permalink / raw)
  To: Bjoern; +Cc: linux-usb

On Thu, Aug 15, 2019 at 10:41:05AM +0200, Bjoern wrote:
> Hi,
> 
> 
> I'm running on Ubuntu Bionic 4.14.94-155 on an odroid-x4 (armhf).
> 
> 
> I have a FT230X Basic UART (0403:6015) plugged into the exynos-ohci USB. The
> device is linked via a udev rule to a "symbolic/virtual" device so that the
> software FHEM can address it independent of the real ttyUSB* name.
> 
> 
> I constantly see disconnects for the device in the kernel log, see log
> excerpts below. I've found similar issues online going back till 2012 but
> there seems to be no solution so far. I'd like to help find the cause if
> possible.
> 
> Regards,
> Bjoern
> 
> 
> Aug  4 11:25:11 fhem2 kernel: [2476586.963898] usb 2-1: USB disconnect,
> device number 66

Your device removed itself from the system electronically, the other
errors you report here are the kernel trying to clean up after itself.

Try fixing the cable for the device, or the power provided to it, this
is a physical issue, not a logical one that the kernel can help with,
sorry.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15  8:41 USB disconnect due to error from flowcontrol urb Bjoern
2019-08-15  9:12 ` Greg KH

Linux-USB Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-usb/0 linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ https://lore.kernel.org/linux-usb \
		linux-usb@vger.kernel.org linux-usb@archiver.kernel.org
	public-inbox-index linux-usb


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-usb


AGPL code for this site: git clone https://public-inbox.org/ public-inbox