USB issues resolved.. .but not really since I still see errors in dmesg #143
Unanswered
nicobresseleers
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good and bad news:
I struggled with 2 usb hubs to connect my RS485 to RP3, luckily I found ( very far away) an old USB hub that did the trick: the 2 others where not detected by Venus and could not find immediately a solution.) (
lsusb -t -v
,dmesg
andls -l /dev/ttyUSB*
is your friend here)root@raspberrypi2:/# lsusb -t -v
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
|__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
|__ Port 3: Dev 5, If 0, Class=Vendor Specific Class, Driver=ch341, 12M
ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
|_ Port 5: Dev 11, If 0, Class=Hub, Driver=hub/4p, 12M
ID 0a05:7211 Unknown Manufacturer hub
|__ Port 2: Dev 12, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M
ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
|__ Port 3: Dev 21, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M
ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
|__ Port 4: Dev 19, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M
ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port_
And it works.. I see the data from the bms:
Jowever: I also still these messages appearing in dmesg: (also without usb hub, we can exclude that)
[ 3647.392196] pl2303 ttyUSB3: pl2303_get_line_request - failed: -32
[ 3647.622475] pl2303 ttyUSB3: error sending break = -32
[ 3647.679300] pl2303 ttyUSB4: pl2303_get_line_request - failed: -32
[ 3647.912448] pl2303 ttyUSB4: error sending break = -32
[ 3648.017061] pl2303 ttyUSB2: pl2303_get_line_request - failed: -32
Background:
3x JK-BD4A24S-4P ( monitoring each 22 x Yinlong 40ah 2.3V nominal), via normal 3x JK BMS RS485 to cheap convertor from Ali:
https://nl.aliexpress.com/item/1005008164607811.html
Cable is only 1 meter in total from battery to RP3 and get the error(s) on all 3 the devices/ports .. Copilot is not really helpful, and not sure where to find the fix the problem.
I get data in the Console and all looks ok .. but some help is appreciated to remove the errors anyway.
Next step is adding aggregation.. would like to have it "clean" before doing the next step.
thanks!
Nico
Beta Was this translation helpful? Give feedback.
All reactions