提交 07d7ff94 编写于 作者: B bigA2021

update usb cfg

Signed-off-by: NbigA2021 <yanyin1@huawei.com>
上级 56023471
......@@ -22,7 +22,7 @@
"cmds" : [
"start hdcd"
]
}, {
}
],
"services" : [{
"name" : "hdcd",
......
......@@ -3,7 +3,7 @@
"name" : "param:sys.usb.config=none && param:sys.usb.configfs=1",
"condition" : "sys.usb.config=none && sys.usb.configfs=1",
"cmds" : [
"write /config/usb_gadget/g1/UDC \"none\"",
"write /config/usb_gadget/g1/UDC none",
"stop hdcd",
"setparam sys.usb.ffs.ready 0",
"write /config/usb_gadget/g1/bDeviceClass 0",
......@@ -28,7 +28,7 @@
"name" : "param:sys.usb.ffs.ready=1 && param:sys.usb.config=hdc && param:sys.usb.configfs=1",
"condition" : "sys.usb.ffs.ready=1 && sys.usb.config=hdc && sys.usb.configfs=1",
"cmds" : [
"write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration \"hdc\"",
"write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration hdc",
"symlink /config/usb_gadget/g1/functions/ffs.hdc /config/usb_gadget/g1/configs/b.1/f1",
"write /config/usb_gadget/g1/UDC ${sys.usb.controller}",
"setparam sys.usb.state ${sys.usb.config}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册