summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/midisport-firmware/files/midisport-firmware-1.2-rules.patch11
-rw-r--r--sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild (renamed from sys-firmware/midisport-firmware/midisport-firmware-1.2.ebuild)2
2 files changed, 6 insertions, 7 deletions
diff --git a/sys-firmware/midisport-firmware/files/midisport-firmware-1.2-rules.patch b/sys-firmware/midisport-firmware/files/midisport-firmware-1.2-rules.patch
index b0ee858276d1..46d86c8b2917 100644
--- a/sys-firmware/midisport-firmware/files/midisport-firmware-1.2-rules.patch
+++ b/sys-firmware/midisport-firmware/files/midisport-firmware-1.2-rules.patch
@@ -1,8 +1,8 @@
---- midisport-firmware-1.2.orig/42-midisport-firmware.rules.in 2006-03-05 22:01:45.000000000 +0100
-+++ midisport-firmware-1.2/42-midisport-firmware.rules.in 2013-01-06 22:07:03.385941852 +0100
-@@ -1,18 +1,13 @@
+--- midisport-firmware-1.2/42-midisport-firmware.rules.in 2013-01-06 22:07:03.385941852 +0100
++++ midisport-firmware-1.2/42-midisport-firmware.rules.in 2020-07-25 13:47:11.910148029 -0400
+@@ -1,18 +1,12 @@
# midisport-firmware.rules - udev rules for loading firmware into MidiSport devices
-
+
-# DEVPATH=="/*.0" selects interface 0 only
-# (some udev versions don't work with SYSFS{bInterfaceNumber})
-
@@ -23,5 +23,4 @@
-ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/1031/121", RUN+="@fxload@ -s @firmwaredir@/MidiSportLoader.ihx -I @firmwaredir@/MidiSport8x8-2.21.ihx"
-
-# vim: ft=conf
-+#ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/1031/110", RUN+="@fxload@ -s @firmwaredir@/MidiSportLoader.ihx -I @firmwaredir@/MidiSport8x8-2.10.ihx"
-+#ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/1031/121", RUN+="@fxload@ -s @firmwaredir@/MidiSportLoader.ihx -I @firmwaredir@/MidiSport8x8-2.21.ihx"
++ACTION=="add", SUBSYSTEM=="usb*", ATTRS{idVendor}=="0763", ATTRS{idProduct}=="1031", RUN+="@fxload@ -s @firmwaredir@/MidiSportLoader.ihx -I @firmwaredir@/MidiSport8x8-2.21.ihx -D %N"
diff --git a/sys-firmware/midisport-firmware/midisport-firmware-1.2.ebuild b/sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild
index bd23b90d4771..5d3073ba9383 100644
--- a/sys-firmware/midisport-firmware/midisport-firmware-1.2.ebuild
+++ b/sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"