| View previous topic :: View next topic |
| Author |
Message |
deniss n00b

Joined: 06 Jan 2004 Posts: 10
|
Posted: Sun Jun 03, 2007 7:05 am Post subject: [SOLVED]ALSA: scratchy/noisy sound from Intel High-Def Audio |
|
|
Yet another question about Intel HDA... I do have it up and running, but I've been experiencing some scratchy static-type noise when I play MP3's in Audacious. The noise is present (not real loud but hard to ignore) most of the time and on most tracks. It seems to be triggered by the treble part of the spectrum. I'm not sure if the highs are oversaturated or if it's picking up static from something, but I have had no problem playing these same MP3's on my other systems with Intel HDA, and I haven't had any problem there.
I am running a 2.6.20-gentoo-r8 (i686) kernel, with SMP PREEMPT. I have all ALSA-related stuff compiled into the kernel at this time. I have an Intel D955XBK motherboard, and the onboard Intel HDA is controlled by SigmaTel STAC9221D A2 chip.
lspci says:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev01).
Here's some /proc info:
| Code: |
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xe5200000 irq 21
cat /proc/asound/devices
0: [ 0] : control
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
33: : timer
cat /proc/asound/timers
G0: system timer : 1000.000us (10000000 ticks)
G1: RTC timer : 976.562us (100000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
Client application 26996 : running
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-0-3: PCM capture 0-0-3 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
cat /proc/asound/pcm
00-01: STAC92xx Digital : STAC92xx Digital : playback 1
00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 2
cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc1 emulation code)
Kernel: Linux biggun 2.6.20-gentoo-r8 #2 SMP PREEMPT Sun May 13 05:41:30 EDT 2007 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA Intel at 0xe5200000 irq 21
Audio devices:
0: STAC92xx Analog (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: SigmaTel STAC9221D A2
|
Is there any configuration I can change for this driver while it's compiled into the kernel? The ALSAMIXER doesn't let me vary Treble levels... Is there a sound equalizer utility where I can play with Bass/Treble/Midrange? I played with Audacious, and that didn't change anything.
Which options does the hda-intel driver accept and how do I pass them?
Last edited by deniss on Sun Jun 03, 2007 10:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6607
|
Posted: Sun Jun 03, 2007 8:01 am Post subject: |
|
|
To see the options, use modinfo, e.g.:
| Code: | | modinfo snd-emu10k1 |
To set the options, put them in /etc/modules.d/alsa and run update-modules:
| Code: | | options snd-hda-intel enable_msi=1 model=asus position_fix=1 |
|
|
| Back to top |
|
 |
deniss n00b

Joined: 06 Jan 2004 Posts: 10
|
Posted: Sun Jun 03, 2007 5:16 pm Post subject: |
|
|
| But I have to have my ALSA-related stuff compiled as modules for this to work, right? No way to pass the options if it's compiled directly into the kernel? |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6607
|
Posted: Sun Jun 03, 2007 6:18 pm Post subject: |
|
|
In that case, use /boot/grub/menu.lst, e.g.:
| Code: | | kernel /boot/kernel root=/dev/sda1 usbhid.mousepoll=2 |
usbhid is the module, and mousepoll is the module's attribute to be set. |
|
| Back to top |
|
 |
deniss n00b

Joined: 06 Jan 2004 Posts: 10
|
Posted: Sun Jun 03, 2007 10:21 pm Post subject: |
|
|
Ok, the problem seems to be fixed.
I recompiled the kernel and removed all preemption and MSA stuff, as well as compiled ALSA drivers as modules. I didn't need to pass any special config options to the module - automagic config by the kernel seemed to work perfectly fine.
Now I just need to buy a headphone amp  |
|
| Back to top |
|
 |
|