User Tools

Site Tools


One command to add all vendor to 51-android.rules

Refer to

 cat vendor.txt |awk -F " " '{print $2}'|sed 's/^/SUBSYSTEM=="usb", ATTR{idVendor}=="/g'|sed 's/$/", MODE="0666", GROUP="plugdev"   /g'>/etc/udev/rules.d/51-android.rules

Acer	0502
ASUS	0b05
Dell	413c
Foxconn	0489
Fujitsu	04c5
FujitsuToshiba	04c5
Garmin-Asus	091e
Google	18d1
Hisense	109b
HTC	0bb4
Huawei	12d1
K-Touch	24e3
KTTech	2116
Kyocera	0482
Lenovo	17ef
LG	1004
Motorola	22b8
NEC	0409
Nook	2080
Nvidia	0955
OTGV	2257
Pantech	10a9
Pegatron	1d4d
Philips	0471
PMC-Sierra	04da
Qualcomm	05c6
SKTelesys	1f53
Samsung	04e8
Sharp	04dd
Sony	054c
SonyEricsson	0fce
Teleepoch	2340
Toshiba	0930
ZTE	19d2

/var/www/dokuwiki/wiki/data/pages/linux/android-udev-rules.txt · Last modified: 2016/05/05 13:07 by