Closed soldierkam closed 3 weeks ago
Hi I'm using USB to RS485 converter made by Waveshare. The driver is installed with AUR (https://aur.archlinux.org/packages/ch9344ser-dkms-git). The device is disconnected each time I run some bash script (see it below). I also checked stable version (https://aur.archlinux.org/packages/ch9344-dkms) but the problem is the same.
$ for i in {0..7}; do timeout 2s cat /dev/random > "/dev/ttyCH9344USB$i"; done bash: /dev/ttyCH9344USB2: Permission denied bash: /dev/ttyCH9344USB3: Permission denied bash: /dev/ttyCH9344USB4: Permission denied bash: /dev/ttyCH9344USB5: Permission denied bash: /dev/ttyCH9344USB6: Permission denied bash: /dev/ttyCH9344USB7: Permission denied $ sudo dmesg -c [68283.213120] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68283.213198] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68283.213280] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68283.213396] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68284.876083] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68285.209816] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68285.209859] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68285.209894] usb_ch9344 1-5:1.0: Runtime PM usage count underflow! [68285.243905] usb 1-5: USB disconnect, device number 28 [68287.213482] usb_ch9344 1-5:1.0: ch9344_start_wb - usb_submit_urb(write) failed: -19 [68287.213492] usb_ch9344 1-5:1.0: ch9344_start_wb - usb_submit_urb(write) failed: -19 [68287.213654] usb_ch9344 1-5:1.0: usb_bulk_msg(send) failed, err -19 [68287.213665] usb_ch9344 1-5:1.0: usb_bulk_msg(send) failed, err -19 [68287.214995] usb_ch9344 1-5:1.0: ch9344 usb device disconnect. [68287.479424] usb 1-5: new high-speed USB device number 29 using xhci_hcd [68287.703466] usb 1-5: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.37 [68287.703477] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [68287.703482] usb 1-5: Product: USB2.0 To Multi Serial Ports [68287.703487] usb 1-5: Manufacturer: wch.cn [68287.723457] usb_ch9344 1-5:1.0: ttyCH9344USB from 0 - 7: ch9344 device attached.
Hardware: https://www.waveshare.com/wiki/USB_TO_8CH_RS485 Kernel: 6.11.3
How can this problem be solved?
I made mistake. AUR package (https://aur.archlinux.org/packages/ch9344ser-dkms-git) has error so in fact I was testing old version. The problem is not present anymore.
Hi I'm using USB to RS485 converter made by Waveshare. The driver is installed with AUR (https://aur.archlinux.org/packages/ch9344ser-dkms-git). The device is disconnected each time I run some bash script (see it below). I also checked stable version (https://aur.archlinux.org/packages/ch9344-dkms) but the problem is the same.
Hardware: https://www.waveshare.com/wiki/USB_TO_8CH_RS485 Kernel: 6.11.3
How can this problem be solved?