• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

修訂e2a04f5e8dd953d2b6a929d3f05b91ab4614e803 (tree)
時間2016-11-02 16:18:31
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init.sh: use lsusb from our busybox

We've implemented -v option in busybox lsusb to list usb classes.
Avoid using lsusb of toybox which doesn't have the function.

Change Summary

差異

--- a/init.sh
+++ b/init.sh
@@ -66,7 +66,7 @@ function init_hal_bluetooth()
6666 modprobe btusb
6767 ;;
6868 *)
69- for bt in $(lsusb -v | awk ' /Class:.E0/ { print $9 } '); do
69+ for bt in $(busybox lsusb -v | awk ' /Class:.E0/ { print $9 } '); do
7070 chown 1002.1002 $bt && chmod 660 $bt
7171 done
7272 ;;