Sync from SUSE:SLFO:Main alsa-firmware revision 667f2bc3c0c2939653d4f7919684b937
This commit is contained in:
commit
e6f4d48aee
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
alsa-firmware-1.2.4.tar.bz2
(Stored with Git LFS)
Normal file
BIN
alsa-firmware-1.2.4.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
16
alsa-firmware-1.2.4.tar.bz2.sig
Normal file
16
alsa-firmware-1.2.4.tar.bz2.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE8E31BzesGohMSz1xg4BZbablnJEFAl+PGLwACgkQg4BZbabl
|
||||
nJFAyg/+LuTRuu6sOJxCOZ7V/B6aj98y/mKGbcRosk5fyYEOeYpaqPwVGjOR6MuH
|
||||
/3HzmqdozfPDB5G6dRpzTGH0uiCkcjYb6X1/2I3rh6AtV4y0jSkvlCx0rof8sRnW
|
||||
9WTFCYCy6IIVdHRqyStZoD3gsHOdZQ3n/KfAjsP/Y7G9LR2Utcf73yyPA2HEo1MJ
|
||||
KrYFRtNcm7NX/BeFBzFjjKY8zqD7CckPX2xRoNq80NVJ9R1eprv46Ib5z3yY1XKM
|
||||
ipdYfPQhZbn1NnWPuYUSMCzsbECaH0I6v63JE9KCrD1FtyaT4wSj3Iw7CJwWTeyT
|
||||
DTjmffbZOL8hUu3+f8bvgvsJKgq7CuWKTIxUmH0wwNgWkWRZCmTyZxG/Hn1V/PwT
|
||||
t4F6y389kVtwCkx3UPtFC+eQUnrbJNCeI7Y7XTL96o1Uslti5QadkrheaH3qBCQa
|
||||
uvn8LjVbWaZf7caZbUln4ZsXATg6+Lkc5h1EOehQfyWsbH4F77Vec4URFA2KLa4X
|
||||
d/KZE9eJBcWDQVoaB/vVs/5ud+/dNK07CyTzO/EogDLPr/PtNDaaO1yNLMZ2r4ei
|
||||
ljjJ2UQ9roRE9jrOyWi40GentiYC1iFYfILqlgA4+dfrVZX7HcRCgSLHjoS9VCbX
|
||||
qbsrw762ixOdOzz2iG6qQEJuASz6Soa5GYLGt6ZOXrQw5c+VYOY=
|
||||
=LIww
|
||||
-----END PGP SIGNATURE-----
|
289
alsa-firmware.changes
Normal file
289
alsa-firmware.changes
Normal file
@ -0,0 +1,289 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 26 16:11:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- refresh spec file
|
||||
- add gpg validation, use https
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 13:51:31 CET 2020 - tiwai@suse.de
|
||||
|
||||
- Fix build with older distros without %_firmwaredir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 21 13:04:20 CEST 2020 - tiwai@suse.de
|
||||
|
||||
- Update to alsa-firmware 1.2.4:
|
||||
rework in auto-tools and Makefiles
|
||||
See details in
|
||||
https://alsa-project.org/wiki/Changes_v1.2.3.2_v1.2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 19 12:49:11 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||
|
||||
- use %_firmwaredir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 14:46:03 CET 2020 - tiwai@suse.de
|
||||
|
||||
- Comment out superfluous buildreq automake
|
||||
- Run fdupes for reducing the duplications
|
||||
- Remove conflicting CA0132 files against kernel-firmware
|
||||
- Add supplements for the automatic installation
|
||||
- Install license-related files into licensesdir
|
||||
- Drop the support for old distros (<1200), drop old udev rules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 17:42:05 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update to alsa-firmare 1.2.1:
|
||||
* Change FSF address (Franklin Street)
|
||||
* Fix up aica firmware licensing
|
||||
* Add new firmware for Creative CA0132 HD-Audio Codec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 28 19:57:17 CEST 2019 - tiwai@suse.de
|
||||
|
||||
- Install missing firmware files for CA0132 codec (bsc#1136638)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 17:34:19 CET 2015 - tiwai@suse.de
|
||||
|
||||
- Update to alsa-firmware 1.0.29:
|
||||
update asihpi firmware to version 4.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 13:19:24 CEST 2014 - tiwai@suse.de
|
||||
|
||||
- Updated to alsa-firmware 1.0.28:
|
||||
Removed obsoleted patch
|
||||
0001-Add-cs46xx-entry-to-the-main-configure-and-Makefile..patch:
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 15:31:02 CET 2014 - tiwai@suse.de
|
||||
|
||||
- 0001-Add-cs46xx-entry-to-the-main-configure-and-Makefile..patch:
|
||||
Add firmware files for cs46xx that have been cut since 3.13
|
||||
kernel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 12 15:31:37 CEST 2013 - tiwai@suse.de
|
||||
|
||||
- Updated to version 1.0.27:
|
||||
add firmware files for CA0132 HD-audio codec
|
||||
- Fix macros for udev rules installation path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 11:13:28 CET 2012 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.25; Update asihpi firmware to 4.10.05
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 22 18:31:48 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- alsa firmware is of no use without alsa
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 06:22:19 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add automake as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 10:55:33 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 31 17:27:41 CET 2011 - tiwai@suse.de
|
||||
|
||||
- Updated to version 1.0.24.1:
|
||||
* including previous fixes
|
||||
* Add firmware for HDSP RPM
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 11:00:52 CEST 2010 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.23:
|
||||
* update asihpi firmware version 40304
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 24 20:18:05 UTC 2010 - aj@suse.de
|
||||
|
||||
- Use ATTR instead of SYSFS for udev rules.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 5 17:28:25 CEST 2009 - tiwai@suse.de
|
||||
|
||||
- really exclude firmware files in kernel-firmware package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 18:11:28 CEST 2009 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.20:
|
||||
* just a version number bump
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 12:40:03 CEST 2009 - tiwai@suse.de
|
||||
|
||||
- exclude some firmware files already contained in kernel-firmware
|
||||
package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 5 15:34:43 CET 2009 - ro@suse.de
|
||||
|
||||
- fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 22 14:29:46 CET 2009 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.19:
|
||||
* updated PCXHR firmwares
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 18:31:44 CEST 2008 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.17:
|
||||
* just a version bump
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 26 18:57:18 CEST 2008 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.17-rc2:
|
||||
* update asihpi firmwares
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 8 12:18:21 CET 2008 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.16-final:
|
||||
* just a version bump
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 28 11:40:09 CET 2008 - tiwai@suse.de
|
||||
|
||||
- changed the package version number to 1.0.16 to match with
|
||||
alsa-tools.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 22 14:49:50 CET 2008 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.16rc1:
|
||||
* updated asihpi firmware data
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 16 15:09:01 CEST 2007 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.15-final:
|
||||
* including all previous fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 16:14:57 CEST 2007 - tiwai@suse.de
|
||||
|
||||
- updated to firmware version (as of HG 2007.07.27)
|
||||
including the latest ASIHPI binaries
|
||||
- fixed udev rules for the recent 10.3 kernel.
|
||||
keep the old config for older kernels.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 18:26:23 CEST 2007 - tiwai@suse.de
|
||||
|
||||
- removed alsa from BuildRequires
|
||||
- fixed filelist to be independent from alsa.rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 12:22:37 CEST 2007 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.14-final:
|
||||
* aica firmware
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 2 14:39:36 CEST 2007 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.14rc4
|
||||
* emu micro_dock firmware
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 18 11:23:13 CET 2007 - aj@suse.de
|
||||
|
||||
- /lib/firmware is now in filesystem package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 14 16:58:27 CET 2007 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.14rc3:
|
||||
* updated asihpi firmwares
|
||||
* added msnd-pinnacle firmwares
|
||||
* fix usx2yaudio udev rules to call with proper -m option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 20 11:15:37 CET 2006 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.14rc1:
|
||||
* added ymfpci, maestro3, korg1212 firmwares
|
||||
* added wavefront and sb16 firmwares
|
||||
* added emi26/emi62 firmwares
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 5 16:40:30 CEST 2006 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.13-final:
|
||||
* no real change since rc2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 22 16:13:21 CEST 2006 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.13rc2:
|
||||
* echoaduio firmware fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 11:38:47 CEST 2006 - tiwai@suse.de
|
||||
|
||||
- moved firmware-specific udev rules for usx2yaudio from alsa
|
||||
package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 16:58:39 CEST 2006 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.12rc1:
|
||||
* new firmwares for asihpi driver
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:45:42 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 14:10:20 CEST 2005 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.10rc2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 20 15:29:18 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Don't require hotplug.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 15:15:19 CEST 2005 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.9-final.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 24 17:11:33 CEST 2005 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.9rc4.
|
||||
- enable loaders, use symlinks for identical files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 15:28:45 CET 2005 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.8-final.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 7 12:18:15 CET 2005 - tiwai@suse.de
|
||||
|
||||
- added alsa to neededforpackage for $(datadir)/alsa ownership.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 5 15:33:55 CET 2005 - tiwai@suse.de
|
||||
|
||||
- split from alsa-tools: version 1.0.8rc2.
|
||||
|
29
alsa-firmware.keyring
Normal file
29
alsa-firmware.keyring
Normal file
@ -0,0 +1,29 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBF+PBUIBEACQ0eLhY6zJkZCztI3Zj7GiEkGyDYXFr10wMn2BmAxXEOhvGs5C
|
||||
XtZYokNnYnojU2ehb14pdQiIYVm7YwjNjPhFmc6DnSJ74tlDtzI0ZfZYgU8B3/AU
|
||||
hHCIe7NeH+uqaS4hQ4gQF3HB19GNQ21keQPtm/cZzNvkAwWQ6wxiIas/odQGt6sg
|
||||
TULub4gXQw42iCW0jNeliNgeOc/4/2qtznN+Ss5G+Hs+EBh0kFCG4+5RcpgtKmYO
|
||||
LEy+8qI/UmlgOeT+47eTXm4LjxHfRuKcbvSExfICUB5XLD2ZmeZbFyP48jkDvB7w
|
||||
A4jNfImtlRfTvoviNlOl08Pk3aJoPR8IZIGw+EQCf3ChXTziadqOg37SAy4yGJ14
|
||||
BjirKgBNO4zB+lkLOAknsVKJOKRt3w54MevCuj0GGbfSyErZAeHvliXrfBa1ACLu
|
||||
c2ynRDR/5j0FA3vPzRsHyOGFC4F34W5BhkXCuJBG2o2VDv/zANzjg/hw+0IbmH3G
|
||||
kYn73EDIaz5giKJolE32WaWkz39DwuuoUaLLyfxyiN+c0p2/XQFCrOSqHNUMfI5z
|
||||
Ll62nL1XruF6u9ApLKRv/uDJN7tLgds83rteYJP7/5/JSYCPB8PcUkmhB8OoVdpr
|
||||
tYI8C/6Y6KREm3Jk4AdkySIFnPXZQCkiOR2qOmAuaQPeesjsrSkUtJYZcwARAQAB
|
||||
tEVBTFNBIFJlbGVhc2UgVGVhbSAoUGFja2FnZSBTaWduaW5nIEtleSB2MSkgPHJl
|
||||
bGVhc2VAYWxzYS1wcm9qZWN0Lm9yZz6JAk4EEwEIADgWIQTwTfUHN6waiExLPXGD
|
||||
gFltpuWckQUCX48FQgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRCDgFlt
|
||||
puWckRhVD/45DNoD79lHBJEu0Wv93OSlPZDUKR+BnkkdEDgDEhTvk+Bin/EWdb3g
|
||||
Unc+rEczgAqjqblLH7ndBtFZPNGiQ2nu8eAdN0TrOFQx7bFg4Do7KXNUUqdPUETC
|
||||
AgkozF3ucsgOcBbv6LwwDfdQDFjkg7CuNGy8CRcLSO5dLK7domq3RxF5mKl1dkOv
|
||||
4brfw6ssn+pja/jkgM9BKt80ycIDiJtVRuXMBJD19ZB8EzQO9OQBdAPERSG8BwLX
|
||||
LemTLAZqNd0mixVbn50qCQil64UOkOd5DHVBBokxgtlJEcDujqWaCUYSygSiP2ke
|
||||
44ArDr7hRwG5KhhbFOigXo3nBYnKyiuWs0jpnrTQD9+uTxcetyBpJ6BW/i/Fy2a9
|
||||
NBFNhbDI07rCMXM25cLP8qbI5i6nTSDlkpLP40At9yUVYt8gIO6ZpGpO04/lAhT1
|
||||
NxtbZkKMo1nphMHU/MDSusoHyLxUXpppdbXTdMgsuFrXae3gcFDowQbLZqb6ZAJ5
|
||||
opX4sDBIdoHDBsI6wCGTV7AAWB8RXWW0RTYMkyIxqixiiB2N2jaau4yHfqv9QWOY
|
||||
oPcx6ySKqGN0HV50PeRis5eeq7kHIdRrVIOBd0tPIqCKIvyJZk1QXReKvvE84Km2
|
||||
dYPusBlhhF7/4WVovlE6HFwyLSOyb32m4qf5dV35op07ew8i4DHpkQ==
|
||||
=n4lM
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
151
alsa-firmware.spec
Normal file
151
alsa-firmware.spec
Normal file
@ -0,0 +1,151 @@
|
||||
#
|
||||
# spec file for package alsa-firmware
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} < 1550
|
||||
%define _firmwaredir /lib/firmware
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1220
|
||||
%define _udevdir %(pkg-config --variable=udevdir udev)
|
||||
%else
|
||||
%define _udevdir %{_sysconfdir}/udev
|
||||
%endif
|
||||
Name: alsa-firmware
|
||||
Version: 1.2.4
|
||||
Release: 0
|
||||
Summary: Firmware Data Files for ALSA
|
||||
License: GPL-2.0-or-later
|
||||
Group: Hardware/Other
|
||||
URL: https://www.alsa-project.org/
|
||||
Source: https://www.alsa-project.org/files/pub/firmware/alsa-firmware-%{version}.tar.bz2
|
||||
Source1: usx2yaudio.rules
|
||||
Source100: https://www.alsa-project.org/files/pub/firmware/alsa-firmware-%{version}.tar.bz2.sig
|
||||
Source101: alsa-firmware.keyring
|
||||
BuildRequires: fdupes
|
||||
Requires: alsa
|
||||
Supplements: modalias(pci:v00001013d00006001sv*sd*bc*sc*i*)
|
||||
Supplements: modalias(pci:v00001013d00006003sv*sd*bc*sc*i*)
|
||||
# for cs46xx
|
||||
Supplements: modalias(pci:v00001013d00006004sv*sd*bc*sc*i*)
|
||||
Supplements: modalias(pci:v0000104Cd0000A106sv0000175Csd*bc*sc*i*)
|
||||
# for asihpi
|
||||
Supplements: modalias(pci:v0000104Cd0000AC60sv0000175Csd*bc*sc*i*)
|
||||
# for mixart
|
||||
Supplements: modalias(pci:v00001057d00000003sv*sd*bc*sc*i*)
|
||||
# for echoaudio
|
||||
Supplements: modalias(pci:v00001057d00001801sv0000ECC0sd*bc*sc*i*)
|
||||
Supplements: modalias(pci:v00001057d00003410sv0000ECC0sd*bc*sc*i*)
|
||||
# for vx
|
||||
Supplements: modalias(pci:v000010B5d00009030sv00001369sd*bc*sc*i*)
|
||||
Supplements: modalias(pci:v000010B5d00009050sv00001369sd*bc*sc*i*)
|
||||
# for pcxhr
|
||||
Supplements: modalias(pci:v000010B5d00009056sv00001369sd*bc*sc*i*)
|
||||
# for hdsp
|
||||
Supplements: modalias(pci:v000010EEd00003FC5sv*sd*bc*sc*i*)
|
||||
Supplements: modalias(pci:v00001102d00000002sv*sd*bc*sc*i*)
|
||||
Supplements: modalias(pci:v00001102d00000004sv*sd*bc*sc*i*)
|
||||
# for emu10k1
|
||||
Supplements: modalias(pci:v00001102d00000008sv*sd*bc*sc*i*)
|
||||
# for ca0132
|
||||
Supplements: modalias(pci:v00001102d00000010sv*sd*bc*sc*i*)
|
||||
Supplements: modalias(pci:v00001102d00000012sv*sd*bc*sc*i*)
|
||||
Supplements: modalias(usb:v1604p8001d*dc*dsc*dp*ic*isc*ip*in*)
|
||||
# for usx2y
|
||||
Supplements: modalias(usb:v1604p8005d*dc*dsc*dp*ic*isc*ip*in*)
|
||||
Supplements: modalias(usb:v1604p8007d*dc*dsc*dp*ic*isc*ip*in*)
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(udev)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Various firmware data files for ALSA drivers.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# autoreconf -fi
|
||||
%configure \
|
||||
--enable-loader \
|
||||
--enable-hotplug \
|
||||
--with-hotplug-dir=%{_firmwaredir}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# remove duplicated entries that are already in kernel-firmware package
|
||||
rm -f %{buildroot}%{_firmwaredir}/ctefx.bin
|
||||
rm -f %{buildroot}%{_firmwaredir}/ctspeq.bin
|
||||
# remove unnecessary loader firmwares
|
||||
for d in vxloader mixartloader pcxhrloader; do
|
||||
rm -rf %{buildroot}%{_datadir}/alsa/firmware/$d
|
||||
done
|
||||
# some files are included in the new "kernel-firmware" package
|
||||
for d in ess korg sb16 yamaha; do
|
||||
rm -rf %{buildroot}%{_firmwaredir}/$d
|
||||
done
|
||||
# change identical files to symlinks for hdsploader
|
||||
pushd %{buildroot}%{_datadir}/alsa/firmware/hdsploader
|
||||
for i in *.bin; do
|
||||
hotplug=%{buildroot}%{_firmwaredir}/$i
|
||||
if [ -f $hotplug ]; then
|
||||
if cmp -s -b $hotplug $i; then
|
||||
rm $i
|
||||
ln -s %{_firmwaredir}/$i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
popd
|
||||
# FIXME: remove non-existing msnd firmware symlinks
|
||||
rm -rf %{buildroot}%{_firmwaredir}/turtlebeach
|
||||
# install documents
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
mkdir -p %{buildroot}%{_licensedir}/%{name}
|
||||
install -c -m 0644 COPYING %{buildroot}%{_licensedir}/%{name}
|
||||
install -c -m 0644 README %{buildroot}%{_docdir}/%{name}
|
||||
for d in echoaudio hdsploader mixartloader pcxhrloader usx2yloader vxloader asihpi ca0132; do
|
||||
(cd $d
|
||||
n=${d##*/}
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}/$n
|
||||
for f in AUTHORS ChangeLog README* TODO *.txt; do
|
||||
test -f $f || continue
|
||||
case $f in
|
||||
licen[cs]e*)
|
||||
mkdir -p %{buildroot}%{_licensedir}/%{name}/$n
|
||||
install -c -m 0644 $f %{buildroot}%{_licensedir}/%{name}/$n
|
||||
;;
|
||||
*)
|
||||
install -c -m 0644 $f %{buildroot}%{_docdir}/%{name}/$n
|
||||
;;
|
||||
esac
|
||||
done
|
||||
)
|
||||
done
|
||||
# udev rules
|
||||
install -D -c -m 0644 %{SOURCE1} %{buildroot}%{_udevdir}/rules.d/52-usx2yaudio.rules
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%files
|
||||
%doc %{_docdir}/%{name}
|
||||
%license %{_licensedir}/%{name}
|
||||
%{_firmwaredir}/*
|
||||
%{_datadir}/alsa
|
||||
%{_udevdir}
|
||||
|
||||
%changelog
|
8
usx2yaudio.rules
Normal file
8
usx2yaudio.rules
Normal file
@ -0,0 +1,8 @@
|
||||
# Load firmware via fxload
|
||||
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1604", ATTR{idProduct}=="800[157]", RUN+="/usr/bin/usx2yloader"
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1604", ATTR{idProduct}=="8001", RUN+="/sbin/startproc /usr/bin/us428control -m us428"
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1604", ATTR{idProduct}=="8005", RUN+="/sbin/startproc /usr/bin/us428control -m us224"
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1604", ATTR{idProduct}=="8000", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us428fw.ihx -D $env{DEVNAME}"
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1604", ATTR{idProduct}=="8004", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us224fw.ihx -D $env{DEVNAME}"
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1604", ATTR{idProduct}=="8006", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx -D $env{DEVNAME}"
|
Loading…
Reference in New Issue
Block a user