openv / vcontrold

:fire: vcontrold Daemon for control and logging of Viessmann® type heating devices
https://github.com/openv/openv/wiki
GNU General Public License v3.0
100 stars 54 forks source link

vcontrold kernel: cp210x ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32 #137

Open ckoeber83 opened 6 months ago

ckoeber83 commented 6 months ago

Hi,

I have nearly each day an discconnect of my CP2102 USB to UART Bridge Controller

In journalctl appears:

Dez 27 21:38:35 vcontrold kernel: cp210x ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
Dez 27 21:38:35 vcontrold kernel: cp210x ttyUSB1: usb_serial_generic_read_bulk_callback - urb stopped: -32

My CP2102 USB to UART Bridge Controller:

Bus 001 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=10c4 ProdID=ea60 Rev=01.00
S:  Manufacturer=Silicon Labs
S:  Product=CP2102 USB to UART Bridge Controller
S:  SerialNumber=0001
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=cp210x

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=10c4 ProdID=ea60 Rev=01.00
S:  Manufacturer=Silicon Labs
S:  Product=CP2102 USB to UART Bridge Controller
S:  SerialNumber=0001
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=cp210x

A reboot of "vcontrol-vitoconnect-bridge service" or whole RPI4 reboot helps than for 1 or 2 days until next stop.

My RPI4:

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

uname -a
Linux vcontrold 6.1.65-v8+ #1703 SMP PREEMPT Tue Dec  5 16:25:41 GMT 2023 aarch64 GNU/Linux

I already try this WINGONEER USB zu TTL-Konverter-Modul mit eingebautem in CP2102 and this Hailege 2pcs CP2102 USB 2.0 to TTL UART Serial Converter Module 5Pin STC PRGMR with Dupont Wire but with the same issue.

I'll try the hint from issues 2406 Downgrading to usb 1 (with dwc_otg.speed=1 in /boot/cmdline.txt as suggested in https://github.com/raspberrypi/linux/issues/1187) in the Pi 4

Hope that helps... Does anyone had the same issue and knows a permanent solution?

Koomin commented 1 month ago

Hi, have you find an answer?