usb: create new functions for uwb
uwb needs ACM port, create this function combination. Bug: 209568585 Test: ACM port can be enabled. Change-Id: I06107cc6ee42fc6b622a1aff25cbdd54b479ea0f
This commit is contained in:
parent
d26a7befb8
commit
8792d6d7a2
3 changed files with 14 additions and 0 deletions
|
@ -68,6 +68,9 @@ on early-boot
|
|||
# etr_miu function
|
||||
mkdir /config/usb_gadget/g1/functions/etr_miu.gs11
|
||||
|
||||
# acm function for uwb
|
||||
mkdir /config/usb_gadget/g1/functions/acm.uwb0
|
||||
|
||||
# disable permission change. TODO (b/206902205): add back later
|
||||
# setprop vendor.usb.functions.ready 1
|
||||
|
||||
|
@ -112,3 +115,6 @@ on property:sys.usb.config=charger && property:sys.usb.configfs=1
|
|||
symlink /config/usb_gadget/g1/functions/midi.gs5 /config/usb_gadget/g1/configs/b.1/f1
|
||||
write /config/usb_gadget/g1/UDC ${sys.usb.controller}
|
||||
setprop sys.usb.state ${sys.usb.config}
|
||||
|
||||
on property:ro.bootmode=usbuwb
|
||||
setprop persist.vendor.usb.usbradio.config uwb_acm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue