I already sended this mail to this list ... many times .. but it gets
bounced or wait for moderation. I find this annoying.
I am attaching the files compressed now.
I tested the solution mentioned by Takashi.
I have installed alsa-driver-kmp-default and restarted, but i found
the same behavior so, i didnt make more alsa-info files.
However, i dont know what is "the right repository",
i choosed "multimedia:audio:KMP/openSUSE_11.4"
and also tested "multimedia:audio:KMP/openSUSE_11.4_Update" which
provided the same file.
The file is installed in
linux-i1zx:/home/diego # modinfo snd-hda-intel | grep filename
filename:
/lib/modules/2.6.37.6-0.5-default/kernel/sound/pci/hda/snd-hda-intel.ko
I have also tested model=m51va which also didnt helped.
I dont think that the model, or model-autodetection is the solution for this.
I mean, the problems gets solved after restarting alsa. So alsa does
handles the MIC.
I noted that in /etc/modprobe.d i have 2 sound.conf files.
One is 50-sound.conf and the other is 50-sound.conf.YaST2save
I dont know what is the second one for. If i use yast to edit the
configuration, which i did, it edits the 50-sound.conf
And also, all other files are numbered 50.
What would happen if i change the sound to 51 to make the sound load
after everything else?
Could it break something ? like Yast ?
---------- Forwarded message ----------
From: Diego Jacobi <jacobidiego(a)gmail.com>
Date: 2011/6/26
Subject: SBx00 Azalia ALC663 Working but MIC goes away
To: alsa-devel(a)alsa-project.org
Cc: Takashi Iwai <tiwai(a)suse.de>
Hi people.
I am having this problem for a long time ago, and i couldn't find the
same on google, or a solution for it.
I also don't know the right way to write the question to google,
because almost all are about problems that i don't have.
OpenSUSE 11.4 installed about 2 Months ago.
ASUS laptop n51tp
Athlon X2
ATI Mobility™ Radeon® HD 4650
Audio System:
Built-in Azalia compliant audio chip, with 3D effect & full duplex
Built-in speaker and microphone
Support Audio Jack Detect for Vista Basic Logo
Support Audio CODEC criteria for Vista Premium Logo
AUDIO WORKS but with a problem listed below.
ABSTRACT:
- MIC never works after booting. It needs an alsa restart and gets
broke sometimes..
DETAILED:
If i start the laptop with no external headsets or speaker connected
in front panel. Audio goes through internal speakers.
When i connect an external speaker or headsets (like to talk with
skype), they don't work. And MIC doesn't works.
This is undesired behavior and the windows driver doesn't work that
way. Internal goes mute when i connect an external.
Causes trouble when speaking with skype, as everyone can heard.
I have to reset alsa with "rcalsasound restart" with headsets plugged in.
IF i start the laptop with the headsets plugged in. The internal
speakers will not work at all. Always in mute. But the external will
work. Also the MIC wont work.
I have to reset alsa with "rcalsasound restart" with headsets plugged in.
If i do some work with the laptop using different multimedia sources,
it may broke.
Most of the time i get called by skype and the MIC is surprise
surprise, not working. Then i have to close all programs, restart alsa
and open skype again to be able to talk.
Thats the main reason to post here.
TESTS RESULTS:
I have runned alsa-info.sh with a different set of tests. So i write
the cases for each one, and the filename of the attached.
----------------------------
Boot without anything connected to Front panel.
Open Banshee and play.
Internal speakers works.
Plug headsets.
They don't work.
===> alsa-info.txt.noheadsets
Open Skype & do test call.
MIC doesn't work.
"rcalsasound restart" while headsets are plugged
Internal AND headsets are working fine.
Open Skype & do test call.
MIC works. Second call works best.
===> alsa-info.txt.workingright
----------------------------
Boot with headsets plugged.
Open Banshee and play.
Headsets works.
Unplug headsets.
Internal Speakers doesn't work.
Open Skype & do test call.
MIC doesn't works.
===> alsa-info.txt.headsetsnomic
"rcalsasound restart" while headsets are plugged
Restart Skype & do test call.
First call, noise recorded.
Second call, MIC works.
Unplug headsets.
Internal Speakers works.
===> alsa-info.txt.workingright2
----------------------------
With the "working right" condition.
Do normal tasks.
Open emesene & Skype.
Open Opera. (always leaved opened)
Open some pages with Firefox (hotmail & other flashintensiv sites)
Went to take a shower & Came back
Internal speakers don't work anymore.
Headsets works
MIC doesn't works.
===> alsa-info.txt.onlyheadsetsnomic
rcalsasound restart
Internal speakers works.
Headsets works
Skype requires to be restarted, banshee doesn't.
First call, noise recorded.
Second call, MIC works.
===> alsa-info.txt.workingright3
In the gnome's Audio-preferences dialog, the input tab, the level-bars :
- show as ghosts when it doesn't work.
- shows green changing, when it does works.
- shows as ghosts if no program is using the mic and changes to green
if i start the recorder.
Restarting alsa requires closing Opera, Firefox, Skype, Emesene,
Banshee, etc. to work or some of them will broke the MIC again. It
also requires root privileges.
A broken headset also causes this behavior when i plug it, and then
MIC stops working until a reset.
By a broken headset i mean a very low quality crappy MIC Noganet,
which worked fine about 1 week, and then it started to only function
by placing the cable on special positions and not moving it. Don't buy
Noganet!
MY GUESS about the problems:
as almost electronic engineer.
The MIC may seem an initialization problem, as it never happened on
windows, but i don't have it anymore installed, since long now.
The driver requires to detect check for high impedance at the front
panel and mute the internal ones, and/or provide a way to mute them
separately.
I wonder why i cant see my headsets as a separate entry of the mixers.
A short-circuit problem may be happening in my front panel, and under
some circumstances, like moving the cables, it causes some chipset
failure over the MIC controller. The driver is not handling this error
and it stays crashed until a reset.
However, it doesn't explains why seeing a video in flashplayer in
opera may cause this too.
I will appreciate any help, and thanks to everyone reading this not-short post.
Cheers.
Diego
Below: Data about my system.
============================================================
============================================================
============================================================
Only "Master" and "Capture" are shown on alsa-mixer. Both full. But
the problem here is not the volume.
diego@linux-i1zx:~> skype --version
Skype 2.2.0.25
Copyright (c) 2004-2011, Skype Limited
linux-i1zx:/home/diego # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
linux-i1zx:/home/diego # cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfacf4000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfadec000 irq 42
linux-i1zx:/home/diego # cat /proc/asound/devices
2: : timer
3: [ 0- 1]: digital audio playback
4: [ 0- 0]: digital audio playback
5: [ 0- 0]: digital audio capture
6: [ 0- 0]: hardware dependent
7: [ 0] : control
8: [ 1- 3]: digital audio playback
9: [ 1- 0]: hardware dependent
10: [ 1] : control
11: : sequencer
linux-i1zx:/home/diego # cat /proc/asound/oss/devices
0: [0- 0]: mixer
3: [0- 0]: digital audio
4: [0- 0]: digital audio
12: [0- 1]: digital audio
16: [1- 0]: mixer
linux-i1zx:/home/diego # cat /proc/asound/timers
G0: system timer : 4000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
P1-3-0: PCM playback 1-3-0 : SLAVE
linux-i1zx:/home/diego # cat /proc/asound/pcm
00-00: ALC663 Analog : ALC663 Analog : playback 1 : capture 1
00-01: ALC663 Digital : ALC663 Digital : playback 1
01-03: HDMI 0 : HDMI 0 : playback 1
linux-i1zx:/home/diego # cat /etc/modprobe.d/50-sound.conf
options snd slots=snd-hda-intel,snd-hda-intel
# 5Dex.PIu7BLVZl12:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
# NXNs.yqXoVEq89wB:R700 Audio Device [Radeon HD 4000 Series]
alias snd-card-1 snd-hda-intel
linux-i1zx:/home/diego # lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI
bridge (ext gfx port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI
bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI
bridge (PCIE port 2)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI
bridge (PCIE port 3)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor
HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor
Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor
Link Control
01:00.0 VGA compatible controller: ATI Technologies Inc M96 [Mobility
Radeon HD 4650]
01:00.1 Audio device: ATI Technologies Inc RV710/730
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:00.0 Network controller: Atheros Communications Inc. AR928X
Wireless Network Adapter (PCI-Express) (rev 01)
06:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
06:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 22)
06:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 12)
06:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
linux-i1zx:/home/diego # dmesg | grep sound
[ 9.759600] input: HDA ATI SB Mic as
/devices/pci0000:00/0000:00:14.2/sound/card0/input11
[23782.924422] input: HDA ATI SB Mic as
/devices/pci0000:00/0000:00:14.2/sound/card0/input13
[23897.439740] input: HDA ATI SB Mic as
/devices/pci0000:00/0000:00:14.2/sound/card0/input14
[23924.488713] input: HDA ATI SB Mic as
/devices/pci0000:00/0000:00:14.2/sound/card0/input15
[23999.613391] input: HDA ATI SB Mic as
/devices/pci0000:00/0000:00:14.2/sound/card0/input16
[25937.965371] input: HDA ATI SB Mic as
/devices/pci0000:00/0000:00:14.2/sound/card0/input17
linux-i1zx:/home/diego # dmesg | grep hda
[ 50.625207] hda-intel: IRQ timing workaround is activated for card
#1. Suggest a bigger bdl_pos_adj.
[23786.414301] hda-intel: IRQ timing workaround is activated for card
#1. Suggest a bigger bdl_pos_adj.
[23900.659802] hda-intel: IRQ timing workaround is activated for card
#1. Suggest a bigger bdl_pos_adj.
[23928.322973] hda-intel: IRQ timing workaround is activated for card
#1. Suggest a bigger bdl_pos_adj.
[24003.419618] hda-intel: IRQ timing workaround is activated for card
#1. Suggest a bigger bdl_pos_adj.
[25940.535502] hda-intel: IRQ timing workaround is activated for card
#1. Suggest a bigger bdl_pos_adj.
linux-i1zx:/home/diego # lsmod | grep snd
snd_pcm_oss 47887 0
snd_mixer_oss 16849 1 snd_pcm_oss
snd_seq 57361 0
snd_seq_device 6646 1 snd_seq
snd_hda_codec_hdmi 24875 1
snd_hda_codec_realtek 274207 1
snd_hda_intel 24912 2
snd_hda_codec 95606 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6038 1 snd_hda_codec
snd_pcm 87993 4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 21844 2 snd_seq,snd_pcm
snd 66158 15 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 6854 1 snd
snd_page_alloc 7897 2 snd_hda_intel,snd_pcm