Skip to contentSkip to conversation

Mickey mouse voices on snd-intel8x0

DISCUSSION Zoltan Boszormenyi 2 participants 4 messages Jun 28, 2008 – Jul 14, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

At Sat, 28 Jun 2008 19:42:15 +0200,

Quoted 10 lines · Zoltan Boszormenyi

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?

Quoted 2 lines

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?

Quoted 7 lines

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

#2 lore raw

Takashi Iwai írta:

Quoted 14 lines

At Sat, 28 Jun 2008 19:42:15 +0200,

Quoted 10 lines · Zoltan Boszormenyi

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:

Quoted 2 lines

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.

Quoted 9 lines
Quoted 3 lines

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?

Quoted 6 lines
Quoted 6 lines

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 :

Quoted 6 lines
Quoted 2 lines

options snd-intel8x0 ac97_clock=44100

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

Thanks.

Quoted 6 lines

thanks,

Takashi

#3 lore raw

At Sun, 13 Jul 2008 08:39:33 +0200,

Quoted 16 lines · Zoltan Boszormenyi

Takashi Iwai írta:

Quoted 14 lines

At Sat, 28 Jun 2008 19:42:15 +0200,

Quoted 10 lines · Zoltan Boszormenyi

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:

Quoted 7 lines
Quoted 2 lines

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?

Quoted 11 lines
Quoted 9 lines
Quoted 3 lines

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