diff options
author | John Murphy <john.david.murphy@gmail.com> | 2020-07-03 14:17:15 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-08-12 10:22:54 +0300 |
commit | 427b644d8bfde7b534140c4ff9d1fc6d7f5d715a (patch) | |
tree | ecbb3808804396eab52e16c94da056e2f44a9c26 /sys-firmware | |
parent | dev-python/transitions: drop old version (diff) | |
download | gentoo-427b644d8bfde7b534140c4ff9d1fc6d7f5d715a.tar.gz gentoo-427b644d8bfde7b534140c4ff9d1fc6d7f5d715a.tar.bz2 gentoo-427b644d8bfde7b534140c4ff9d1fc6d7f5d715a.zip |
sys-firmware/midisport-firmware: Midisport 8x8 Udev Rule
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: John Murphy <john.david.murphy@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/midisport-firmware/files/midisport-firmware-1.2-rules.patch | 11 | ||||
-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" |