0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-16 03:19:04 +00:00
GavinDarkglider 800557a248
More Nintendo Switch fixes (#1548)
* Downgrade glibc to 2.27 for L4T Builds.
* Downgrade binutils to 2.32 for L4T Builds.
* Update L4T Project Options
* Refactor tegra-bsp package
* Import/Rebase CTC's ffmpeg patches, and switch decoder to nvv4l2 from nvmpi. Fixes decoder issues
* Enable all disabled cores
* Remove hack in busybox package to dump firmware into L4T Builds, we now handle this in tegra-bsp package.
* More L4T project cleanups
* Bring switch-bootloader package.mk inline with upstream formatting
* Fix reboot_payload
* Add proper tegra-bsp:init support
* Bootloader cleanups, seperate bootloader stuff for libreelec builds
* Update init for supporting all distros on Nintendo Switch
* Add proper splash images for libreelec builds.
* Final bootloader fixes
* switch-bootloader-merge-fixes
* Fix uboot merge issues
* fix bmp
* It all builds
* add Basic USB Gadget(Serial console only)
* Properly fix mtp, and finish gadget stuff
2022-03-03 21:48:22 +01:00

55 lines
1.5 KiB
Diff

diff -Naur umtp-responder-e140e559edc914976e10bcab13d37a56c4c505b2/conf/umtprd.conf umtp-responder-e140e559edc914976e10bcab13d37a56c4c505b2-2/conf/umtprd.conf
--- umtp-responder-e140e559edc914976e10bcab13d37a56c4c505b2/conf/umtprd.conf 2021-11-19 07:59:05.543099366 +0100
+++ umtp-responder-e140e559edc914976e10bcab13d37a56c4c505b2-2/conf/umtprd.conf 2021-11-19 08:02:13.298186811 +0100
@@ -6,14 +6,12 @@
# Loop / daemon mode
# Set to 1 to don't shutdown uMTPrd when the link is disconnected.
-loop_on_disconnect 0
+loop_on_disconnect 1
# storage command : Create add a storage entry point. Up to 16 entry points supported
# Syntax : storage "PATH" "NAME"
-storage "/" "root folder" "rw"
-storage "/home" "home folder" "ro"
-storage "/www" "www folder" "ro,notmounted"
+storage "/flash" "SDCard Root" "rw"
#
# Uncomment the following line if you want to
@@ -25,15 +23,15 @@
# Set the USB manufacturer string
-manufacturer "Viveris Technologies"
+manufacturer "Nintendo"
# Set the USB Product string
-product "Viveris Technologies"
+product "Switch(@DISTRO@)"
# Set the USB Serial number string
-serial "01234567"
+serial "1"
# Set the MTP firmware version
@@ -84,10 +82,10 @@
usb_functionfs_mode 0x1
-usb_dev_path "/dev/ffs-mtp/ep0"
-usb_epin_path "/dev/ffs-mtp/ep1"
-usb_epout_path "/dev/ffs-mtp/ep2"
-usb_epint_path "/dev/ffs-mtp/ep3"
+usb_dev_path "/dev/ffs-umtp/ep0"
+usb_epin_path "/dev/ffs-umtp/ep1"
+usb_epout_path "/dev/ffs-umtp/ep2"
+usb_epint_path "/dev/ffs-umtp/ep3"
usb_max_packet_size 0x200