[feisty] HDA-Intel sound problems

Bug #83015 reported by Janek Thomaschewski on 2007-02-03
32
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Low
Ubuntu Audio Team

Bug Description

I have here a Medion PC with a HDA Intel card and in previous versions of ubuntu this card was detected without any problems but now in feisty there is something really crazy: Sometimes all works perfect. The card is detected, sound works in all applications with alsa or oss and aoss but sometimes the card can't be detected and in the control-center in the audio manager is only the soundchip of my tv card listet (normal) but not the HDA Intel card...
I tryed cold start, warm start (I don't know if this are also the right english words...) and so on but I can't find a connection between different ways to start. It looks like it's random.

Can you help me debugging this curious thing? I have no idea how to do that... and I coul'nt find another bug report like this.

PS: I'm not shure if this problem have to do with alsa or the kernel...

Related branches

description: updated
Stéphane Graber (stgraber) wrote :

can you post the output of "dmesg" please

Janek Thomaschewski (thefoxx) wrote :

Okay, no problem. I tryed | grep hda and so on but there was only a very small output so I uploaded the full dmesg output.
While I did that my soundcard worked without problems. Should I do that a second time with the problem?

Janek Thomaschewski (thefoxx) wrote :

And after a reboot my sound is away and here the new dmesg output :)

Stéphane Graber (stgraber) wrote :

Seeing that :
[ 14.860153] saa7134 ALSA driver for DMA sound loaded
[ 14.860187] saa7134[0]/alsa: saa7134[0] at 0xd8000000 irq 20 registered as card -2
[ 14.860675] saa7134[1]/alsa: saa7134[1] at 0xd8002000 irq 21 registered as card -1
[ 14.911163] cannot find the slot for index 0 (range 0-1)
[ 14.911169] hda-intel: Error creating card!
[ 14.911174] HDA Intel: probe of 0000:00:1b.0 failed with error -12

It could be :
-An alsa driver problem (not correctly detected card)
-A conflict with the saa7134 driver (I don't really understand those -2 and -1 card number)
-An ACPI problem (IRQ conflict)

I'd start by blacklisting saa7134 in /etc/modprobe.d/blacklist to see if there is any change.

Janek Thomaschewski (thefoxx) wrote :

The -1 and -2 is written in a alsa-base config file (I think so) becouse it's not used for normal soundcards but only tv cards I think - but I'm not sure.
I'm now not under my system but I will post my results with blacklisting soon.

Janek Thomaschewski (thefoxx) wrote :

This workaround fix my problems under feisty. But why is there first with feisty the problem? I hope you include this workaround in the stable feisty release.
I included the dmesg output with the blacklisted driver... I don't know whether it helps.

Andrew Ash (ash211) wrote :

So it sounds like the saa7134 module should be blacklisted for your sound card. Could you please provide the output of `lspci -vvn`? That should be all the information the devs need to implement this in feisty.

Changed in alsa-driver:
status: Unconfirmed → Needs Info
Janek Thomaschewski (thefoxx) wrote :

No problem. Here is the ouput

Andrew Ash (ash211) wrote :

Thanks for that info. I think it should be enough, but stay posted in case an actual dev needs more info!

Changed in alsa-driver:
importance: Undecided → Low
status: Needs Info → Confirmed
Janek Thomaschewski (thefoxx) wrote :

Yesterday a apt-upgrade overwrote the blacklist file and the problems cames again. I allowed overwriting becouse I thaught that this will fix the problem forever (Packed into the feisty release).

DeLaF (esteban-delaf) wrote :

I install Ubuntu Feisty yesterday and I was have problem with my sound card snd-hda-intel (Realtek ALC861-VD). Finally, after of search fixed the problem adding to /etc/modprobe.d/alsa-base the net line:

options snd-cmipci mpu_port=0x330 fm_port=0x388

Now my sound card works,but only the external sound,if I conect a headphone this not works.. searching the answer..

PS: sorry, my bad english is because i speak spanish

Nicola Ferralis (feranick) wrote :

I have a HDA card on a Dell Latitude D620, running 7.04. The card is recognized, everything works as expected. However the mic (both internal and external) are not working after resuming from suspend. A reboot brings back the mic again.

miloos (miloos) wrote :

I have Dell Latitude D505, and a few days I have no sound. when I upgrade to feisty everything was fine for a few weeks,

I tried to change sound driver in sound preferences, but no sound i heard with all of them, when I play mp3 in xmms and in sound preferences change driver to OSS it gives me error that resource is busy

in device manager is sound card recognized correctly
in dmesg is no info about sound

felipelavinz (felipe-lavin) wrote :

I have an EasyNote MX456+ Packard Bell with HDA-Intel sound, and I've been getting some issues too.

Sound is fine when login (the Ubuntu sound sounds every time) but after I'm logged trouble starts: I can hear music or video sound, and modify the volume with the software controls (that is, VLC for video or anything else for audio), but if I try to change the volume using the hotkeys ("Fn + F3/F4") or Ubuntu's (¿or is it GNOME?) volume control (the one on the upper panel), all sound is gone until restart.

I tried to change the volume mixer from "HDA Intel (Alsa mixer)" to "Analog Devices 1986A (OSS Mixer)", but then I wouldn't get any sound at all; changed it back to HDA Intel and still having the same problem.

Sound card is recognized correctly in device manager.

I had the same problem with kernel is 2.6.20-15-generic on my acer aspire. Then I'm still using the old kernel and it is ok.

I tried everything, inclunding the tutorial posted on other threads. Nothing happens.

Cristian LINUX (cmosquera) wrote :

The same problem with TOSHIBA SATELLITE L-35 , card
00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio [1002:437b] (rev 01)
        Subsystem: Toshiba America Info Systems Unknown device [1179:ff31]
        Flags: bus master, slow devsel, latency 64, IRQ 19
        Memory at d0400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied

iGNASI (ignasinacho) wrote :

The same problem with PC (MotherBoard Asus P4-C800-Deluxe) and card:
ignasi <at> ignasi-pc:~$aplay -l
**** Lista de PLAYBACK Dispositivos Hardware ****
tarjeta 0: ICH5 [Intel ICH5], dispositivo 0: Intel ICH [Intel ICH5]
  Subdispositivos: 0/1
  Subdispositivo #0: subdevice #0
tarjeta 0: ICH5 [Intel ICH5], dispositivo 4: Intel ICH - IEC958 [Intel ICH5 - IEC958]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0

ignasi <at> ignasi-pc:~$ lspci -v | grep audio
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)

ignasi <at> ignasi-pc:~$ uname -r
2.6.20-15-generic

superman (iclin) wrote :

same problem with laptop acer TravelMate 2480. It was working fine under 6.10 though i had to configure sound in alsamixer.

superman (iclin) wrote :

Sound is fine when login (the Ubuntu sound sounds every time) but after I'm logged trouble starts: I can hear music or video sound, and modify the volume with the software controls (that is, VLC for video or anything else for audio), but if I try to change the volume using the hotkeys ("Fn + F3/F4") or Ubuntu's (¿or is it GNOME?) volume control (the one on the upper panel), all sound is gone until restart.

I tried to change the volume mixer from "HDA Intel (Alsa mixer)" to "Analog Devices 1986A (OSS Mixer)", but then I wouldn't get any sound at all; changed it back to HDA Intel and still having the same problem.

Sound card is recognized correctly in device manager.
 Terminator-Rex said on 2007-04-23:

When i said same problem.. i was referring to the above. ^

Lotharsson (lotharsson) wrote :

Argh - I have the same problem today on Feisty release version. After a reboot I was surprised to find that the HDA Intel sound card was not listed in my playback devices. It was previously recognized - as far as I can tell, no configuration had changed between reboots.

My dmesg shows the same issue (cannot find slot, error creating card, probe failed with error -12).

I also have two saa7134 cards, and they are also mapped to indices -1 and -2 in the alsa-base config file, where the snd-hda-intel driver is explicitly mapped to index 0. This is to keep the SAA7134 cards from becoming index 0 (which otherwise happens randomly, and then ALSA audio playback is screwed up because card 0 is default, but the SAA7134 are capture cards with no output devices). I'm on an Asus P5B Deluxe motherboard.

I can blacklist saa7134 in /etc/modprobe.d/blacklist, but then the SAA7134 cards are inactive which is not very useful in MythTV box. It seems at this point I either have TV capture or I have sound output.

Any ideas would be most appreciated before my wife starts getting upset about the broken MythTV and pining after TiVo!

Norbert Schultz (zaiib) wrote :

Same here after inserting a Webcam (Labtec Webcam Pro) with an integrated microfone (.
First Soundcard (MAudio Audiophile 2496) stil works
Second Soundcard snd-hda-intel not (Nvidia HDA)
Third (USBCam) yes

When I unplug Webcam, modprobe snd-hda-intel, plug in Webcam, it works too...

I thought this snipped in /etc/modprobe.d/alsabase should work for me but it doesn't:
options snd-ice1712 index=0 # Maudio Audiophile
options snd-hda-intel index=1 # Intel HDA
options snd-usb-audio index=2 # Webcam

felipelavinz (felipe-lavin) wrote :

Found a workaround on this blog:
http://www.bloog.cl/linux/solucion-a-problemas-de-sonido-en-ubuntu-feisty-con-chips-intel/ (in Spanish)

1. edit alsa-base:
sudo gedit /etc/modprobe.d/alsa-base

2. add this line to the end of that file:
options snd-hda-intel model=3stack

3. save y close the file

4. restart

Very simple, and so far has worked fine

LGB [Gábor Lénárt] (lgb) wrote :

Well, I had the same problem, however using 'model=3stack' as module parameter fixed the situation! Thanks a lot!

This sound hardware is:

00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
        Subsystem: Micro-Star International Co., Ltd. Unknown device 725a
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size: 32 bytes
        Interrupt: pin ? routed to IRQ 19
        Region 0: Memory at fdff4000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000 Data: 0000

felipelavinz's solution with model=3stack worked for me, as well (with a Toshiba Satellite L35).

ghost (kingsmilitia) wrote :

I just signed up to this forum to thank the dude that provided this solution
I had this problem for a while, I'm glad that he helped me and others

THANKS A LOT MAN!!!

Now the only problem i have to fix is my ubuntu won't wake up from hibernate state!

Janek Thomaschewski (thefoxx) wrote :

the model=3stack solution worked also for me - partally: Sometimes the HDA Intel alsa device is the first- and sometimes the 3th soundcard in the list of Preferences/Audio. So sometimes when I boot I have to change it manually to HDA Intel...

Daniel T Chen (crimsun) on 2007-06-20
Changed in alsa-driver:
assignee: nobody → ubuntu-audio
status: Confirmed → Fix Committed
Daniel T Chen (crimsun) wrote :
Download full text (3.8 KiB)

alsa-driver (1.0.14-1ubuntu1) gutsy; urgency=low

  * Merge from Debian unstable, remaining changes:
    - debian/alsa-base.modprobe: Load snd-seq,
    - debian/alsa-base.postinst: Forcibly remove /etc/modprobe.d/sound
      on dist-upgrade,
    - debian/control: Don't Depend on modutils, and adhere to
      DebianMaintainerField,
    - debian/linux-sound-base.dirs: Don't create modutils or discover,
    - debian/rules: Enable MPU for snd-cmipci,
    - Only ship modprobe configuration,
    - Remove default mode,
    - Invoke modprobe with -Qb and command line options,
    - Remove modprobe post-install script in favour of using udev,
    - Continue to ship the initscript in the apm scripts dir.
  * New upstream version closes LP: #45841, LP: #51357, LP: #57294,
    LP: #59569, LP: #63971, LP: #66843, LP: #68930, LP: #75725,
    LP: #77024, LP: #77099, LP: #77101, LP: #83015, LP: #87195,
    LP: #88546, LP: #88570, LP: #90417, LP: #91721, LP: #92307,
    LP: #92358, LP: #95597, LP: #108563, LP: #110599, LP: #115186,
    LP: #118173, LP: #119086.

alsa-driver (1.0.14-1) unstable; urgency=low

  * New upstream release. (closes: #391991, #401074, #421853)

  [ Jordi Mallach ]
  * debian/control: add XS-Vcs-Browser and XS-Vcs-Svn headers.

  [ Elimar Riesebieter ]

  * Patch management switched to quilt. This is more comfortable.
  * Updated alsa-drivers debconf templates.
    Thanks, debian-l10n-english contributors (closes: #425208).
  * Updated alsa-drivers debconf translations:
    Galician: Jacobo Tarrio (closes: #425804).
    Japanese: Kenshi Muto (closes: #426007).
    Portuguese: Traduz (closes: #426111).
    Malayalam: Praveen A (closes: #426241).
    German: Helge Kreutzmann (closes: #426375).
    Czech: Miroslav Kure (closes: #426427).
    Vietnamese: Clytie Siddall (closes: #427148).
    Dutch: Bart Cornelis (closes: #428032).
    Russian: Yuri Kozlov (closes: #428136).
    Spanish: Carlos Galisteo de Cabo (closes: #428572)
    Swedish: Daniel Nylander (closes: #426202)
    Catalan: Jordi Mallach (closes: #428224)
  * Added alsa-drivers debconf templates translations:
    Basque: Piarres Beobide (closes: #425810).
    Bulgarian: Damyan Ivanov (closes: #425854).
    Tamil: Tirumurti Vasudevan (closes: #426081).
    Italian: Luca Monducci (closes: #426152).
    Korean: Sunjae Park (closes: #426618).
    Arabic: Ossama Khayat (closes: #428264)

alsa-driver (1.0.14~rc4-1) experimental; urgency=low

  [ Elimar Riesebieter ]
  * New upstream release candidate.
  * Added Malayalam translation. Thanks Santhosh Thottingal. (closes: #419524)

alsa-driver (1.0.14~rc3-1) experimental; urgency=low

  [ Elimar Riesebieter ]
  * New upstream release candidate
  * Merged etch changes

alsa-driver (1.0.14~rc1-1) experimental; urgency=low

  [ Elimar Riesebieter ]
  * New upstream release candidate
  * Removed debian/patches/98_ens1371_inaudible_sound_def.dpatch. Applied
    different from upstream

alsa-driver (1.0.13-5) unstable; urgency=medium

  [ Elimar Riesebieter ]
  * Added snd-seq-midi as an optional load above generic modules (snd-rawmidi)
    Thanks Eduard Dumitrescu for testing. (closes: #408036)
  * Added "cx88_alsa (PCI: TV cards...." to d...

Read more...

Changed in alsa-driver:
status: Fix Committed → Fix Released
sebastw (sebastw-tuxfamily) wrote :

I have same symptoms.

Dmesg :
[ 22.568000] hda_intel: azx_get_response timeout, switching to single_cmd mode...
[ 26.132000] hda_codec: No auto-config is available, default to model=ref
[ 33.272000] hda-intel: no codecs initialized

lspci -nn :
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
        Subsystem: Dell Unknown device 0229
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000 Data: 0000
        Capabilities: [70] Express Unknown type IRQ 0
                Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s unlimited, L1 unlimited
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
                Link: Latency L0s <64ns, L1 <1us
                Link: ASPM Disabled CommClk- ExtSynch-
                Link: Speed unknown, Width x0

I need help please

Norbert Schultz (zaiib) wrote :

Bug is still in gutsy. HDA-Intel seem not to work on card=1 when USB Camera (incl. Microphone) is plugged in. (At least on initialisation). model=3stack does not fix this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers