Skip to content

Instantly share code, notes, and snippets.

@huzhifeng
Created August 22, 2016 03:40
Show Gist options
  • Save huzhifeng/48b2b5ab60d9fe99ed25dab7350aa18b to your computer and use it in GitHub Desktop.
Save huzhifeng/48b2b5ab60d9fe99ed25dab7350aa18b to your computer and use it in GitHub Desktop.
/etc/udev/rules.d/51-android.rules
# fastboot protocol on HiKey
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", MODE="0660", GROUP="dialout"
# adb protocol on HiKey
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", ATTR{idProduct}=="1057", MODE="0660", GROUP="dialout"
# rndis for HiKey
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", ATTR{idProduct}=="1050", MODE="0660", GROUP="dialout"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment