最終更新:2016-09-27 (火) 19:10:44 (1454d)  

Android/sys/bus/usb/devices
Top / Android / sys / bus / usb / devices

Nexus 5X (Android 7.0)

  • bullhead:/sys/bus/usb/devices # ls -al
    total 0
    drwxr-xr-x 2 root root 0 2016-09-27 05:39 .
    drwxr-xr-x 4 root root 0 2016-09-27 05:39 ..
    lrwxrwxrwx 1 root root 0 2016-09-27 05:43 1-0:1.0 -> ../../../devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb1/1-0:1.0
    lrwxrwxrwx 1 root root 0 2016-09-27 05:43 1-1 -> ../../../devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb1/1-1
    lrwxrwxrwx 1 root root 0 2016-09-27 05:43 1-1:1.0 -> ../../../devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0
    lrwxrwxrwx 1 root root 0 2016-09-27 05:43 2-0:1.0 -> ../../../devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb2/2-0:1.0
    lrwxrwxrwx 1 root root 0 2016-09-27 05:43 usb1 -> ../../../devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb1
    lrwxrwxrwx 1 root root 0 2016-09-27 05:43 usb2 -> ../../../devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb2

メモ

  • adb shellからだと一覧は見れる
  • アプリからだとpermission denied

Nexus 7 (Android 5.1.1)

  • lrwxrwxrwx root root
  • Android/sys/devices/platform/msm_hsusb_host?