Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

What is killing my CH341s?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
lekto
Apprentice
Apprentice
Posts: 231
Joined: Sat Sep 20, 2014 6:48 pm
Location: Ancient Rome

What is killing my CH341s?

  • Quote

Post by lekto » Wed Nov 29, 2023 6:54 pm

I have a “small” issue, I don’t think it is Gentoo related, but maybe someone here saw something like this.
There are two machines: my main PC and my NAS (repurposed older PC). Both are connected to same wall socket, but NAS is through a UPS. Both are connected to same Ethernet switch. Also, both are connected together with USB capture card (USB to PC, HDMI to NAS), and CH341 (USB to UART, CH341 to PC, serial cable to NAS). Everything was working great, until now.
Recently I bought old Dell D630 to play with, I’m powering it from same UPS, it is connected to same Ethernet switch as PC and NAS, and it was connected it to PC via same CH341 and RS232 cable. Everything is working great.
I wanted to login into NAS using serial console, so I unplugged RS232 from Dell and connected to NAS, but only thing I could see in minicom was trash, that looked like baud rate was off. I restarted NAS, but after that I saw nothing, I reconnected CH341 to USB few times and tried different ports, but minicom started to complain about non existent /dev/ttyUSB0 and IO errors. I thought CH341 is dying - I bought it on Aliexpress in 2017 for ~1$, so it worked longer than I expected. I connected PC to Dell, but that time CH341 worked. Now, I started expecting something wrong with NAS, but when I connected directly (without CH341) Dell to NAS it worked, so looks like something is wrong when connecting PC to NAS. I tried to power NAS without UPS, but same result. I run dmesg -w and at the moment when I plug RS232 cable into CH341 I got errors [1]. After some testing CH341 finally died and it isn’t detected by any of my machines. Luckily I had second exactly same, brand new converter. I swap them, exactly same issue, and now both are dead.
I was thinking maybe both cases had chassis at different voltages, but multimeter showed 0V between them, and since they are connected all time with capture card this can’t be issue.
Any one here saw something like that or have any ideas what is going on?

[1]

Code: Select all

[ 5221.363491] usb 1-2: new high-speed USB device number 36 using xhci_hcd
[ 5221.548512] usb 1-2: device descriptor read/64, error -71
[ 5230.698499] usb 1-14: new full-speed USB device number 38 using xhci_hcd
[ 5230.990540] usb 1-14: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[ 5230.990546] usb 1-14: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 5230.990551] usb 1-14: Product: USB2.0-Ser!
[ 5231.002420] ch341 1-14:1.0: ch341-uart converter detected
[ 5231.015280] ch341-uart ttyUSB0: break control not supported, using simulated break
[ 5231.015319] usb 1-14: ch341-uart converter now attached to ttyUSB0
[ 5245.684822] usb 1-14: failed to send control message: -71
[ 5245.685222] usb 1-14: failed to send control message: -71
[ 5245.686258] usb 1-14: failed to receive control message: -71
[ 5245.686263] ch341-uart ttyUSB0: failed to read modem status: -71
[ 5246.412388] usb 1-14: USB disconnect, device number 38
[ 5246.412678] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5246.412719] ch341 1-14:1.0: device disconnected
[ 5250.784525] usb 1-14: new low-speed USB device number 39 using xhci_hcd
[ 5250.988578] usb 1-14: device descriptor read/64, error -71
[ 5251.269570] usb 1-14: device descriptor read/64, error -71
[ 5251.554521] usb 1-14: new low-speed USB device number 40 using xhci_hcd
[ 5251.759544] usb 1-14: device descriptor read/64, error -71
[ 5252.045593] usb 1-14: device descriptor read/64, error -71
[ 5252.155089] usb usb1-port14: attempt power cycle
[ 5252.598527] usb 1-14: new low-speed USB device number 41 using xhci_hcd
[ 5252.625826] usb 1-14: Device not responding to setup address.
[ 5252.862830] usb 1-14: Device not responding to setup address.
[ 5253.066528] usb 1-14: device not accepting address 41, error -71
[ 5253.242508] usb 1-14: new low-speed USB device number 42 using xhci_hcd
[ 5253.269877] usb 1-14: Device not responding to setup address.
[ 5253.501918] usb 1-14: Device not responding to setup address.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2186
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Wed Nov 29, 2023 10:56 pm

lekto,

Have you try switch TX and RX?
Top
lekto
Apprentice
Apprentice
Posts: 231
Joined: Sat Sep 20, 2014 6:48 pm
Location: Ancient Rome

  • Quote

Post by lekto » Thu Nov 30, 2023 2:34 pm

I use same female-female db9 crossed cable since I bought first CH341, I can't swap RX-TX and I don't think this is issue.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic