How to register this tablet to Ubuntu udev list?

前端 未结 3 2199
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 18:54

I\'ve got a cheap android tablet and I need to use it to test apps on it. I am using Ubuntu so I first have to add the device to udev list.

I connected the

3条回答
  •  忘掉有多难
    2021-02-20 19:30

    I had same problem as you, what i done: Added vendor id to ~/.android/adb_usb.ini

    echo "0x2207" >>~/.android/adb_usb.ini
    

    Added the following lines to /etc/udev/rules.d/51-android.rules:

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
    ENV{PRODUCT}=="207/*", MODE="0666" 
    SUBSYSTEM=="usb", SYSFS{idVendor}=="207", MODE="0666"
    

    After making the above changes, restart the adb server and check the device again.

    adb kill-server  // kill the adb server if it is running
    adb start-server  // Restarts the adb server
    adb devices  // It will list all connected devices
    

    Now my chinese tablet Archos c906 is recognize on ./adb device as:

    List of devices attached 
    0123456789ABCDEF    device    
    

提交回复
热议问题