Re: No sound unless I toggle a GPIO pin

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

 



[ Sorry for the previous empty post, finger slipped ]

On Wed, 28 Apr 2021 13:15:53 +0200,
Paul Koster wrote:
> 
> Hi List!
> 
> Hope you can help with me this. Got myself a brand new HP ENVY
> all-in-One with B&O speakers built-in. No sound at all whereas all
> controls and settings seem to work without hiccups. Turns out a GPIO pin
> needs to be set. Found this out using hda-analyzer python script. Now I
> execute this script on start-up to make it work:
> 
> /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x04
> /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x04
> /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x04
> 
> The strange thing is, when I close applications using sound, the system
> goes mute within a minute or so and I have to run hda-analyzer to toggle
> the 'enable' settings of this GPIO pin.

It's because the runtime suspend is effective.

Try to pass model=alc256-asus-aio option to snd-hda-intel module.
Either boot with snd_hda_intel.model=alc256-asus-aio boot option or
create a file (e.g. /etc/modprobe.d/hda.conf) containing

options snd-hda-intel model=alc256-asus-aio

If this works, we can put a static quirk entry for your device, too.


Takashi


_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux