Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90639 - Enhanced hwsetup with two options added
Summary: Enhanced hwsetup with two options added
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 10:31 UTC by René Rhéaume (a.k.a. repzilon, rener)
Modified: 2005-06-14 09:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch adding the -f (fast probing) option (hwsetup-fast-option.diff,3.49 KB, patch)
2005-04-27 10:33 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details | Diff
Patch adding the -l (try ALSA) option (hwsetup-tryalsa-option.diff,3.79 KB, patch)
2005-04-27 10:33 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details | Diff
Tweaked ebuild (hwsetup-1.0-r4.ebuild,697 bytes, text/plain)
2005-04-27 10:34 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume (a.k.a. repzilon, rener) 2005-04-27 10:31:16 UTC
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:
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2005-04-27 10:33:02 UTC
Created attachment 57403 [details, diff]
Patch adding the -f (fast probing) option
Comment 2 René Rhéaume (a.k.a. repzilon, rener) 2005-04-27 10:33:49 UTC
Created attachment 57404 [details, diff]
Patch adding the -l (try ALSA) option
Comment 3 René Rhéaume (a.k.a. repzilon, rener) 2005-04-27 10:34:22 UTC
Created attachment 57405 [details]
Tweaked ebuild
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-31 13:52:27 UTC
This looks really interesting...  I'll look into it when I get more time...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-14 09:25:36 UTC
Added slightly modifed versions of these patches, so that they worked with the
blacklist patch.