32 lines
780 B
Markdown
32 lines
780 B
Markdown
|
|
# 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
|
|
```
|
|
[20167.459968] usb 3-2.2.1: new full-speed USB device number 16 using xhci_hcd
|
|
[20167.550486] usb 3-2.2.1: New USB device found, idVendor=0fcf, idProduct=1008, bcdDevice= 1.00
|
|
[20167.550497] usb 3-2.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
|
|
[20167.550501] usb 3-2.2.1: Product: ANT USBStick2
|
|
[20167.550503] usb 3-2.2.1: Manufacturer: CYCPLUS
|
|
[20167.550506] usb 3-2.2.1: SerialNumber: 123
|
|
|
|
```
|