View previous topic :: View next topic |
Author |
Message |
lekto Apprentice
Joined: 20 Sep 2014 Posts: 216 Location: Ancient Rome
|
Posted: Wed Nov 29, 2023 6:54 pm Post subject: What is killing my CH341s? |
|
|
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: | [ 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. |
|
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1479 Location: Richmond Hill, Canada
|
Posted: Wed Nov 29, 2023 10:56 pm Post subject: |
|
|
lekto,
Have you try switch TX and RX? |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 216 Location: Ancient Rome
|
Posted: Thu Nov 30, 2023 2:34 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|