0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 17:59:45 +00:00
GavinDarkglider c16def7032
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2023-01-21 18:40:08 +01:00

6 lines
293 B
Plaintext

SUBSYSTEM!="extcon", GOTO="gadget_end"
KERNEL!="extcon1", GOTO="gadget_end"
ATTRS{cable.1/state}=="1", TEST=="/usr/bin/usb-gadget.sh", RUN+="/usr/bin/usb-gadget.sh finalize"
ATTRS{cable.1/state}=="0", TEST=="/usr/bin/usb-gadget.sh", RUN+="/usr/bin/usb-gadget.sh disconnect"
LABEL="gadget_end"