Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomly lost connection with BMS #41

Open
mvincm opened this issue Sep 2, 2024 · 0 comments
Open

Randomly lost connection with BMS #41

mvincm opened this issue Sep 2, 2024 · 0 comments

Comments

@mvincm
Copy link

mvincm commented Sep 2, 2024

Hello,

Some basic info:

  • RPi 3B
  • VenusOS 3.41
  • Can adapter via Canable USB-C do CAN (isolated)

root@raspberrypi2:~# lsusb
Bus 001 Device 009: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 007: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 005: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 010: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 008: ID 0c72:000c PEAK System PCAN-USB
Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I have notice some random drops of connection with BMS via can board. VenusOS will stack after that and start to work very very slowly. I can find in logs two suspicies parts. Any idea? Any help please. Thnaks in adavanced.

boot time:

[ 4.844786] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 4.976254] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.64
[ 4.984648] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4.992166] usb 1-1.2: Product: USB2.0 Hub
[ 4.997331] hub 1-1.2:1.0: USB hub found
[ 5.001590] hub 1-1.2:1.0: 4 ports detected
[ 5.012396] udevd[167]: starting version 3.2.9
[ 5.035194] random: udevd: uninitialized urandom read (16 bytes read)
[ 5.042819] random: udevd: uninitialized urandom read (16 bytes read)
[ 5.049574] random: udevd: uninitialized urandom read (16 bytes read)
[ 5.101838] udevd[167]: invalid key/value pair in file /etc/udev/rules.d/VeCanSetup.rules on line 14, starting at character 32 (',')
[ 5.124871] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[ 5.128596] udevd[168]: starting eudev-3.2.9

and when starting to hang up:

[ 184.155590] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.
[ 1068.892039] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.897830] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.903566] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.909215] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.914941] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.920720] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.926423] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.932106] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.937846] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1068.943663] peak_usb 1-1.2.2:1.0 can0: Rx urb aborted (-71)
[ 1069.844463] usb 1-1.2: USB disconnect, device number 4
[ 1069.849723] usb 1-1.2.1: USB disconnect, device number 6
[ 1069.855120] pl2303 ttyUSB4: pl2303_read_int_callback - usb_submit_urb failed with result -19
[ 1069.864313] pl2303 ttyUSB4: error sending break = -19
[ 1069.875575] pl2303 ttyUSB4: pl2303 converter now disconnected from ttyUSB4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant