1 以root用户登录,或执行
sudo -i
2 sudo gedit /etc/udev/rules.d/50-Android.rules 该文件为新建文件
3 SUBSYSTEM=="usb", ATTR{idVendor}=="18D1", MODE="0666"
增加一个USB设备,其中18D1为该设备的vendor ID
4 保存后,执行:
chmod a+r /etc/udev/rules.d/51-android.rules
/etc/init.d/udev restart
5 配置ADB命令
由于adb devices 需要Ubuntu root用户权限,所以我需要在root用户下执行adb相关命令。
配置PATH: 在/etc/profile最后加入如下命令
#AndroidDev PATH
export PATH=$PATH:/media/Data/android-sdk-linux_x86/platform-tools
路径即为android sdk的adb所在目录。
保存后注销,再登录,使用命令:echo $PATH 查看是否成功设置
6 连接手机,在root用户下重启adb server
adb kill-server
adb start-server
7 使用 adb devices查看设备列表。此时不会再出现
List of devices attached
???????????? no permissions
USB Vendor IDs
Company USB Vendor ID
Acer 0502
ASUS 0B05
Dell 413C
Foxconn 0489
Garmin-Asus 091E
Google 18D1
HTC 0BB4
Huawei 12D1
K-Touch 24E3
KT Tech 2116
Kyocera 0482
Lenevo 17EF
LG 1004
Motorola 22B8
NEC 0409
Nook 2080
Nvidia 0955
OTGV 2257
Pantech 10A9
Pegatron 1D4D
Philips 0471
PMC-Sierra 04DA
Qualcomm 05C6
SK Telesys 1F53
Samsung 04E8
Sharp 04DD
Sony Ericsson 0FCE
Toshiba 0930
ZTE 19D2
分享到:
相关推荐
how to enable android usb host api
│ │ [*] Enable Video For Linux API 1 (DEPRECATED) (NEW) 使用方法: 1. 加载uvc驱动: [root@tri-boys /opt]# insmod uvcvideo.ko uvcvideo: Found UVC 1.00 device USB2.0 Camera (1e4e:0102) uvcvideo: ...
There are three classes that make up the definition for communication devices: the Communication Device Class, Communication Interface Class and the Data Interface Class. The Communication Device ...
usb enable.reg
Dragonboard 410 Enable USB Camera
focus is on what you’ll need to know to enable your devices to communicate efficiently and reliably. • How can I decide if my device should use a USB interface? USB isn’t the best choice for every ...
linux_PE_Protected_Enable
Linux enable命令 Linux enable命令用于启动或关闭 shell 内建指令。 若要执行的文件名称与shell内建指令相同,可用enable -n来关闭shell内建指令。若不加-n参数,enable可重新启动关闭的指令。 语法enable [-n][-...
USB4 1.0 ECN - Wake on USB4 Depends on Enable Wake on USB4 Wake.pdf
The Universal Serial Bus (USB) is a ...for developers of USB devices. Its purpose is to introduce you to USB and to help get your project up and running and troublefree as quickly and easily as possible.
3.1 rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz Naming rule: rtlCHIPS_linux_vM.N.P_ssss.yyyymmdd.tar.gz where: CHIPS: supported chips M: Major version N: miNor ...
Chapter 11, “Universal Serial Bus” ,explores USB architecture and explains how you can use the services of the Linux-USB subsystem to write drivers for USB devices. Chapter 12, “Video Drivers” , ...
Given the soaring popularity of Linux in the embedded space, it's likely that you'll use the device driver skills that you acquire from this book, to enable embedded devices. Chapter 18, "User Mode ...
-with-float=soft --with-headers=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux/include --with-local-prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux --disable-nls --enable-...
-with-float=soft --with-headers=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux/include --with-local-prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux --disable-nls --enable-...
Cypress USB Studio is a collection of components that enable rapid and robust development of a USB peripheral and associated host software and device drivers. The following sections describe the ...
Configured with: /scratch/maciej/arm-linux-2014.05-rel/src/gcc-4.8-2014.05/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libm ...
anonymous_enable=yes/no 是否允许匿名用户访问 anon_upload_enable=yes/no 是否允许匿名用户上传文件 anon_mkdir_write_enable=yes/no 是否允许匿名用户创建目录 anon_other_write_enable=yes/no 匿名用户和虚拟...
linux 0.11 源码下载 src/V0.11/ 目录放的是当年Linus写的源码, src/V0.11_gcc4/ 目录放的是可以在gcc4编译通过的内核源码, src/V0.11_rh9/ 目录放的是在RetHat9系统下编译通过的内核源码。 编译 bochs 安装所需...
-with-float=soft --with-headers=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux/include --with-local-prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux --disable-nls --enable-...