From: "Ozan Çağlayan" <ozan@pardus.org.tr>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: ALC268 - Driving mute led with GPIO
Date: Thu, 04 Feb 2010 19:04:50 +0200 [thread overview]
Message-ID: <4B6AFE32.2040009@pardus.org.tr> (raw)
In-Reply-To: <s5hsk9hymje.wl%tiwai@suse.de>
Takashi Iwai wrote:
> At Thu, 04 Feb 2010 18:44:48 +0200,
>
> This can be rather controlled in a different way, such as GPIO.
>
> For example, if it's a HP machine, usually one of GPIO line
> corresponds to the mute LED (sometimes it mutes the speaker via
> BIOS).
>
Um, that was what I thought and tried to ask too :)
So how should I proceed to make it work upon mutes? There are 4 GPIO lines and the last one seems to control
the mute LED but it doesn't mute the speaker.
Can it be done asynchronously with a callback which will send 1/0 to the GPIO channel on every mute/unmute?
Or should that be done synchronously in the code where the mute/unmute verbs are executed?
There are currently mute LED handlings only in sigmatel for some HP laptops which parses DMI data for the
exact GPIO channel.
If there are any other examples in the ALSA stack, that would be helpful too.
Regards,
next prev parent reply other threads:[~2010-02-04 17:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 16:44 ALC268 - Driving mute led with GPIO Ozan Çağlayan
2010-02-04 16:48 ` Takashi Iwai
2010-02-04 17:04 ` Ozan Çağlayan [this message]
2010-02-04 17:11 ` 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=4B6AFE32.2040009@pardus.org.tr \
--to=ozan@pardus.org.tr \
--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.