mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-20 10:14:18 +01:00
Update App version to 0.0.2
This commit is contained in:
@@ -20,6 +20,7 @@ type Devices struct {
|
||||
RelativeMouse bool `json:"relative_mouse"`
|
||||
Keyboard bool `json:"keyboard"`
|
||||
MassStorage bool `json:"mass_storage"`
|
||||
Mtp bool `json:"mtp"`
|
||||
Audio bool `json:"audio"`
|
||||
}
|
||||
|
||||
@@ -88,6 +89,9 @@ type UsbGadget struct {
|
||||
const configFSPath = "/sys/kernel/config"
|
||||
const gadgetPath = "/sys/kernel/config/usb_gadget"
|
||||
|
||||
const functionFSPath = "/dev/ffs-mtp"
|
||||
const umtprdPath = "/usr/sbin/umtprd"
|
||||
|
||||
var defaultLogger = logging.GetSubsystemLogger("usbgadget")
|
||||
|
||||
// NewUsbGadget creates a new UsbGadget.
|
||||
|
||||
Reference in New Issue
Block a user