Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bad sound after kernel upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
klauter
n00b
n00b


Joined: 03 Dec 2006
Posts: 3

PostPosted: Tue Jan 16, 2007 8:12 am    Post subject: Bad sound after kernel upgrade Reply with quote

I recently upgraded my kernel from gentoo-source 2.6.15-r1 to 2.6.18-r3.
Since then the music output from my CD & ogg players (alsaplayer, amarok) is approximately a semi-tone lower than it should be??? If i boot the old kernel the music output is correct.
Any idea what is causing this?
How can I fix it?

Here is some output from dmesg and emerge --search that might be usefull:
Code:

2.6.15-r1
----------
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 59376 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel ICH5 with AD1985 at 0xffa7f800, irq 20
oprofile: using NMI interrupt.

Real Time Clock Driver v1.12

alsa-lib = 1.0.13
alsa-utils =  1.0.13
alsa-headers =  1.0.13


2.6.18-r3
-----------
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 56003 usecs
intel8x0: clocking to 45179
ALSA device list:
  #0: Intel ICH5 with AD1985 at 0xffa7f800, irq 20
oprofile: using NMI interrupt.

Real Time Clock Driver v1.12ac


alsa-lib = 1.0.13
alsa-utils =  1.0.13
alsa-headers =  1.0.13


I appreciate the help.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Jan 16, 2007 10:47 am    Post subject: Reply with quote

What modules are loaded?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Tue Jan 16, 2007 10:51 am    Post subject: Reply with quote

Maybe the sampling frequency is not set correctly?
Back to top
View user's profile Send private message
klauter
n00b
n00b


Joined: 03 Dec 2006
Posts: 3

PostPosted: Wed Jan 17, 2007 7:34 am    Post subject: Reply with quote

I think you are right keruskerfuerst. The kernel that plays music correctly is clocking at 48000, while the newer kernel is clocking at 45179. As indicated in dmesg output.
Code:

Old kernel
---------------
intel8x0_measure_ac97_clock: measured 56003 usecs
intel8x0: clocking to 48000

New kernel
---------------
intel8x0_measure_ac97_clock: measured 56003 usecs
intel8x0: clocking to 45179


However, I have no idea why this has changed or how to set it? Stranger still when I booted my machine today the sampling rate was correct???

The modules that are loaded are
Code:

># lsmod
Module                  Size  Used by
i915                   19328  2
rtc                    11700  0
ppdev                   9092  0
lirc_dev               14340  0
8250_pnp                9728  0
8250                   23684  1 8250_pnp
serial_core            18944  1 8250
serio_raw               6660  0


Which module is responsible for sound?

Any ideas how to fix the problem? Thanks for you help!
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Jan 17, 2007 7:49 am    Post subject: Reply with quote

None of those are sound modules. Alsa modules always start with snd.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum