Skip to contentSkip to conversation

Alsa 1.0.13 (and others) does not work on ALC880

DISCUSSION Eric 3 participants 4 messages May 14, 2007 – May 18, 2007 1 message not in the archive

lore
Share & tools
lore

Eric

author
#0 lore raw

I installed Ubuntu Feisty on a D900t laptop : it contains a ALC880 audio chipset

eric@gondor:~$ lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) High Definition Audio Controller (rev 03)

When modprobing the modules I get :

eric@gondor:~$ sudo modprobe -v snd-hda-intel model=3stack-digout
insmod /lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-codec.ko 
insmod /lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-intel.ko model=3stack-digout

while /var/log/messages says :

May 14 14:42:45 gondor kernel: [ 3699.070904] hda_intel:

azx_get_response timeout, switching to polling mode...

Feisty dist. is provided with alsa-1.0.13. I get no sound, here are the results of aplay :

eric@gondor:~$ aplay
ALSA lib pcm_direct.c:867:(snd_pcm_direct_initialize_slave)
snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:550: Erreur d'ouverture audio: Argument invalide
eric@gondor:~$ 

Here are some other infos :

eric@gondor:~$ tail -2 /proc/asound/oss/sndstat
0: Realtek ALC880
1: SAA7134 Mixer

amixer shows this :

eric@gondor:~$ amixer 
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 228 [89%]
  Front Right: Playback 228 [89%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 55 [43%] [-2304.00dB] [on]
  Front Right: Playback 55 [43%] [-2304.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 64 [50%] [-2016.00dB] [on]
  Front Right: Playback 64 [50%] [-2016.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 56 [44%] [-2272.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 58 [46%] [-2208.00dB] [on]
  Front Right: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 57 [45%] [-2240.00dB] [on]
  Front Right: Playback 57 [45%] [-2240.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 53 [42%] [-2368.00dB] [on]
  Front Right: Playback 53 [42%] [-2368.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 31 [24%] [-3072.00dB] [on]
  Front Right: Capture 31 [24%] [-3072.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 27 [21%] [-3200.00dB] [on]
  Front Right: Capture 27 [21%] [-3200.00dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 24 [19%] [-3296.00dB] [on]
  Front Right: Capture 24 [19%] [-3296.00dB] [on]
Simple mixer control 'Caller ID',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '6ch'
  Item0: '6ch'
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Off-hook',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

aplay -l seems to work :

eric@gondor:~$ aplay -l
**** Liste des PLAYBACK périphériques ****
carte  0: Intel [HDA Intel], périphérique 0 : ALC880 Analog [ALC880
Analog]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 1 : ALC880 Digital [ALC880
Digital]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 6 : Si3054 Modem [Si3054
Modem]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
eric@gondor:~$ cat /proc/asound/cards 
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xb0000000 irq 17
 1 [SAA7134        ]: SAA7134 - SAA7134
                      saa7133[0] at 0xb3006000 irq 22

if I try to do a cat /proc/asound/card0/codec#0 it hangs while /var/log/messages gives a lot of

May 14 14:44:52 gondor kernel: [ 3825.457412] hda_codec: invalid
dep_range_val 0:7fff
May 14 14:44:52 gondor kernel: [ 3825.457696] hda_codec: invalid

dep_range_val 0:7fff
........................

eric@gondor:~$ sudo lspci -nv
00:00.0 0600: 8086:2580 (rev 04)
        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:01.0 0604: 8086:2581 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: b1000000-b2ffffff Prefetchable memory behind bridge: c0000000-cfffffff
Capabilities: [88] Subsystem: 8086:2582
Capabilities: [80] Power Management version 2
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Capabilities: [a0] Express Root Port (Slot+) IRQ 0

00:1b.0 0403: 8086:2668 (rev 03)
Subsystem: 1558:0900
Flags: bus master, fast devsel, latency 0, IRQ 20 Memory at b0000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1d.0 0c03: 8086:2658 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1800 [size=32]

00:1d.1 0c03: 8086:2659 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 3000 [size=32]

00:1d.2 0c03: 8086:265a (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 3020 [size=32]

00:1d.3 0c03: 8086:265b (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 3040 [size=32]

00:1d.7 0c03: 8086:265c (rev 03) (prog-if 20 [EHCI])
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0, IRQ 18 Memory at b0004000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 0604: 8086:244e (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0a, subordinate=0e, sec-latency=32 I/O behind bridge: 00004000-00004fff
Memory behind bridge: b3000000-b30fffff Prefetchable memory behind bridge:
0000000050000000-0000000055ffffff

        Capabilities: [50] Subsystem: 1558:0900

00:1f.0 0601: 8086:2640 (rev 03)
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0

00:1f.1 0101: 8086:266f (rev 03) (prog-if 8a [Master SecP PriP])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 3080 [size=16]

00:1f.3 0c05: 8086:266a (rev 03)

        Subsystem: 1558:0900
        Flags: medium devsel, IRQ 10
        I/O ports at 3060 [size=32]

01:00.0 0300: 10de:00c8 (rev a2) (prog-if 00 [VGA])

        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+

Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0

0a:00.0 0607: 104c:ac50 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 168, IRQ 17
        Memory at b3007000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=0a, secondary=0b, subordinate=0e, sec-latency=176
        Memory window 0: 50000000-53fff000 (prefetchable)
        Memory window 1: 58000000-5bfff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        16-bit legacy interface ports at 0001

0a:01.0 0c00: 104c:8023 (prog-if 10 [OHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at b3004000 (32-bit, non-prefetchable) [size=2K]
        Memory at b3000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

0a:02.0 0104: 105a:3373 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 96, IRQ 19
        I/O ports at 4480 [size=64]
        I/O ports at 44c0 [size=16]
        I/O ports at 4400 [size=128]
        Memory at b3005000 (32-bit, non-prefetchable) [size=4K]
        Memory at b3020000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [60] Power Management version 2

0a:03.0 0200: 10ec:8169 (rev 10)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
        I/O ports at 4000 [size=256]
        Memory at b3004800 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 54000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

0a:04.0 0480: 1131:7133 (rev f0)
Subsystem: 1461:f31e
Flags: bus master, medium devsel, latency 64, IRQ 23 Memory at b3006000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

0a:05.0 0280: 1814:0201 (rev 01)
Subsystem: 1462:6833
Flags: bus master, slow devsel, latency 64, IRQ 20 Memory at b3008000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2

asoundconf output :

eric@gondor:~$ asoundconf list
Names of available sound cards:
Intel
SAA7134

I tried a lot of workarounds but none worked : boot options (irqpoll, pci=noacpi), single_cmd=1, position_fix=1, several models of hda-intel driver, I tried 1.0.13 and 1.0.14rc4 driver, with debug on...

I must add that I already had this problem with previous distributions of Ubuntu. It worked with an old one (Breezy) then in Dapper and Edgy, it did worked ONLY when I self-compiled the driver with debug option enabled I never understood why. And now with Feisty/alsa 1.0.13/ubuntu kernel 2.6.20, or an ubuntu kernel with self-compiled alsa 1.0.14rc4, it does not work. I cannot have one sound :-(.

Please help me ....

Eric

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

With alsa-driver-1.0.14rc4, try loading with "model=clevo", or one of the other models for the ALC880 chip as defined in alsa-driver-1.0.14rc4/alsa-kernel/Documentation/ALSA-Configuration.txt.

If one of them works well, we can easily add your device id to the driver. Otherwise, we will need to do more development for your model. Could you also add the link created by this script:
http://bulletproof.servebeer.com/alsa/scripts/alsa-info.sh

Thanks,

Tobin

Quoted 358 lines · Eric

I installed Ubuntu Feisty on a D900t laptop : it contains a ALC880 audio chipset

eric@gondor:~$ lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) High Definition Audio Controller (rev 03)

When modprobing the modules I get :

eric@gondor:~$ sudo modprobe -v snd-hda-intel model=3stack-digout
insmod /lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-codec.ko 
insmod /lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-intel.ko model=3stack-digout

while /var/log/messages says :

May 14 14:42:45 gondor kernel: [ 3699.070904] hda_intel:

azx_get_response timeout, switching to polling mode...

Feisty dist. is provided with alsa-1.0.13. I get no sound, here are the results of aplay :

eric@gondor:~$ aplay
ALSA lib pcm_direct.c:867:(snd_pcm_direct_initialize_slave)
snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:550: Erreur d'ouverture audio: Argument invalide
eric@gondor:~$ 

Here are some other infos :

eric@gondor:~$ tail -2 /proc/asound/oss/sndstat
0: Realtek ALC880
1: SAA7134 Mixer

amixer shows this :

eric@gondor:~$ amixer 
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 228 [89%]
  Front Right: Playback 228 [89%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 55 [43%] [-2304.00dB] [on]
  Front Right: Playback 55 [43%] [-2304.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 64 [50%] [-2016.00dB] [on]
  Front Right: Playback 64 [50%] [-2016.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 56 [44%] [-2272.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 58 [46%] [-2208.00dB] [on]
  Front Right: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 57 [45%] [-2240.00dB] [on]
  Front Right: Playback 57 [45%] [-2240.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 53 [42%] [-2368.00dB] [on]
  Front Right: Playback 53 [42%] [-2368.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 31 [24%] [-3072.00dB] [on]
  Front Right: Capture 31 [24%] [-3072.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 27 [21%] [-3200.00dB] [on]
  Front Right: Capture 27 [21%] [-3200.00dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 24 [19%] [-3296.00dB] [on]
  Front Right: Capture 24 [19%] [-3296.00dB] [on]
Simple mixer control 'Caller ID',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '6ch'
  Item0: '6ch'
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Off-hook',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

aplay -l seems to work :

eric@gondor:~$ aplay -l
**** Liste des PLAYBACK périphériques ****
carte  0: Intel [HDA Intel], périphérique 0 : ALC880 Analog [ALC880
Analog]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 1 : ALC880 Digital [ALC880
Digital]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 6 : Si3054 Modem [Si3054
Modem]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
eric@gondor:~$ cat /proc/asound/cards 
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xb0000000 irq 17
 1 [SAA7134        ]: SAA7134 - SAA7134
                      saa7133[0] at 0xb3006000 irq 22

if I try to do a cat /proc/asound/card0/codec#0 it hangs while /var/log/messages gives a lot of

May 14 14:44:52 gondor kernel: [ 3825.457412] hda_codec: invalid
dep_range_val 0:7fff
May 14 14:44:52 gondor kernel: [ 3825.457696] hda_codec: invalid

dep_range_val 0:7fff
........................

eric@gondor:~$ sudo lspci -nv
00:00.0 0600: 8086:2580 (rev 04)
        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:01.0 0604: 8086:2581 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: b1000000-b2ffffff Prefetchable memory behind bridge: c0000000-cfffffff
Capabilities: [88] Subsystem: 8086:2582
Capabilities: [80] Power Management version 2
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Capabilities: [a0] Express Root Port (Slot+) IRQ 0

00:1b.0 0403: 8086:2668 (rev 03)
Subsystem: 1558:0900
Flags: bus master, fast devsel, latency 0, IRQ 20 Memory at b0000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1d.0 0c03: 8086:2658 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1800 [size=32]

00:1d.1 0c03: 8086:2659 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 3000 [size=32]

00:1d.2 0c03: 8086:265a (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 3020 [size=32]

00:1d.3 0c03: 8086:265b (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 3040 [size=32]

00:1d.7 0c03: 8086:265c (rev 03) (prog-if 20 [EHCI])
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0, IRQ 18 Memory at b0004000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 0604: 8086:244e (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0a, subordinate=0e, sec-latency=32 I/O behind bridge: 00004000-00004fff
Memory behind bridge: b3000000-b30fffff Prefetchable memory behind bridge:
0000000050000000-0000000055ffffff

        Capabilities: [50] Subsystem: 1558:0900

00:1f.0 0601: 8086:2640 (rev 03)
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0

00:1f.1 0101: 8086:266f (rev 03) (prog-if 8a [Master SecP PriP])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 3080 [size=16]

00:1f.3 0c05: 8086:266a (rev 03)

        Subsystem: 1558:0900
        Flags: medium devsel, IRQ 10
        I/O ports at 3060 [size=32]

01:00.0 0300: 10de:00c8 (rev a2) (prog-if 00 [VGA])

        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+

Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0

0a:00.0 0607: 104c:ac50 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 168, IRQ 17
        Memory at b3007000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=0a, secondary=0b, subordinate=0e, sec-latency=176
        Memory window 0: 50000000-53fff000 (prefetchable)
        Memory window 1: 58000000-5bfff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        16-bit legacy interface ports at 0001

0a:01.0 0c00: 104c:8023 (prog-if 10 [OHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at b3004000 (32-bit, non-prefetchable) [size=2K]
        Memory at b3000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

0a:02.0 0104: 105a:3373 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 96, IRQ 19
        I/O ports at 4480 [size=64]
        I/O ports at 44c0 [size=16]
        I/O ports at 4400 [size=128]
        Memory at b3005000 (32-bit, non-prefetchable) [size=4K]
        Memory at b3020000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [60] Power Management version 2

0a:03.0 0200: 10ec:8169 (rev 10)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
        I/O ports at 4000 [size=256]
        Memory at b3004800 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 54000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

0a:04.0 0480: 1131:7133 (rev f0)
Subsystem: 1461:f31e
Flags: bus master, medium devsel, latency 64, IRQ 23 Memory at b3006000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

0a:05.0 0280: 1814:0201 (rev 01)
Subsystem: 1462:6833
Flags: bus master, slow devsel, latency 64, IRQ 20 Memory at b3008000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2

asoundconf output :

eric@gondor:~$ asoundconf list
Names of available sound cards:
Intel
SAA7134

I tried a lot of workarounds but none worked : boot options (irqpoll, pci=noacpi), single_cmd=1, position_fix=1, several models of hda-intel driver, I tried 1.0.13 and 1.0.14rc4 driver, with debug on...

I must add that I already had this problem with previous distributions of Ubuntu. It worked with an old one (Breezy) then in Dapper and Edgy, it did worked ONLY when I self-compiled the driver with debug option enabled I never understood why. And now with Feisty/alsa 1.0.13/ubuntu kernel 2.6.20, or an ubuntu kernel with self-compiled alsa 1.0.14rc4, it does not work. I cannot have one sound :-(.

Please help me ....

Eric

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Signature · 5 lines
Tobin Davis <[email protected]>
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#2 lore raw

Dear Tobin, here are infos about my system.

I tried all the models for ALC880 with the same result for aplay command :

eric@gondor:~$ aplay
ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
aplay: main:550: Erreur d'ouverture audio: Argument invalide

and the resulting in /var/log/messages (alsa-driver compiled with debugging activated)

May 15 10:50:07 gondor kernel: [ 4265.358277]  [<f8ccdfd0>]
snd_pcm_hw_constraints_complete+0x2c0/0x400 [snd_pcm]
May 15 10:50:07 gondor kernel: [ 4265.358344]  [<f8cce172>]
snd_pcm_open_substream+0x62/0xc0 [snd_pcm]
May 15 10:50:07 gondor kernel: [ 4265.358368]  [add_wait_queue+29/80]
add_wait_queue+0x1d/0x50
May 15 10:50:07 gondor kernel: [ 4265.358391]  [<f8cce2c4>]
snd_pcm_open+0xf4/0x1b0 [snd_pcm]
May 15 10:50:07 gondor kernel: [ 4265.358428]
[default_wake_function+0/16] default_wake_function+0x0/0x10
May 15 10:50:07 gondor kernel: [ 4265.358464]  [<f8a375b1>]
snd_open+0x81/0x160 [snd]
May 15 10:50:07 gondor kernel: [ 4265.358482]  [kobject_get+15/32]
kobject_get+0xf/0x20
May 15 10:50:07 gondor kernel: [ 4265.358491]  [<f8a37530>]
snd_open+0x0/0x160 [snd]
May 15 10:50:07 gondor kernel: [ 4265.358518]  [chrdev_open+168/368]
chrdev_open+0xa8/0x170
May 15 10:50:07 gondor kernel: [ 4265.358544]  [chrdev_open+0/368]
chrdev_open+0x0/0x170
May 15 10:50:07 gondor kernel: [ 4265.358550]  [__dentry_open+186/448]
__dentry_open+0xba/0x1c0
May 15 10:50:07 gondor kernel: [ 4265.358580]
[nameidata_to_filp+53/64] nameidata_to_filp+0x35/0x40
May 15 10:50:07 gondor kernel: [ 4265.358599]  [do_filp_open+80/96]
do_filp_open+0x50/0x60
May 15 10:50:07 gondor kernel: [ 4265.358651]  [<f8a3b1e0>]
snd_ctl_ioctl+0x0/0xbd0 [snd]
May 15 10:50:07 gondor kernel: [ 4265.358714]  [do_sys_open+78/240]
do_sys_open+0x4e/0xf0
May 15 10:50:07 gondor kernel: [ 4265.358747]  [sys_open+28/32]
sys_open+0x1c/0x20
May 15 10:50:07 gondor kernel: [ 4265.358757]
[sysenter_past_esp+105/169] sysenter_past_esp+0x69/0xa9
May 15 10:50:07 gondor kernel: [ 4265.358831]  =======================

The result of alsa-info.sh is on http://pastebin.ca/488975 *
* The results of the following command in alsa-info.sh
cat /proc/asound/card0/codec\#* > /tmp/alsainfo/alsa-hda-intel.tmp 2> /dev/null
give a lot of similar lines in /var/log/messages like the one below

May 15 10:47:20 gondor kernel: [ 4098.351002] ALSA

/usr/src/modules/alsa-driver-1.0.14rc4/pci/hda/hda_codec.c:207:
hda_codec: invalid dep_range_val 0:7fff

Comment :

What is strange is that alsa-driver worked well before, I used it without problems with Ubuntu Breezy (I don't remember the alsa or kernel version but kernel was about 2.6.12 - 2.6.14). The problem appeared when upgrading to dapper and edgy (2.6.15-2.6.17) and alsa-driver only worked when I self-compiled it with debugging enabled, though giving the same kind of messages in /var/log/messages as given above . If it was disabled it gave the same result "ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave". And now EVEN with debugging enabled it does not work ....

Eric

Quoted 9 lines · Tobin Davis

With alsa-driver-1.0.14rc4, try loading with "model=clevo", or one of the other models for the ALC880 chip as defined in alsa-driver-1.0.14rc4/alsa-kernel/Documentation/ALSA-Configuration.txt.

If one of them works well, we can easily add your device id to the driver. Otherwise, we will need to do more development for your model. Could you also add the link created by this script:
http://bulletproof.servebeer.com/alsa/scripts/alsa-info.sh

Quoted 16 lines

Thanks,

Tobin

Quoted 10 lines · Eric

I installed Ubuntu Feisty on a D900t laptop : it contains a ALC880 audio chipset

eric@gondor:~$ lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) High Definition Audio Controller (rev 03)

When modprobing the modules I get :

eric@gondor:~$ sudo modprobe -v snd-hda-intel model=3stack-digout
insmod

/lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-codec.ko

Quoted 1 line
Quoted 1 line

insmod

/lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-intel.ko model=3stack-digout

Quoted 343 lines
Quoted 343 lines

while /var/log/messages says :

May 14 14:42:45 gondor kernel: [ 3699.070904] hda_intel:

azx_get_response timeout, switching to polling mode...

Feisty dist. is provided with alsa-1.0.13. I get no sound, here are the results of aplay :

eric@gondor:~$ aplay
ALSA lib pcm_direct.c:867:(snd_pcm_direct_initialize_slave)
snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:550: Erreur d'ouverture audio: Argument invalide
eric@gondor:~$

Here are some other infos :

eric@gondor:~$ tail -2 /proc/asound/oss/sndstat
0: Realtek ALC880
1: SAA7134 Mixer

amixer shows this :

eric@gondor:~$ amixer
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 228 [89%]
  Front Right: Playback 228 [89%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 55 [43%] [-2304.00dB] [on]
  Front Right: Playback 55 [43%] [-2304.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 64 [50%] [-2016.00dB] [on]
  Front Right: Playback 64 [50%] [-2016.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 56 [44%] [-2272.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 58 [46%] [-2208.00dB] [on]
  Front Right: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 57 [45%] [-2240.00dB] [on]
  Front Right: Playback 57 [45%] [-2240.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 53 [42%] [-2368.00dB] [on]
  Front Right: Playback 53 [42%] [-2368.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 31 [24%] [-3072.00dB] [on]
  Front Right: Capture 31 [24%] [-3072.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 27 [21%] [-3200.00dB] [on]
  Front Right: Capture 27 [21%] [-3200.00dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 24 [19%] [-3296.00dB] [on]
  Front Right: Capture 24 [19%] [-3296.00dB] [on]
Simple mixer control 'Caller ID',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '6ch'
  Item0: '6ch'
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Off-hook',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

aplay -l seems to work :

eric@gondor:~$ aplay -l
**** Liste des PLAYBACK périphériques ****
carte  0: Intel [HDA Intel], périphérique 0 : ALC880 Analog [ALC880
Analog]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 1 : ALC880 Digital [ALC880
Digital]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 6 : Si3054 Modem [Si3054
Modem]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
eric@gondor:~$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xb0000000 irq 17
 1 [SAA7134        ]: SAA7134 - SAA7134
                      saa7133[0] at 0xb3006000 irq 22

if I try to do a cat /proc/asound/card0/codec#0 it hangs while /var/log/messages gives a lot of

May 14 14:44:52 gondor kernel: [ 3825.457412] hda_codec: invalid
dep_range_val 0:7fff
May 14 14:44:52 gondor kernel: [ 3825.457696] hda_codec: invalid

dep_range_val 0:7fff
........................

eric@gondor:~$ sudo lspci -nv
00:00.0 0600: 8086:2580 (rev 04)
        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:01.0 0604: 8086:2581 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: b1000000-b2ffffff Prefetchable memory behind bridge: c0000000-cfffffff
Capabilities: [88] Subsystem: 8086:2582
Capabilities: [80] Power Management version 2
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Capabilities: [a0] Express Root Port (Slot+) IRQ 0

00:1b.0 0403: 8086:2668 (rev 03)
Subsystem: 1558:0900
Flags: bus master, fast devsel, latency 0, IRQ 20 Memory at b0000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1d.0 0c03: 8086:2658 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1800 [size=32]

00:1d.1 0c03: 8086:2659 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 3000 [size=32]

00:1d.2 0c03: 8086:265a (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 3020 [size=32]

00:1d.3 0c03: 8086:265b (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 3040 [size=32]

00:1d.7 0c03: 8086:265c (rev 03) (prog-if 20 [EHCI])
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0, IRQ 18 Memory at b0004000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 0604: 8086:244e (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0a, subordinate=0e, sec-latency=32 I/O behind bridge: 00004000-00004fff
Memory behind bridge: b3000000-b30fffff Prefetchable memory behind bridge:
0000000050000000-0000000055ffffff

        Capabilities: [50] Subsystem: 1558:0900

00:1f.0 0601: 8086:2640 (rev 03)
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0

00:1f.1 0101: 8086:266f (rev 03) (prog-if 8a [Master SecP PriP])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 3080 [size=16]

00:1f.3 0c05: 8086:266a (rev 03)

        Subsystem: 1558:0900
        Flags: medium devsel, IRQ 10
        I/O ports at 3060 [size=32]

01:00.0 0300: 10de:00c8 (rev a2) (prog-if 00 [VGA])

        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+

Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0

0a:00.0 0607: 104c:ac50 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 168, IRQ 17
        Memory at b3007000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=0a, secondary=0b, subordinate=0e, sec-latency=176
        Memory window 0: 50000000-53fff000 (prefetchable)
        Memory window 1: 58000000-5bfff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        16-bit legacy interface ports at 0001

0a:01.0 0c00: 104c:8023 (prog-if 10 [OHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at b3004000 (32-bit, non-prefetchable) [size=2K]
        Memory at b3000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

0a:02.0 0104: 105a:3373 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 96, IRQ 19
        I/O ports at 4480 [size=64]
        I/O ports at 44c0 [size=16]
        I/O ports at 4400 [size=128]
        Memory at b3005000 (32-bit, non-prefetchable) [size=4K]
        Memory at b3020000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [60] Power Management version 2

0a:03.0 0200: 10ec:8169 (rev 10)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
        I/O ports at 4000 [size=256]
        Memory at b3004800 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 54000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

0a:04.0 0480: 1131:7133 (rev f0)
Subsystem: 1461:f31e
Flags: bus master, medium devsel, latency 64, IRQ 23 Memory at b3006000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

0a:05.0 0280: 1814:0201 (rev 01)
Subsystem: 1462:6833
Flags: bus master, slow devsel, latency 64, IRQ 20 Memory at b3008000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2

asoundconf output :

eric@gondor:~$ asoundconf list
Names of available sound cards:
Intel
SAA7134

I tried a lot of workarounds but none worked : boot options (irqpoll, pci=noacpi), single_cmd=1, position_fix=1, several models of hda-intel driver, I tried 1.0.13 and 1.0.14rc4 driver, with debug on...

I must add that I already had this problem with previous distributions of Ubuntu. It worked with an old one (Breezy) then in Dapper and Edgy, it did worked ONLY when I self-compiled the driver with debug option enabled I never understood why. And now with Feisty/alsa 1.0.13/ubuntu kernel 2.6.20, or an ubuntu kernel with self-compiled alsa 1.0.14rc4, it does not work. I cannot have one sound :-(.

Please help me ....

Eric

Quoted 5 lines
Quoted 4 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Tobin thank you for your so helpful recommendations ! In fact the key was probe_mask=1. But I did not see this option in the hda-intel module description :-( ...

Now I added probe_mask)=1 in /etc/modprobe.d/alsa-base and it works either with 1.0.13 or 14rc4 :-).

In fact when alsa is compiled with debug=detect this option is not necessary any more and sound works even without this option ...

Does this option (probe_mask=1) limitates something in the sound system ? Is it better to not use it or is it painless for audio possibilities ?

Thank you again for your help !!!

Now to be more precise :

1) If I compile 14rc4 with debug=detect it can be
compiled, modules can be inserted :
- --> when inserted with

# modprobe -v snd-hda-intel model=clevo
I get in /var/log/messages :
May 18 22:32:05 gondor kernel: [ 6012.711362] ACPI: PCI Interrupt
0000:00:1b.0[A] -> GSI 17 (level, low) -> IRQ 20
May 18 22:32:05 gondor kernel: [ 6012.774627] ALSA
/usr/src/modules/alsa-driver-1.0.14rc4/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:698:
codec_mask = 0x3
May 18 22:32:06 gondor kernel: [ 6013.404197] ALSA
/usr/src/modules/alsa-driver-1.0.14rc4/pci/hda/hda_codec.c:1795:
hda_codec: model 'clevo' is selected
May 18 22:32:08 gondor kernel: [ 6015.083303] ALSA
/usr/src/modules/alsa-driver-1.0.14rc4/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:558:
hda_intel: azx_get_response timeout, switching to polling mode...

- -> when inserted with

# modprobe -v snd-hda-intel model=clevo probe_mask=1
I get in /var/log/messages :
May 18 22:32:50 gondor kernel: [ 6057.162063] ACPI: PCI Interrupt
0000:00:1b.0[A] -> GSI 17 (level, low) -> IRQ 20
May 18 22:32:50 gondor kernel: [ 6057.243574] ALSA
/usr/src/modules/alsa-driver-1.0.14rc4/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:698:
codec_mask = 0x3
May 18 22:32:50 gondor kernel: [ 6057.873098] ALSA
/usr/src/modules/alsa-driver-1.0.14rc4/pci/hda/hda_codec.c:1795:
hda_codec: model 'clevo' is selected

2) If I compile 14rc4 with debug=none it can be
compiled, modules can be inserted :
- --> when inserted with

# modprobe -v snd-hda-intel model=clevo
I get in /var/log/messages :
May 18 19:39:46 gondor kernel: [ 2366.086099] ACPI: PCI Interrupt
0000:00:1b.0[A] -> GSI 17 (level, low) -> IRQ 20
May 18 19:39:49 gondor kernel: [ 2368.491630] ALSA
/usr/src/modules/alsa-driver-1.0.14rc4/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:558:
hda_intel: azx_get_response timeout, switching to polling mode...
and aplay gives :
eric@gondor:/usr/src/modules/alsa-driver-1.0.14rc4$ aplay
ALSA lib pcm_direct.c:867:(snd_pcm_direct_initialize_slave)
snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:550: Erreur d'ouverture audio: Argument invalide
eric@gondor:/usr/src/modules/alsa-driver-1.0.14rc4$

- --> when inserted with

 # modprobe -v snd-hda-intel model=clevo probe_mask=1
May 18 19:41:45 gondor kernel: [ 2484.283312] ACPI: PCI Interrupt
0000:00:1b.0[A] -> GSI 17 (level, low) -> IRQ 20
And it works !!!!

Eric

Quoted 7 lines · Tobin Davis

Ok, you have 14rc4 (according to your email). Try loading the driver with "model=clevo", as it appears that is the system type you have. Make sure the drivers are built with "--with-debug=detect" so that we can get good dmesg output. You shouldn't need any other parameters. The clevo model was added not too long ago. The other model to try is "model=test". This will give you control over all nodes and functions.

Quoted 367 lines

You may also need to add "probe_mask=1" (or something like that) to limit the number of codecs being detected. I don't know why cat /proc/asound/card0/codec#0 would hang.

Tobin

Quoted 358 lines · Eric

I installed Ubuntu Feisty on a D900t laptop : it contains a ALC880 audio chipset

eric@gondor:~$ lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) High Definition Audio Controller (rev 03)

When modprobing the modules I get :

eric@gondor:~$ sudo modprobe -v snd-hda-intel model=3stack-digout
insmod /lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-codec.ko 
insmod /lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-intel.ko model=3stack-digout

while /var/log/messages says :

May 14 14:42:45 gondor kernel: [ 3699.070904] hda_intel:

azx_get_response timeout, switching to polling mode...

Feisty dist. is provided with alsa-1.0.13. I get no sound, here are the results of aplay :

eric@gondor:~$ aplay
ALSA lib pcm_direct.c:867:(snd_pcm_direct_initialize_slave)
snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:550: Erreur d'ouverture audio: Argument invalide
eric@gondor:~$ 

Here are some other infos :

eric@gondor:~$ tail -2 /proc/asound/oss/sndstat
0: Realtek ALC880
1: SAA7134 Mixer

amixer shows this :

eric@gondor:~$ amixer 
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 228 [89%]
  Front Right: Playback 228 [89%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 55 [43%] [-2304.00dB] [on]
  Front Right: Playback 55 [43%] [-2304.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 64 [50%] [-2016.00dB] [on]
  Front Right: Playback 64 [50%] [-2016.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 56 [44%] [-2272.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 60 [47%] [-2144.00dB] [on]
  Front Right: Playback 60 [47%] [-2144.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 58 [46%] [-2208.00dB] [on]
  Front Right: Playback 58 [46%] [-2208.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 57 [45%] [-2240.00dB] [on]
  Front Right: Playback 57 [45%] [-2240.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 53 [42%] [-2368.00dB] [on]
  Front Right: Playback 53 [42%] [-2368.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 31 [24%] [-3072.00dB] [on]
  Front Right: Capture 31 [24%] [-3072.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 27 [21%] [-3200.00dB] [on]
  Front Right: Capture 27 [21%] [-3200.00dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 24 [19%] [-3296.00dB] [on]
  Front Right: Capture 24 [19%] [-3296.00dB] [on]
Simple mixer control 'Caller ID',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '6ch'
  Item0: '6ch'
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Off-hook',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

aplay -l seems to work :

eric@gondor:~$ aplay -l
**** Liste des PLAYBACK périphériques ****
carte  0: Intel [HDA Intel], périphérique 0 : ALC880 Analog [ALC880
Analog]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 1 : ALC880 Digital [ALC880
Digital]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte  0: Intel [HDA Intel], périphérique 6 : Si3054 Modem [Si3054
Modem]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
eric@gondor:~$ cat /proc/asound/cards 
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xb0000000 irq 17
 1 [SAA7134        ]: SAA7134 - SAA7134
                      saa7133[0] at 0xb3006000 irq 22

if I try to do a cat /proc/asound/card0/codec#0 it hangs while /var/log/messages gives a lot of

May 14 14:44:52 gondor kernel: [ 3825.457412] hda_codec: invalid
dep_range_val 0:7fff
May 14 14:44:52 gondor kernel: [ 3825.457696] hda_codec: invalid

dep_range_val 0:7fff
........................

eric@gondor:~$ sudo lspci -nv
00:00.0 0600: 8086:2580 (rev 04)
        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:01.0 0604: 8086:2581 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: b1000000-b2ffffff Prefetchable memory behind bridge: c0000000-cfffffff
Capabilities: [88] Subsystem: 8086:2582
Capabilities: [80] Power Management version 2
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Capabilities: [a0] Express Root Port (Slot+) IRQ 0

00:1b.0 0403: 8086:2668 (rev 03)
Subsystem: 1558:0900
Flags: bus master, fast devsel, latency 0, IRQ 20 Memory at b0000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1d.0 0c03: 8086:2658 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1800 [size=32]

00:1d.1 0c03: 8086:2659 (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 3000 [size=32]

00:1d.2 0c03: 8086:265a (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 3020 [size=32]

00:1d.3 0c03: 8086:265b (rev 03) (prog-if 00 [UHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 3040 [size=32]

00:1d.7 0c03: 8086:265c (rev 03) (prog-if 20 [EHCI])
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0, IRQ 18 Memory at b0004000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 0604: 8086:244e (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0a, subordinate=0e, sec-latency=32 I/O behind bridge: 00004000-00004fff
Memory behind bridge: b3000000-b30fffff Prefetchable memory behind bridge:
0000000050000000-0000000055ffffff

        Capabilities: [50] Subsystem: 1558:0900

00:1f.0 0601: 8086:2640 (rev 03)
Subsystem: 1558:0900
Flags: bus master, medium devsel, latency 0

00:1f.1 0101: 8086:266f (rev 03) (prog-if 8a [Master SecP PriP])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 3080 [size=16]

00:1f.3 0c05: 8086:266a (rev 03)

        Subsystem: 1558:0900
        Flags: medium devsel, IRQ 10
        I/O ports at 3060 [size=32]

01:00.0 0300: 10de:00c8 (rev a2) (prog-if 00 [VGA])

        Subsystem: 1558:0900
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+

Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0

0a:00.0 0607: 104c:ac50 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 168, IRQ 17
        Memory at b3007000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=0a, secondary=0b, subordinate=0e, sec-latency=176
        Memory window 0: 50000000-53fff000 (prefetchable)
        Memory window 1: 58000000-5bfff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        16-bit legacy interface ports at 0001

0a:01.0 0c00: 104c:8023 (prog-if 10 [OHCI])

        Subsystem: 1558:0900
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at b3004000 (32-bit, non-prefetchable) [size=2K]
        Memory at b3000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

0a:02.0 0104: 105a:3373 (rev 02)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 96, IRQ 19
        I/O ports at 4480 [size=64]
        I/O ports at 44c0 [size=16]
        I/O ports at 4400 [size=128]
        Memory at b3005000 (32-bit, non-prefetchable) [size=4K]
        Memory at b3020000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [60] Power Management version 2

0a:03.0 0200: 10ec:8169 (rev 10)

        Subsystem: 1558:0900
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
        I/O ports at 4000 [size=256]
        Memory at b3004800 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 54000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

0a:04.0 0480: 1131:7133 (rev f0)
Subsystem: 1461:f31e
Flags: bus master, medium devsel, latency 64, IRQ 23 Memory at b3006000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

0a:05.0 0280: 1814:0201 (rev 01)
Subsystem: 1462:6833
Flags: bus master, slow devsel, latency 64, IRQ 20 Memory at b3008000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2

asoundconf output :

eric@gondor:~$ asoundconf list
Names of available sound cards:
Intel
SAA7134

I tried a lot of workarounds but none worked : boot options (irqpoll, pci=noacpi), single_cmd=1, position_fix=1, several models of hda-intel driver, I tried 1.0.13 and 1.0.14rc4 driver, with debug on...

I must add that I already had this problem with previous distributions of Ubuntu. It worked with an old one (Breezy) then in Dapper and Edgy, it did worked ONLY when I self-compiled the driver with debug option enabled I never understood why. And now with Feisty/alsa 1.0.13/ubuntu kernel 2.6.20, or an ubuntu kernel with self-compiled alsa 1.0.14rc4, it does not work. I cannot have one sound :-(.

Please help me ....

Eric

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGThYExI+RZbxK37ARAl6lAKDOecNscFCyIk5LSG2J1Tu8thsxiACgvSTX zk0O2gqEl6t/bFmi76jztqw=
=LN4P
-----END PGP SIGNATURE-----

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel