{ "jobs" : [{ "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", "setparam sys.usb.ffs.ready 0", "write /config/usb_gadget/g1/bDeviceClass 0", "write /config/usb_gadget/g1/bDeviceSubClass 0", "write /config/usb_gadget/g1/bDeviceProtocol 0", "rm /config/usb_gadget/g1/configs/b.1/f1", "setparam sys.usb.state ${sys.usb.config}" ] }, { "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", "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}" ] } ] }