public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Mickey mouse voices on snd-intel8x0
@ 2008-06-28 17:42 Zoltan Boszormenyi
  2008-07-03  9:01 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Zoltan Boszormenyi @ 2008-06-28 17:42 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have a Compaq Deskpro EN with PIII/866 recycled as a thin client.
The problem was that sound on the thin client was played faster than it
should.
I have Fedora 9/x86-64 on the main machine, so the thin client is LTSP5
that comes with F9.
I tried everything (acpi=off, etc) but the strange voice didn't get better.
I discovered this in the dmesg:

intel8x0_measure_ac97_clock: measured 50895 usecs
intel8x0: measured clock 78 rejected
intel8x0: clocking to 48000

I looked at the current kernel sources and found the solution for that.
I had to provide this for the thin client in
/opt/ltsp/i386/etc/modprobe.conf :

options snd-intel8x0 ac97_clock=44100

# lspci -s 00:1f.5
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97
Audio Controller (rev 02)
# lspci -ns 00:1f.5
00:1f.5 0401: 8086:2445 (rev 02)

Best regards,
Zoltán Böszörményi


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mickey mouse voices on snd-intel8x0
  2008-06-28 17:42 Mickey mouse voices on snd-intel8x0 Zoltan Boszormenyi
@ 2008-07-03  9:01 ` Takashi Iwai
  2008-07-13  6:39   ` Zoltan Boszormenyi
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2008-07-03  9:01 UTC (permalink / raw)
  To: Zoltan Boszormenyi; +Cc: linux-kernel

At Sat, 28 Jun 2008 19:42:15 +0200,
Zoltan Boszormenyi wrote:
> 
> Hi,
> 
> I have a Compaq Deskpro EN with PIII/866 recycled as a thin client.
> The problem was that sound on the thin client was played faster than it
> should.
> I have Fedora 9/x86-64 on the main machine, so the thin client is LTSP5
> that comes with F9.
> I tried everything (acpi=off, etc) but the strange voice didn't get better.
> I discovered this in the dmesg:

Did this problem exist on the earlier kernel?

> intel8x0_measure_ac97_clock: measured 50895 usecs
> intel8x0: measured clock 78 rejected

This value is way too small than normal.  It means that either the
clocking or the calculation of the position in
intel8x0_measure_ac97_clock() is wrong.  Could you check what is the
value if ichdev->position in that function?

> intel8x0: clocking to 48000
> 
> I looked at the current kernel sources and found the solution for that.
> I had to provide this for the thin client in
> /opt/ltsp/i386/etc/modprobe.conf :
> 
> options snd-intel8x0 ac97_clock=44100

Usually it's a bit slower than that.  See
Documentation/sound/alsa/ALSA-Configuration.txt.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mickey mouse voices on snd-intel8x0
  2008-07-03  9:01 ` Takashi Iwai
@ 2008-07-13  6:39   ` Zoltan Boszormenyi
  2008-07-15 10:50     ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Zoltan Boszormenyi @ 2008-07-13  6:39 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel

Takashi Iwai írta:
> At Sat, 28 Jun 2008 19:42:15 +0200,
> Zoltan Boszormenyi wrote:
>   
>> Hi,
>>
>> I have a Compaq Deskpro EN with PIII/866 recycled as a thin client.
>> The problem was that sound on the thin client was played faster than it
>> should.
>> I have Fedora 9/x86-64 on the main machine, so the thin client is LTSP5
>> that comes with F9.
>> I tried everything (acpi=off, etc) but the strange voice didn't get better.
>> I discovered this in the dmesg:
>>     
>
> Did this problem exist on the earlier kernel?
>   

IIRC, yes.
When I have set up LTSP5, both the client and the host had a 2.6.24.x
kernel.
Don't ask the exact version, though.

>> intel8x0_measure_ac97_clock: measured 50895 usecs
>> intel8x0: measured clock 78 rejected
>>     
>
> This value is way too small than normal.  It means that either the
> clocking or the calculation of the position in
> intel8x0_measure_ac97_clock() is wrong.  Could you check what is the
> value if ichdev->position in that function?
>   

How? Is there a module option for such debug info?

>> intel8x0: clocking to 48000
>>
>> I looked at the current kernel sources and found the solution for that.
>> I had to provide this for the thin client in
>> /opt/ltsp/i386/etc/modprobe.conf :
>>
>> options snd-intel8x0 ac97_clock=44100
>>     
>
> Usually it's a bit slower than that.  See
> Documentation/sound/alsa/ALSA-Configuration.txt.
>   

Thanks.

>
> thanks,
>
> Takashi
>
>   


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mickey mouse voices on snd-intel8x0
  2008-07-13  6:39   ` Zoltan Boszormenyi
@ 2008-07-15 10:50     ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2008-07-15 10:50 UTC (permalink / raw)
  To: Zoltan Boszormenyi; +Cc: linux-kernel

At Sun, 13 Jul 2008 08:39:33 +0200,
Zoltan Boszormenyi wrote:
> 
> Takashi Iwai írta:
> > At Sat, 28 Jun 2008 19:42:15 +0200,
> > Zoltan Boszormenyi wrote:
> >   
> >> Hi,
> >>
> >> I have a Compaq Deskpro EN with PIII/866 recycled as a thin client.
> >> The problem was that sound on the thin client was played faster than it
> >> should.
> >> I have Fedora 9/x86-64 on the main machine, so the thin client is LTSP5
> >> that comes with F9.
> >> I tried everything (acpi=off, etc) but the strange voice didn't get better.
> >> I discovered this in the dmesg:
> >>     
> >
> > Did this problem exist on the earlier kernel?
> >   
> 
> IIRC, yes.
> When I have set up LTSP5, both the client and the host had a 2.6.24.x
> kernel.
> Don't ask the exact version, though.

Any older kernel?

> >> intel8x0_measure_ac97_clock: measured 50895 usecs
> >> intel8x0: measured clock 78 rejected
> >>     
> >
> > This value is way too small than normal.  It means that either the
> > clocking or the calculation of the position in
> > intel8x0_measure_ac97_clock() is wrong.  Could you check what is the
> > value if ichdev->position in that function?
> >   
> 
> How? Is there a module option for such debug info?

No, just add printk() appropriately.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-14  6:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-28 17:42 Mickey mouse voices on snd-intel8x0 Zoltan Boszormenyi
2008-07-03  9:01 ` Takashi Iwai
2008-07-13  6:39   ` Zoltan Boszormenyi
2008-07-15 10:50     ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox