Skip to content

Instantly share code, notes, and snippets.

@yosemitebandit
Last active August 27, 2018 21:36
Show Gist options
  • Save yosemitebandit/1391e188d07fc3f058ab8e5aa264a804 to your computer and use it in GitHub Desktop.
Save yosemitebandit/1391e188d07fc3f058ab8e5aa264a804 to your computer and use it in GitHub Desktop.
helpful udev / USB debugging commands
watch -n 1 "ls /dev"
watch -n 1 "ls /dev | grep unitek"
udevadm monitor
sudo service udev restart
udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM0)
udevadm info --name=/dev/ttyACM0 --attribute-walk
udevadm info --name=/dev/ttyACM0 --attribute-walk | grep KERNELS
sudo service udev restart
sudo udevadm trigger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment