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: