I met adb and fastboot permission deny by user priority when changing usb driver VID/PID.
I don't know the root cause, But you add one rule file to your udev/rules.d, it will ok.
reference:
http://www.reactivated.net/writing_udev_rules.Html
e.g:
chechunli@chechunli-PC:rules.d $ cat 60-cell.rules
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="cell_rules_end"
# New Phone
SYSFS{idVendor}=="5678", SYSFS{idProduct}=="1234", OWNER="chechunli", MODE="0660"
LABEL="cell_rules_end"
the idVendor and idProduct is get by using lsusb command.
阅读(676) | 评论(0) | 转发(0) |