removed obsolete setup.md
This commit is contained in:
parent
85f0925eb5
commit
6bb59b845c
@ -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 {
|
||||
|
||||
33
setup.md
33
setup.md
@ -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
|
||||
|
||||
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user