Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25689 - alsa volume very low, alsamixer doesn't affect mixersettings
Summary: alsa volume very low, alsamixer doesn't affect mixersettings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-01 03:46 UTC by phaidros
Modified: 2006-02-04 06:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phaidros 2003-08-01 03:46:46 UTC
machine ibook2.2
gentoo 1.4 rc8

alsa-driver r-0.9.0_rc2
alsasound start works, loads modules correctly
alsamixer starts, but doesn't set mixer settings (user _are_ in grp audio!)
volume is _very_ low
plugin headphones: low volume on headphones, speakers quiet
pluout headphones: speakers enabled, low not adjustable volume

kernel: 2.4.21-ppc-r2
Sound: M
PMAC as Module (OSS) - error is the same without compiled PMAC module
USE="alsa oss"

Reproducible: Always
Steps to Reproduce:
1.emerge unmerge alsa-driver
2.emerge alsa-driver
3.alsamixergui, mplayer /mp3/*
 
Actual Results:  
as described above
Comment 1 Nicolas Kaiser 2003-08-20 09:17:24 UTC
This appears to be a known problem with the current alsa drivers.

Using the below workaround I managed to get alsamixer working and
raise the volume:
http://lists.debian.org/debian-powerpc/2003/debian-powerpc-200303/msg00414.html

"A workaround is to load dmasound_pmac before ALSA, then to remove
it. The mixer will then works."

Along these lines in /etc/modules.autoload I'm loading

dmasound_pmac
snd-powermac
snd-mixer-oss
snd-pcm-oss
(..)

and unloading dmasound in /etc/config.d/local.start,
then restoring mixer settings:

rmmod dmasound_pmac
rmmod dmasound_core
/usr/bin/amixer set Master 132 unmute
/usr/bin/amixer set PCM 132
/usr/bin/amixer set Bass 17
/usr/bin/amixer set Treble 18
/usr/bin/amixer set PCM,1 116

Notes: Loading snd-powermac will say it fails, however
with lsmod I can see it loaded, and it works.
Then, plugging or unplugging a headphone will turn the
volume down. But any small adjustement in alsamixer will
restore it to the previous level.

That's how far I've come until now.

My iBook is "detected as: 257 (iBook 2 rev. 2)".
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-10-11 05:01:53 UTC
This is good info - closing because upstream problem.
Comment 3 Stan Seibert 2004-01-11 19:11:30 UTC
A more straightforward version of the workaround:

Append this line to the end of /etc/modules.d/alsa:

pre-install snd insmod dmasound_pmac && rmmod dmasound_pmac

Then run "update-modules" to regenerate /etc/modules.conf

(Note: This was tested using kernel 2.6.1-benh1 with the 2.6-compatible module tools on a 700 MHz G3 dual-USB iBook.  YMMV.)