RG Nano
如何透過adb shell連線
步驟如下:
1. 掛載USB DISK
2. 在根目錄下新增一個空白的檔案,檔案名稱必須是adb
3. 重新開機後,就可以透過adb連線
$ sudo dmesg -c [ 3913.287409] usb 2-1: new high-speed USB device number 10 using xhci_hcd [ 3913.436050] usb 2-1: New USB device found, idVendor=8087, idProduct=011e, bcdDevice= 4.14 [ 3913.436054] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3913.436056] usb 2-1: Product: FunKey S [ 3913.436057] usb 2-1: Manufacturer: Intel [ 3913.436059] usb 2-1: SerialNumber: 12c000021509d3f2 [ 3913.482154] cdc_acm 2-1:1.0: ttyACM0: USB ACM device [ 3913.484124] usbcore: registered new interface driver cdc_acm [ 3913.484126] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters $ adb shell * daemon not running; starting now at tcp:5037 * daemon started successfully / # cat /etc/*release* NAME="FunKey-OS" VERSION="2.3.0 (Zen Zebu)" ID=funkey ID_LIKE=buildroot PRETTY_NAME="FunKey-OS 2.3.0" VERSION_ID="2.3.0" HOME_URL="https://www.funkey-project.com/" SUPPORT_URL="https://www.funkey-project.com/" BUG_REPORT_URL="https://www.funkey-project.com/" PRIVACY_POLICY_URL="https://www.funkey-project.com" VERSION_CODENAME=Zen UBUNTU_CODENAME=Zen
P.S. 刪除adb檔案就可以變回原本USB DISK的掛載方式