All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Pospisek <tpo2@sourcepole.ch>
To: Takashi Iwai <tiwai@suse.de>
Cc: Alsa-devel@alsa-project.org
Subject: Re: Request for HW auto-recognition: HP Pavilion dv7 with	STAC92xx
Date: Thu, 13 Dec 2012 14:04:10 +0100	[thread overview]
Message-ID: <28554302d077d5894814557cdb219bad@sourcepole.ch> (raw)
In-Reply-To: <s5hk3snrsrk.wl%tiwai@suse.de>

On Wed, 12 Dec 2012 20:10:23 +0100, Takashi Iwai wrote:
> At Wed, 12 Dec 2012 18:08:25 +0100, Tomas Pospisek wrote:
>> 
>> I have a HP Pavilion dv7 laptop (LS066EA#UUZ), with:
>> 
>>   # cat /proc/asound/card0/codec* | grep Codec
>>   Codec: IDT 92HD81B1X5
>>   Codec: Intel CougarPoint HDMI
>> 
>> when play sound without any tweaks, I get a very weak sound output. If
I
>> want to have "beats audio", that is subwoofer and all speakers, I need
to
>> set:
>> 
>>   # cat /etc/modprobe.d/alsa-base.conf 
>>   options snd-hda-intel model=hp-dv7-4000
>> 
>> Could the snd_hda_intel alsa driver be updated to recognize and setup
the
>> driver accordingly?
>> 
>> alsa-info.sh output here:
>>  
>>
http://www.alsa-project.org/db/?f=54ea874f43f12c1572aff3ee3113dc4b0ad0b398
> 
> Could you check whether the patch below works?
> 
> Takashi
> 
> ---
> diff --git a/sound/pci/hda/patch_sigmatel.c
> b/sound/pci/hda/patch_sigmatel.c
> index df13c0f..a86547c 100644
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -1725,7 +1725,7 @@ static const struct snd_pci_quirk
> stac92hd83xxx_cfg_tbl[] = {
>  	SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x1658,
>  			  "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD),
>  	SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x1659,
> -			  "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD),
> +			  "HP Pavilion dv7", STAC_HP_DV7_4000),
>  	SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x165A,
>  			  "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD),
>  	SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x165B,

It now indeed does switch on "beats audio" aka subwoofer et al.

However now I got a different problem: When I play a video on youtube,
then
suspend to RAM, and then resume:

* if the music was playing when suspending, then the desktop gets stuck
  after resume:
  no mouse, no keyboard input gets through to the desktop. I can
  Ctrl-Alt-F1 out of X and reboot and that's it. I guess it's the firefox
  flash plugin getting blocked in the kernel while accessing the audio
  device and thus blocking the whole desktop (that's my speculation).

* if the music was *not* playing (i.e. video paused), then after resume
  there is no sound any more. "alsa force-reload" puts the audio in some
  weird state where it gets in a loop playing some short bit of sound:
  tak-tak-tak-tak-tak-tak... So again I reboot.

# uname -a
  Linux hier 3.7.0 #2 SMP Thu Dec 13 12:48:25 CET 2012 x86_64 GNU/Linux

*t

  reply	other threads:[~2012-12-13 13:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 17:08 Request for HW auto-recognition: HP Pavilion dv7 with STAC92xx Tomas Pospisek
2012-12-12 19:10 ` Takashi Iwai
2012-12-13 13:04   ` Tomas Pospisek [this message]
2012-12-13 13:09     ` 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=28554302d077d5894814557cdb219bad@sourcepole.ch \
    --to=tpo2@sourcepole.ch \
    --cc=Alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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.