User Tools

Site Tools


linux:android-udev-rules

This is an old revision of the document!


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

Refer to http://developer.android.com/tools/device.html

 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/attic/linux/android-udev-rules.1356876363.txt.gz · Last modified: 2016/05/05 13:06 (external edit)