Hi,

i got this week my new ibook. i know, there is a kernel freeze, but
nonetheless i will report a patch i found on the debian-powerpc mailinglist.

the psnd_powermac module detect the wrong soundcard. the new ibooks have
 a snapper. the solution seems to be, to add additional "case 0x50"
(patch from Sven) or/and "case 0x5c" (patch from the link), to detect
snapper correctly.

I just want report this. So unfortunally Breezy wont support sound over
speaker on newer ibooks. i had report it before the freeze, but apple
was so slow with delivering my order ;-)

I paste the mail from debian-powerpc..

Regards,

Keywan


>From [email protected]
> Betreff:         Re: New Ibook no sound , Works only for the headphones
> Von:             Sven Henkel <[EMAIL PROTECTED]>
> Gruppen:         gmane.linux.debian.ports.powerpc
> Datum:           Thu, 15 Sep 2005 20:13:47 +0200
> 
> Hi! 
> 
>> Misteriously ive found that when i use mpg321 it works with the
>> headphones!!! But none of the controls in alsamixer worked with this
>> sound.
>> ...
> 
> I had the same problems on my brand new 12" iBook, i.e.:
> - modprobing dmasound_pmac fails with "No such device"
> - snd_powermac results in sound on headphones, no sound in speakers and an 
> ineffective mixer
> 
> Those results were seen on a vanilla 2.6.13 kernel, so my scenario looks 
> pretty similar to yours. ;)
> 
> Reading through latest kernel-changes, I got inspired by: 
> 
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=821690cdc82e4090ef6f91947f76a231fad5cbb1
> 
> Unfortunately that patch didn't help, but I modified it to exactly match my 
> soundcard-model. So, here it is:
> 
> --- linux-2.6.13/sound/ppc/pmac.c       2005-08-29 14:11:45.000000000 +0200
> +++ linux-2.6.13.patched/sound/ppc/pmac.c       2005-09-15 19:57:16.000000000 
> +0200
> @@ -988,6 +988,7 @@ static int __init snd_pmac_detect(pmac_t
>                 case 0x33:
>                 case 0x29:
>                 case 0x24:
> +               case 0x50:
>                         chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
>                         chip->model = PMAC_SNAPPER;
>                         chip->can_byte_swap = 0; /* FIXME: check this */
> 
> This patch gives me sound on speakers and headphones and a lot of working 
> mixer-controls, so it looks good...
> 
> I hope it helps,
> 
> cheers,
> Sven


-- 
Keywan Najafi Tonekaboni
http://www.prometoys.net
PGP Fingerprint: D5A1 A22E 3758 C9B4 57D2  3CAF EE52 1A78 C6A0 6934

[EMAIL PROTECTED]:/# apt-get --purge remove dominion
After unpacking world will be freed.
You are about to do something potentially beneficial
To continue type in the phrase 'Yes, do as We say!'


-- 
laptop-testing-team mailing list
[email protected]
http://lists.ubuntu.com/mailman/listinfo/laptop-testing-team

Reply via email to