From: Takashi Iwai <tiwai@suse.de>
To: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: risto.suominen@gmail.com, lkml <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
linuxppc-dev@ozlabs.org, paulus@samba.org,
kernel-testers@vger.kernel.org
Subject: Re: regression on imac G3: problems with sound
Date: Thu, 02 Oct 2008 12:49:13 +0200 [thread overview]
Message-ID: <s5hprmjgtli.wl%tiwai@suse.de> (raw)
In-Reply-To: <200810021239.20270.m.kozlowski@tuxland.pl>
At Thu, 2 Oct 2008 12:39:20 +0200,
Mariusz Kozlowski wrote:
>
> Hello,
>
> > At Wed, 1 Oct 2008 23:47:34 +0300,
> > risto.suominen@gmail.com wrote:
> > >
> > > 2008/10/1, Mariusz Kozlowski <m.kozlowski@tuxland.pl>:
> > > > Hello,
> > > >
> > > > I found that on my old iMac G3 aumix behaves weird on newer (up to
> > > > 2.6.27-rc8) kernels. The sound is only present _when_ muted and is quiet
> > > > I'd say 10% of 'normal' max level. If you turn the volume up - the box is
> > > > silent.
> > > > If you unmute - the box is silent. 100% reproducible.
> > > >
> > > > Bisection result is a bit surprising as it seems it was introduced some time
> > > > ago,
> > > > in 2.6.25 ~ 2.6.26-rc1 window:
> > > >
> > > > commit a8c2a6bf464d983c642c8b8b001a57aabbf76673
> > > > Author: Risto Suominen <Risto.Suominen@gmail.com>
> > > > Date: Thu Apr 17 17:55:30 2008 +0200
> > > >
> > > > [ALSA] snd-powermac: AWACS and Screamer mixers for PM7500, Beige, and
> > > > iMac SL
> > > >
> > > > Add mixer controls and correct headphone detection bits for PowerMacs
> > > > 7300/7500 (AWACS) and G3 Beige (Screamer), and iMac G3 Slot-loading
> > > > (Screamer).
> > > >
> > > >
> > > > Mariusz
> > > >
> > > >
> > > >
> > > > processor : 0
> > > > cpu : 740/750
> > > > temperature : 52 C (uncalibrated)
> > > > clock : 400.000000MHz
> > > > revision : 2.2 (pvr 0008 0202)
> > > > bogomips : 49.79
> > > > timebase : 24967326
> > > > platform : PowerMac
> > > > model : PowerMac2,1
> > > > machine : PowerMac2,1
> > > > motherboard : PowerMac2,1 MacRISC2 MacRISC Power Macintosh
> > > > detected as : 66 (iMac FireWire)
> > > > pmac flags : 00000014
> > > > L2 cache : 512K unified
> > > > pmac-generation : NewWorld
> > > >
> > > > 0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP
> > > > 0000:00:10.0 Display controller: ATI Technologies Inc Rage 128 RL/VR AGP
> > > > 0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI
> > > > 0001:10:12.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394
> > > > Controller
> > > > 0001:10:13.0 Ethernet controller: Digital Equipment Corporation DECchip
> > > > 21142/43 (rev 41)
> > > > 0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 02)
> > > > 0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
> > > > 0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
> > > > 0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI
> > > >
> > > >
> > > Mariusz, thank you for the report. This is my fault. Sorry.
> > >
> > > PowerMac2,1 seems to have the mute bit reversed compared to later
> > > models, PowerMac2,2 and PowerMac4,1, which I was using for testing my
> > > changes.
> > >
> > > This has been fixed in a later patch that should be included in kernel
> > > 2.6.27, I believe.
> > >
> > > Takashi, when was this (or will be) included? I sent two patches on 2008-08-25.
> >
> > No, it wasn't because it's not clear whether the patches are
> > regression fixes.
> >
> > Mariusz, try sound git tree. Risto's patches are already there.
> > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> >
> > If it works, then try to cherry-pick the following two commits onto
> > the vanilla kernel:
> > - 8352a6fe67a0f804302b93178f2e13b66004a693
> > ALSA: snd-powermac: mixers for PowerMac G4 AGP
> > - e25ae4fd3ccba79cfd5628642754a145394225f6
> > ALSA: snd-powermac: HP detection for 1st iMac G3 SL
>
> sound-2.6 works ok.
> linux-2.6 plus the two patches above solve the sound problem for me.
>
> Will they go into 2.6.27?
Thanks for checking. I'll add them to the next pull request.
Takashi
prev parent reply other threads:[~2008-10-02 10:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-01 15:55 regression on imac G3: problems with sound Mariusz Kozlowski
2008-10-01 20:47 ` risto.suominen
2008-10-02 6:41 ` Takashi Iwai
2008-10-02 10:39 ` Mariusz Kozlowski
2008-10-02 10:49 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hprmjgtli.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=m.kozlowski@tuxland.pl \
--cc=paulus@samba.org \
--cc=risto.suominen@gmail.com \
--cc=rjw@sisk.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).