Merge "init.qcom.usb.rc: Add bcdUSB as 0x0200 and os_desc usage with USB"

This commit is contained in:
Linux Build Service Account 2016-04-26 14:13:19 -07:00 committed by Gerrit - the friendly Code Review server
commit 11ecf19b3c
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ on boot
mount configfs none /config
mkdir /config/usb_gadget/g1 0770 shell shell
mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell
write /config/usb_gadget/g1/bcdUSB 0x0200
write /config/usb_gadget/g1/os_desc/use 1
write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}