From: "Jean-Pierre André" <jean-pierre.andre@wanadoo.fr>
To: alsa-devel@alsa-project.org
Subject: Re: Intel 82801I (ICH9 Family) HD Audio Controller on a HP dv4 computer
Date: Sun, 14 Dec 2008 11:52:29 +0100 [thread overview]
Message-ID: <4944E56D.9020505@wanadoo.fr> (raw)
In-Reply-To: <s5hvdtn15ps.wl%tiwai@suse.de>
Hi Takashi,
Takashi Iwai wrote:
> At Sat, 13 Dec 2008 12:41:23 +0100 (CET),
> Jean-Pierre ANDRE wrote:
>
>> Hi,
>>
>> I am getting difficulty setting up ALSA for my new HP portable computer.
>> lspci displays the audio chip as :
>> Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
>> and /proc/asound displays the codec as IDT 92HD71B7X
>>
>> I have uploaded the detailed hardware and configuration parameters to
>> http://pagesperso-orange.fr/b.andre/visits.html/92HD71B7X
>>
>> I am using Fedora 10 x86_64 without pulseaudio and with the latest alsa-driver :
>> alsa-driver-1.0.18a.16.g4012f.139.g6e583.tar.bz2
>>
>> I have googled for a similar problem, but did not get to an actual fix,
>> the following thread appears to deal with a most similar situation :
>> http://forums.opensuse.org/pre-release-beta/399731-beta-5-no-sound.html
>>
>> After several tries, I have set modprobe.conf as
>> alias snd-card-0 snd-hda-intel
>> options sound slots=snd-hda-intel
>> options snd-hda-intel model=hp-m4 single_cmd=1 enable_msi=1
>>
>
> Don't use single_cmd=1 option. If this is needed, it's already
> something very wrong, most likely a deeper problem like ACPI.
>
>
> Takashi
>
Thank you for your help.
I had already tested without the single_cmd=1 option, and
the only difference I see is the " azx_get_response timeout,
switching to polling mode" warning. Probably related is the
fact that I have never seen an IRQ 22.
from proc/interrupts :
22: 0 0 IO-APIC-fasteoi uhci_hcd:usb6, HDA Intel
For your information, the initial log shows the following :
<-------
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: setting latency timer to 64
ALSA /home/linux/rpmbuild/BUILD/alsa-driver-1.0.18a17/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:627: hda_intel: azx_get_response timeout, switching to polling mode: last cmd=0x000f0000
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input17
input: HDA Intel at 0xdf300000 irq 22 Line In at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input18
input: HDA Intel at 0xdf300000 irq 22 Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input19
input: HDA Intel at 0xdf300000 irq 22 Line In at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input20
input: HDA Intel at 0xdf300000 irq 22 HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input21
-------->
As i said, mplayer outputs the sound correctly, this is what
it logs :
<------
Playing try.wav.
Audio only file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
E: context.c: waitpid(): No child processes
AO: [pulse] Init failed: Internal error
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
----->
whereas aplay gets stuck, and repeats the first sound
samples (so do most players) :
<-----
Playing WAVE '/shared/audio/try.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S32_LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 7526
period_size : 940
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 940
period_event : 0
start_threshold : 7526
stop_threshold : 7526
silence_threshold: 0
silence_size : 0
boundary : 4236761349448794112
Slave: Soft volume PCM
Control: PCM Playback Volume
min_dB: -51
max_dB: 0
resolution: 256
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 8192
period_size : 1024
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 8192
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
Slave: Direct Stream Mixing PCM
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 8192
period_size : 1024
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 8192
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 8192
period_size : 1024
period_time : 21333
tstamp_mode : ENABLE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 1
stop_threshold : 4611686018427387904
silence_threshold: 0
silence_size : 4611686018427387904
boundary : 4611686018427387904
###### + | 13%^C
Aborted by signal Interrupt...
------->
I am at a loss about what to try, do not hesitate
making suggestions.
Regards
Jean-Pierre
next prev parent reply other threads:[~2008-12-14 10:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-13 11:41 Intel 82801I (ICH9 Family) HD Audio Controller on a HP dv4 computer Jean-Pierre ANDRE
2008-12-13 11:48 ` Jean-Pierre ANDRE
2008-12-14 9:11 ` Takashi Iwai
2008-12-14 10:52 ` Jean-Pierre André [this message]
2008-12-15 7:39 ` Takashi Iwai
2008-12-15 10:10 ` Jean-Pierre ANDRE
2008-12-15 10:19 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4944E56D.9020505@wanadoo.fr \
--to=jean-pierre.andre@wanadoo.fr \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.