The firmware is (correctly) installed into top-level <image>/lib/firmware, but the ebuild does not remove it: use alsa_cards_hdsp || use alsa_cards_hdspm || rm -rf "${D}/usr/share/alsa/firmware/hdsploader" This results in: -rw-r--r-- 1 root root 97652 Mar 31 22:46 /lib/firmware/digiface_firmware.bin -rw-r--r-- 1 root root 97652 Mar 31 22:46 /lib/firmware/digiface_firmware_rev11.bin -rw-r--r-- 1 root root 97652 Mar 31 22:46 /lib/firmware/multiface_firmware.bin -rw-r--r-- 1 root root 97652 Mar 31 22:46 /lib/firmware/multiface_firmware_rev11.bin -rw-r--r-- 1 root root 97652 Mar 31 22:46 /lib/firmware/rpm_firmware.bin
Incidentally I found your í years old issue. Did you want to say that the ebuild removes the hdsp files by mistake? Maybe try the following: ALSA_CARDS="hdspm" emerge sys-firmware/alsa-firmware
Looking at the paths involved, my understanding is that the issue at hand is that the ebuild executes: `rm -rf "${ED}"/usr/share/alsa/firmware/hdsploader` to remove undesired firmware files during src_install. But, since those particular files are actually found at: "${ED}"/lib/firmware/{digiface_firmware{,_rev11}.bin,multiface_firmware{,_rev11}.bin,rpm_firmware.bin} it becomes effectively a NOOP and they always get installed. I observed that "${ED}"/lib/firmware/{ctefx-desktop,ctefx-r3di}.bin also slip through - perhaps a missing IUSE?
(In reply to Maxim Kammerer from comment #0) > The firmware is (correctly) installed into top-level <image>/lib/firmware, > but the ebuild does not remove it: > > use alsa_cards_hdsp || use alsa_cards_hdspm || rm -rf > "${D}/usr/share/alsa/firmware/hdsploader" > > This results in: > > -rw-r--r-- 1 root root 97652 Mar 31 22:46 /lib/firmware/digiface_firmware.bin > -rw-r--r-- 1 root root 97652 Mar 31 22:46 > /lib/firmware/digiface_firmware_rev11.bin > -rw-r--r-- 1 root root 97652 Mar 31 22:46 > /lib/firmware/multiface_firmware.bin > -rw-r--r-- 1 root root 97652 Mar 31 22:46 > /lib/firmware/multiface_firmware_rev11.bin > -rw-r--r-- 1 root root 97652 Mar 31 22:46 /lib/firmware/rpm_firmware.bin But, are those firmwares related with hdsp ans hdspm cards or a different USE should be used/added? (In reply to Niklāvs Koļesņikovs from comment #2) > I observed that "${ED}"/lib/firmware/{ctefx-desktop,ctefx-r3di}.bin also > slip through - perhaps a missing IUSE? The same for that... which ALSA_CARDS value fits for those firmwares? Thanks