From 486f1be9867fcb3220a2918ddd5b0371ece17d5d Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 10 Apr 2022 06:00:10 +0300 Subject: get rid of the otg-unlock helper --- testenv/fakes/cpu_temp | 1 - testenv/fakes/dt_model | 1 - testenv/fakes/msd/cdrom | 1 - testenv/fakes/msd/file | 0 testenv/fakes/msd/ro | 1 - testenv/fakes/proc/device-tree/model | 1 + testenv/fakes/sys/class/thermal/thermal_zone0/temp | 1 + testenv/fakes/sys/class/udc/fe980000.usb/device/driver | 1 + testenv/fakes/sys/class/udc/fe980000.usb/state | 1 + .../sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0 | 1 + .../config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom | 1 + .../kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/file | 0 .../usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject | 1 + .../kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro | 1 + 14 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 testenv/fakes/cpu_temp delete mode 100644 testenv/fakes/dt_model delete mode 100644 testenv/fakes/msd/cdrom delete mode 100644 testenv/fakes/msd/file delete mode 100644 testenv/fakes/msd/ro create mode 100644 testenv/fakes/proc/device-tree/model create mode 100644 testenv/fakes/sys/class/thermal/thermal_zone0/temp create mode 120000 testenv/fakes/sys/class/udc/fe980000.usb/device/driver create mode 100644 testenv/fakes/sys/class/udc/fe980000.usb/state create mode 120000 testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0 create mode 100644 testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom create mode 100644 testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/file create mode 120000 testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject create mode 100644 testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro (limited to 'testenv/fakes') diff --git a/testenv/fakes/cpu_temp b/testenv/fakes/cpu_temp deleted file mode 100644 index 9db0c8a7..00000000 --- a/testenv/fakes/cpu_temp +++ /dev/null @@ -1 +0,0 @@ -36511 diff --git a/testenv/fakes/dt_model b/testenv/fakes/dt_model deleted file mode 100644 index 3afd3566..00000000 --- a/testenv/fakes/dt_model +++ /dev/null @@ -1 +0,0 @@ -Virtual Raspberry Pi diff --git a/testenv/fakes/msd/cdrom b/testenv/fakes/msd/cdrom deleted file mode 100644 index d00491fd..00000000 --- a/testenv/fakes/msd/cdrom +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/testenv/fakes/msd/file b/testenv/fakes/msd/file deleted file mode 100644 index e69de29b..00000000 diff --git a/testenv/fakes/msd/ro b/testenv/fakes/msd/ro deleted file mode 100644 index d00491fd..00000000 --- a/testenv/fakes/msd/ro +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/testenv/fakes/proc/device-tree/model b/testenv/fakes/proc/device-tree/model new file mode 100644 index 00000000..3afd3566 --- /dev/null +++ b/testenv/fakes/proc/device-tree/model @@ -0,0 +1 @@ +Virtual Raspberry Pi diff --git a/testenv/fakes/sys/class/thermal/thermal_zone0/temp b/testenv/fakes/sys/class/thermal/thermal_zone0/temp new file mode 100644 index 00000000..9db0c8a7 --- /dev/null +++ b/testenv/fakes/sys/class/thermal/thermal_zone0/temp @@ -0,0 +1 @@ +36511 diff --git a/testenv/fakes/sys/class/udc/fe980000.usb/device/driver b/testenv/fakes/sys/class/udc/fe980000.usb/device/driver new file mode 120000 index 00000000..cd14daa3 --- /dev/null +++ b/testenv/fakes/sys/class/udc/fe980000.usb/device/driver @@ -0,0 +1 @@ +../../../../bus/platform/drivers/dwc2 \ No newline at end of file diff --git a/testenv/fakes/sys/class/udc/fe980000.usb/state b/testenv/fakes/sys/class/udc/fe980000.usb/state new file mode 100644 index 00000000..6ad6460c --- /dev/null +++ b/testenv/fakes/sys/class/udc/fe980000.usb/state @@ -0,0 +1 @@ +configured diff --git a/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0 b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0 new file mode 120000 index 00000000..b7637404 --- /dev/null +++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0 @@ -0,0 +1 @@ +../../functions/mass_storage.usb0 \ No newline at end of file diff --git a/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom @@ -0,0 +1 @@ +1 diff --git a/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/file b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/file new file mode 100644 index 00000000..e69de29b diff --git a/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject new file mode 120000 index 00000000..1a010b1c --- /dev/null +++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject @@ -0,0 +1 @@ +file \ No newline at end of file diff --git a/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro @@ -0,0 +1 @@ +1 -- cgit v1.2.3