Skip to content

Instantly share code, notes, and snippets.

Created January 27, 2016 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/529f104b68e025f7563d to your computer and use it in GitHub Desktop.
Save anonymous/529f104b68e025f7563d to your computer and use it in GitHub Desktop.
$ cat /lib/udev/rules.d/69-cc2531.rules
KERNEL=="ttyUSB?", SUBSYSTEMS=="usb", GROUP=="a", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16ae", SYMLINK+="cc2531"
---
$ tail /var/log/syslog
Jan 27 16:29:15 workstation kernel: [ 5696.840158] usb 3-2: new full-speed USB device number 7 using xhci_hcd
Jan 27 16:29:15 workstation kernel: [ 5696.858408] usb 3-2: New USB device found, idVendor=0451, idProduct=16ae
Jan 27 16:29:15 workstation kernel: [ 5696.858417] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 27 16:29:15 workstation kernel: [ 5696.858422] usb 3-2: Product: CC2531 USB Dongle
Jan 27 16:29:15 workstation kernel: [ 5696.858426] usb 3-2: Manufacturer: Texas Instruments
Jan 27 16:29:15 workstation mtp-probe: checking bus 3, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Jan 27 16:29:15 workstation mtp-probe: bus: 3, device: 7 was not an MTP device
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment