You are not logged in.

#1 2009-01-24 12:23:03

gejr
Member
Registered: 2007-05-23
Posts: 92

snd-hda-intel or alsa broken with 2.6.28 ?

Since I upgraded to kernel 2.6.28 today, my sound seems to have broken. Following is a collection of info. Tell me if I forgot anything essential:)

This goes for a HP dv4-1080 notebook pc.

# lspci  00:1b.0
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    Subsystem: Hewlett-Packard Company Device 30f7
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin B routed to IRQ 758
    Region 0: Memory at df000000 (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] MSI: Mask- 64bit+ Count=1/1 Enable+
        Address: 00000000fee0300c  Data: 41c9
    Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
            ExtTag- RBE- FLReset+
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
        LnkCap:    Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
            ClockPM- Suprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
    Capabilities: [100] Virtual Channel <?>
    Capabilities: [130] Root Complex Link <?>
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel
# uname -r
2.6.28-ARCH
# cat /proc/asound/cards 
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdf000000 irq 758
# pacman -Qs alsa
[local/alsa-lib 1.0.18-1
    An alternative implementation of Linux sound support
local/alsa-oss 1.0.17-1
    OSS compatibility library
local/alsa-plugins 1.0.18-1
    Extra alsa plugins
local/alsa-utils 1.0.18-1
    An alternative implementation of Linux sound support
# amixer -d
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'IEC958 Playback Source',1
  Capabilities: enum
  Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
  Item0: 'Digital Playback'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Analog Loopback',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'DAC0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'DAC1',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Digital Input Source',0
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1' 'Digital Mic 2'
  Item0: 'Analog Inputs'
Simple mixer control 'Digital Input Source',1
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1' 'Digital Mic 2'
  Item0: 'Analog Inputs'
Simple mixer control 'Import0 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import1 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'PC Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [on]

I tried rmmod/modprobe of snd-hda-intel and got this in my dmesg:

HDA Intel 0000:00:1b.0: PCI INT B disabled
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 758 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
input: HDA Digital PCBeep as /class/input/input12

Also worth mentioning:
- There's a LED on the notebook which should be white, but it turns red during bootup and stays that way. It seems to be while "Loading modules" or "Loading standard ACPI modules" are run.
- I don't get any errors when I try to play a wav/mp3 with mplayer. It seems to play, but I can't hear anything.
- I think alsamixer shows a different Chip than it did in 2.6.27 (where sound indeed did work). I can unfortunately not remember exactly what it used to report, but now it says "IDT 92HD71B7X". I think it might've said something like "HD Audio" earlier, but I'm really not sure.

Any suggestions highly appreciated :-)

Last edited by gejr (2009-01-24 15:58:59)

Offline

#2 2009-01-24 19:52:41

gejr
Member
Registered: 2007-05-23
Posts: 92

Re: snd-hda-intel or alsa broken with 2.6.28 ?

Progress!

I compiled/installed the latest "daily snapshot" of alsa-driver, and now i have sound:)

It's weird though. My alsamixer looks very weird. All my regular controls are gone:
Screenshot

At least I remember having the PCM control in 2.6.27.

What may have happened?

Last edited by gejr (2009-01-24 19:53:10)

Offline

#3 2009-01-24 20:43:03

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: snd-hda-intel or alsa broken with 2.6.28 ?

arrrgh! wasn't this *last* week's gotcha?

ALSA WIKI - HDA driver

i might be losing track at this point, but i'm pretty sure this has been covered a few times in other threads.

Last edited by kludge (2009-01-24 20:45:24)


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#4 2009-01-25 12:25:21

gejr
Member
Registered: 2007-05-23
Posts: 92

Re: snd-hda-intel or alsa broken with 2.6.28 ?

I do not seem to find an answer to it. It's hard to figure out what's wrong, as nothing's really "wrong". I just have the controls messed up.
The "Speaker" and the "Master" works for changing volume, but in 2.6.27 (or before I installed this latest alsa driver) i did have PCM and what (to me) looked like a more familiar set of controls.

Well, I have the classic "headset won't work on input problem", but i've tried loading the snd_hda_intel module with all different settings I can think of (enable_msi=1, single_cmd=1 probe_mask, model=<lots of different>) and still it won't work.

So if you can find any of these previous threads, I'd be very happy. The forums' search function fails me again.

Offline

#5 2009-01-25 14:00:26

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: snd-hda-intel or alsa broken with 2.6.28 ?

..... I'm starting to think ALSA is broken by design, you see so many people with problems related to alsa/sound these days. Granted hda codecs are everywhere now and they can be quite tricky to make work but thats not a really good excuse to keep having a broken piece of software.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2009-01-29 17:57:50

echasslau
Member
Registered: 2007-09-21
Posts: 113

Re: snd-hda-intel or alsa broken with 2.6.28 ?

Did anybody tried a downgrade?

Offline

#7 2009-02-02 14:47:03

echasslau
Member
Registered: 2007-09-21
Posts: 113

Re: snd-hda-intel or alsa broken with 2.6.28 ?

Does that mean, we can not upgrade to any 2.6.28.* kernel (and perhaps higher) or is there a known error that will be fixed?

EDIT:
...and it not seems to be an alsa problem...

Last edited by echasslau (2009-02-02 14:52:52)

Offline

#8 2009-02-02 14:48:49

gejr
Member
Registered: 2007-05-23
Posts: 92

Re: snd-hda-intel or alsa broken with 2.6.28 ?

It seems I'm not the only one having this problem...

Offline

#9 2009-02-02 17:04:07

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: snd-hda-intel or alsa broken with 2.6.28 ?

same here on Lenovo R61... turn off "Beep" :-)


THX!!
cu matsche

Offline

#10 2009-02-02 17:36:21

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: snd-hda-intel or alsa broken with 2.6.28 ?

no problem on 2.6.28.2 and alsa 1.0.18-1
laptop MSI GX 700
I would suggest options in config file or the newest alsa 19


Zygfryd Homonto

Offline

#11 2009-02-02 17:53:33

gejr
Member
Registered: 2007-05-23
Posts: 92

Re: snd-hda-intel or alsa broken with 2.6.28 ?

zyghom wrote:

no problem on 2.6.28.2 and alsa 1.0.18-1
laptop MSI GX 700
I would suggest options in config file or the newest alsa 19

What options? I have it working with 2.6.28 and alsa 19, but the controls are all weird, and the sound output doesn't change when i insert my headset in its jack.

Offline

#12 2009-02-02 18:12:13

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: snd-hda-intel or alsa broken with 2.6.28 ?

option depends on card model
in my case it is:
cat /etc/modprobe.conf
options snd-hda-intel model=targa-2ch-dig


Zygfryd Homonto

Offline

#13 2009-02-10 09:07:15

gejr
Member
Registered: 2007-05-23
Posts: 92

Re: snd-hda-intel or alsa broken with 2.6.28 ?

Sorry for bringing this one back to life, but I just want to add for readers who come here looking for answers:

Try installing the daily snapshot of alsa-driver from http://ftp.kernel.org/pub/linux/kernel/ … iwai/alsa/

I don't know why, but they work for me. The current 1.0.19 does not work for me.

Offline

#14 2009-02-10 09:08:26

gejr
Member
Registered: 2007-05-23
Posts: 92

Re: snd-hda-intel or alsa broken with 2.6.28 ?

gejr wrote:

Sorry for bringing this one back to life, but I just want to add for readers who come here looking for answers:

Try installing the daily snapshot of alsa-driver from http://ftp.kernel.org/pub/linux/kernel/ … iwai/alsa/

I don't know why, but they work for me. The current 1.0.19 does not work for me.

Edit: Oh, and I still have

options snd-hda-intel enable_msi=1

in my /etc/modprobe.conf

Offline

Board footer

Powered by FluxBB