I made two patches to hwsetup, each one adding one command-line option. The first one has been around for about one year. It adds a -f (for Fast) option. By using this, PS/2 and serial devices detection is skipped, allowing a very fast execution (0.4 s instead of 15 s on my Athlon XP 2500+!). This would be great for new-world PPC, and legacy-free x86 and amd64 systems as they do not have such antiquated ports. The second is newer. This time, it adds a -l (for aLsa) option. Instead of loading an OSS module, hwsetup -l will try to load an ALSA module instead. Which one? Simply by prepending "snd-" to the OSS module name. For example: I own a Guillemot Maxi Sound Fortissimo. Its corresponding OSS module is ymfpci. hwsetup -l will try to load snd-ymfpci (the "guessed" ALSA module). If it can't, it will fallback to the "ymfpci" (OSS) driver. Of course, the -l is ignored if -a (no Audio) is also passed to hwsetup. I know, it is a rough guess and I would like to know with which cards this guess does not work. I also supply an ebuild which pass optimisation flags to emake. Reproducible: Always Steps to Reproduce:
Created attachment 57403 [details, diff] Patch adding the -f (fast probing) option
Created attachment 57404 [details, diff] Patch adding the -l (try ALSA) option
Created attachment 57405 [details] Tweaked ebuild
This looks really interesting... I'll look into it when I get more time...
Added slightly modifed versions of these patches, so that they worked with the blacklist patch.