Re: [gentoo-user] sound on intel imac [solved]

2009-11-18 Thread Roger Mason
Hello Daid,

Thanks for your reply.

daid kahl daid...@gmail.com writes:

 # emerge alsa-util alsa oss

 ...and alsa-utils

 I should go to sleep...

After my post I knuckled down and worked systematically through the
model= options for ALC883/888 and ALC882/885, having gleaned from the
internet that these are most similar to the 889A.  The possible choices
are listed in /usr/src/linux/Documentation/alsa/HD-Audio-Models.txt.
Several choices produced sound, but only this (for ALC882/885):

options snd-hda-intel model=mbp3

in /etc/modprobe.d/alsa.conf, followed by running update-modules,

produces sound and turns off the speakers when the headphones are
plugged in.

This was one of the options I tried before posting, having found it
using google, but it did not work.  I _think_ I made the mistake of
rerunning alsaconf after editing /etc/modprobe.d/alsa.conf, which of
course erased my edit!  Dumb.

Best wishes,
Roger



Re: [gentoo-user] sound on intel imac [solved]

2009-11-18 Thread daid kahl
 After my post I knuckled down and worked systematically through the
 model= options for ALC883/888 and ALC882/885, having gleaned from the
 internet that these are most similar to the 889A.  The possible choices
 are listed in /usr/src/linux/Documentation/alsa/HD-Audio-Models.txt.
 Several choices produced sound, but only this (for ALC882/885):

I had some trouble getting everything working on a newer kernel.  I'll
post the solved results of that on this list presently.

If I didn't suggest it, pommed is a nice little daemon for using the
Mac hotkeys.  It was doing silly things today, but once I rebuilt and
had the correct kernel settings, all was good.

My sound was going to 0 at around 30% today, which was some
interference between an older kernel and a newer kernel settings.
Startup gave me funny messages about the sound card whenever I'd boot
directly from one kernel into another, and I decided once everything
else was working, if I just switched to the older kernel and back to
the newer one, it could properly initalize itself.  It worked!  Who
knows with these things..

Let me know if you need any other hardware working, since I've got it
all I think.  (Never tested bluetooth, but it shows up, and I deleted
my old IR setup since I switched away from KDE, but it worked.)

Regards,
daid



Re: [gentoo-user] sound on intel imac

2009-11-17 Thread daid kahl
 I have a 20 inch aluminum imac:

  uname -a
 Linux pyrope 2.6.30-gentoo-r5 #9 SMP Sat Nov 14 14:04:55 NST 2009 x86_64
 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux

 I'm using the in-kernel alsa drivers.  I have tried compiling into the
 kernel and as modules.  I cannot get any output from speakers or
 headphone. (Yes, I have run alsamixer and un-muted everything).

I also use a Mac (though a different model).

My suggestions might be naive, but did you be sure to do all the following?

# emerge alsa-util alsa oss
# alsaconf
# /etc/init.d/alsasound start
# rc-update add alsasound default

If you don't run alsaconf, it won't work...I had that problem for a
few days in 2007.

Regards,
daid



Re: [gentoo-user] sound on intel imac

2009-11-17 Thread daid kahl
 # emerge alsa-util alsa oss

Sorry, that should be alsa-oss

~daid



Re: [gentoo-user] sound on intel imac

2009-11-17 Thread daid kahl
 # emerge alsa-util alsa oss

...and alsa-utils

I should go to sleep...



[gentoo-user] sound on intel imac

2009-11-14 Thread Roger Mason
Hello,

I have a 20 inch aluminum imac:

 uname -a
Linux pyrope 2.6.30-gentoo-r5 #9 SMP Sat Nov 14 14:04:55 NST 2009 x86_64
Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux

The sound card is listed by lspci as:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)

cat /proc/asound/card0/codec#0 says

Codec: Realtek ALC889A

I'm using the in-kernel alsa drivers.  I have tried compiling into the
kernel and as modules.  I cannot get any output from speakers or
headphone. (Yes, I have run alsamixer and un-muted everything).

I have looked around using google and problems with the ALC889A codec
seem common.  I tried some of the suggested fixes, like setting
model=whatever to the kernel snd-intel-hda module.  Nothing I have tried
has worked.  I know the sound system is functioning because it works in
OSX.

If anyone here has any suggestions or knows for sure that the sound
system on these machines cannot be made to work in Gentoo it would be
useful to find out before I waste more time on it.

Thanks,
Roger