[alsa-devel] Bug report - patch_realtek.c - Laptop HP COMPAQ B1900 Series
tiwai at suse.de
Wed Feb 15 16:04:49 CET 2012
At Wed, 15 Feb 2012 22:45:27 +0800,
> I think the only question below is about the automute, right?
Not really. The most important thing is to understand what's doing
what. Since your code can't be applied any longer at all to the
latest code tree because of the fundamental code rewrite, we need to
do it right.
So, please check the following:
1. Does any pin correspond to the speaker output? Try to change the
pin control of each pin between 0x10 and 0x19 via hda-verb while
the speaker output is active. Does any pin change the speaker
2. Plug your headphone. Now the speaker is muted with your patch.
What happens when you run like below?
hda-verb /dev/snd/hwD0D0 0x01 SET_GPIO_MASK 1
hda-verb /dev/snd/hwD0D0 0x01 SET_GPIO_DIR 1
hda-verb /dev/snd/hwD0D0 0x01 SET_GPIO_DATA 1
Does the speaker starts playing again? Then, what happens now
hda-verb /dev/snd/hwD0D0 0x01 SET_GPIO_DATA 0
More information about the Alsa-devel