pepelkod / AntBridge

Read and control Tacx Fortius trainer through an ANT+ sick
9 stars 1 forks source link

Fortius::run: usb read error -110 #4

Open ssj2son-gohan-ne opened 4 years ago

ssj2son-gohan-ne commented 4 years ago

after starting AntBridge "sudo /usr/local/bin/fortius_ant_bridge"

i get the following error message "Fortius::run: usb read error -110".

Initial settings

User weight : 77 [kg] Bike weight : 8.6 [kg] Wheel circumference : 2105 [mm]

Fortius initialized ANT+ dongle initialized Fortius::run: usb read error -110Speed: 0 [kmh], Cadence: 0 [rpm], Power: 0 [W]

Speed: 0 [kmh], Cadence: 0 [rpm], Power: 0 [W] Speed: 0 [kmh], Cadence: 0 [rpm], Power: 0 [W] Fortius::run: usb read error -110Speed: 0 [kmh], Cadence: 0 [rpm], Power: 0 [W]

lsusb

Bus 001 Device 005: ID 3561:1932
Bus 001 Device 004: ID 0fcf:1009 Dynastream Innovations, Inc. ANTUSB-m Stick 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

pepelkod commented 4 years ago

Make sure you select the usb device to be connected to the VM.

Also, uninstall simple_serial.ko (rmmod )

I can't recall the name of the kernel module...it may not be simple_serial.ko...

Do an lsmod | grep simple and remove the usb based one.

Also, I am getting rid of my Fortius (today as a matter of fact) so I am no longer supporting this project. Anyone who wishes, make take ownership.

pepelkod commented 4 years ago

Also, you should have TWO ANT+ dongles. One will be connected to the VM and one to the main PC. That is, if you are using a VM. If you are using a Raspberry PI, one should be plugged to the PI, and one to the PC.

ssj2son-gohan-ne commented 4 years ago

Thanks for your fast reaction.

It is connected to a raspberrypi 3b with Buster as OS.

lsmod | grep usb && lsmod | grep simple
usbserial              40960  0

sudo rmmod usbserial

Error is still the same.

Maybe it is best to change to a newer roll trainer.

mtbiker22 commented 4 years ago

I am experiencing a similar error, any point of advice? I am running Linux mint... I have removed the usbserial stuff:

Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader Bus 001 Device 006: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard Bus 001 Device 004: ID 045e:077d Microsoft Corp. Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID 3561:1932
Bus 004 Device 002: ID 0fcf:1008 Dynastream Innovations, Inc. ANTUSB2 Stick Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I can try on a raspberry, to see if that works....

mtbiker22 commented 4 years ago

Same problem on a pi2