removed obsolete setup.md

This commit is contained in:
Erik Brakkee 2026-05-27 00:38:24 +02:00
parent 85f0925eb5
commit 6bb59b845c
2 changed files with 2 additions and 35 deletions

View File

@ -11,8 +11,8 @@ import (
)
const (
antDataPageMask = 0x7F // Mask for data page number (7 bits, clears toggle bit)
antDataPageCyclingPower = 0x10 // Data page 16 = Cycling Power Feature page
antDataPageMask = 0x7F // Mask for data page number (7 bits, clears toggle bit)
antDataPageCyclingPower = 0x10 // Data page 16 = Cycling Power Feature page
)
func resetAndWait(drv io.ReadWriter) error {

View File

@ -1,33 +0,0 @@
# dmesg
Make sure usbserial does not handle this device
```
cat > /etc/udev/rules.d/99-ant-usb.rules <<EOF
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fcf", ATTRS{idProduct}=="1008", ENV{MODALIAS}="ignore"
EOF
```
Reload the rules
```
# remove dongle
sudo modprobe -r usb_serial_simple
sudo udevadm control --reload-rules
sudo udevadm trigger
```
Output of dmesg
```
[25649.007539] usb 3-1.2.1: USB disconnect, device number 40
[25651.523030] usb 3-1.2.1: new full-speed USB device number 41 using xhci_hcd
[25651.629681] usb 3-1.2.1: New USB device found, idVendor=0fcf, idProduct=1008, bcdDevice= 1.00
[25651.629693] usb 3-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[25651.629697] usb 3-1.2.1: Product: ANT USBStick2
[25651.629700] usb 3-1.2.1: Manufacturer: Dynastream Innovations
[25651.629703] usb 3-1.2.1: SerialNumber: 123
```