[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what if `alsactl init' doesn't configure sound?



Hello
Sweet, sound works. Thank you a lot for your suggestions. I managed to
get it working with a custom version of the "sound" file you posted.
If curious, read below. Now I can switch to addressing the other
breakages from the upgrade.
Best
Liviu

On 9/17/09, Emanoil Kotsev <deloptes@yahoo.com> wrote:
>  Have a look at the chip model
>
>  cat /proc/asound/card*/codec* | grep Codec
>  Codec: IDT 92HD73E1X5
>  Codec: Intel G45 DEVELK
>
This is what I have, the first quite similar to yours.
liviu@debian-liv:~$ cat /proc/asound/card*/codec* | grep Codec
Codec: IDT 92HD71B7X
Codec: ATI RS690/780 HDMI


>  Google about configuring this codec in my case (Codec: IDT 92HD73E1X5)
>
I looked for "IDT 92HD71B7X" and found this thread [1], with a sound
card also on an HP Pavilion (dv3/4) containing a lot of debug messages
but no solutions. I also found this [2] one which suggested to use
model=hp-m4 and enable_msi=1. Although I use them both, it seems that
the latter did the trick. It's some story of missing interrupts from
the codec.

[1] http://www.linux-archive.org/debian-user/232051-yet-another-misbehaving-sound-system-hp-pavilion-dv4.html
[2] http://www.linuxforums.org/forum/ubuntu-help/142406-idt-audio-driver-support.html



>  Also you can check the documentation in the kernel.
[skip]
>   Module snd-hda-intel
[skip]
>    /etc/modprobe.d/sound
>
This is the file that works here:
debian-liv:/home/liviu# cat /etc/modprobe.d/sound
## ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio

## module options should go here
#ex. options snd-hda-intel index=0 model=dell-m6,ref,auto
#options snd-hda-intel index=0 model=ref enable_msi=1
options snd-hda-intel index=0 model=hp-dv5 enable_msi=1
options snd-usb-audio index=1



Also, should someone use this thread below are some more debug messages:
liviu@debian-liv:~$ dmesg | grep -i hda
[    9.684546] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level,
low) -> IRQ 16
[    9.684546] HDA Intel 0000:00:14.2: setting latency timer to 64
[    9.762957] input: HDA Digital PCBeep as
/devices/pci0000:00/0000:00:14.2/input/input9
[    9.770780] input: HDA ATI SB Mic at Ext Front Jack as
/devices/pci0000:00/0000:00:14.2/input/input10
[    9.771052] input: HDA ATI SB HP Out at Ext Front Jack as
/devices/pci0000:00/0000:00:14.2/input/input11
[    9.772543] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level,
low) -> IRQ 19
[    9.772543] HDA Intel 0000:01:05.1: irq 29 for MSI/MSI-X
[    9.772543] HDA Intel 0000:01:05.1: setting latency timer to 64
[   10.788517] hda_intel: No response from codec, disabling MSI: last
cmd=0x000f0000
[   11.792552] hda_intel: azx_get_response timeout, switching to
polling mode: last cmd=0x000f0000
[   26.348552] hdaps: supported laptop not found!
[   26.348552] hdaps: driver init failed (ret=-19)!
[   58.024163] hda-intel: IRQ timing workaround is activated for card
#1. Suggest a bigger bdl_pos_adj.
[   84.912535] hda_intel: azx_get_response timeout, switching to
polling mode: last cmd=0x021f000a
[   85.916527] hda_intel: azx_get_response timeout, switching to
single_cmd mode: last cmd=0x021f000a


debian-liv:/home/liviu# cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.20 emulation code)
Kernel: Linux debian-liv 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC
2009 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA ATI SB at 0xd2400000 irq 16
HDA ATI HDMI at 0xd2310000 irq 29

Audio devices:
0: STAC92xx Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: IDT 92HD71B7X
1: ATI RS690/780 HDMI


Reply to: