[alsa-devel] Alsa 1.0.13 (and others) does not work on ALC880
Eric De Vito
eric at valombre.com
Fri May 18 23:09:24 CEST 2007
-----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 at 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 at 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
Tobin Davis a écrit :
> 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.
>
> 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
>
> On Mon, 2007-05-14 at 14:56 +0200, Eric wrote:
>
>> I installed Ubuntu Feisty on a D900t laptop : it contains a ALC880 audio
>> chipset
>>
>> eric at 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 at 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 at 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 at gondor:~$
>>
>> Here are some other infos :
>>
>> eric at gondor:~$ tail -2 /proc/asound/oss/sndstat
>> 0: Realtek ALC880
>> 1: SAA7134 Mixer
>>
>> amixer shows this :
>> eric at 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 at 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 at 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 at 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 at 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
>> Alsa-devel at alsa-project.org
>> 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-----
More information about the Alsa-devel
mailing list