Skip to contentSkip to conversation

: Support for mute led feature

ALSA - driver 0001616 [email protected] 1 participant 1 message Dec 4, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1616>
======================================================================

Reported By:                jstamp
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1616
Category:                   PCI - hda-intel
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Distribution:               Debian
Kernel Version:             2.6.14
======================================================================
Date Submitted:             12-04-2005 07:00 CET
Last Modified:              12-04-2005 07:00 CET

======================================================================
Summary: Support for mute led feature
Description:
The PowerPro G 3:11 (aka the Sabio MW1) uses an ALC880 chip. It also has a mute button which is supposed to light up when the audio is muted.

I found out that you can turn on the LED with the following commands:
snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_MASK, 0x01); snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DIRECTION, 0x01); snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, 0x01);

Setting GPIO_DATA to 0x00 will turn off the LED.

Is there an easy way to incorporate this feature into the driver?

======================================================================

Issue History
Date Modified Username Field Change
======================================================================

12-04-05 07:00 jstamp         New Issue                                    
12-04-05 07:00 jstamp         Distribution              => Debian          
12-04-05 07:00 jstamp         Kernel Version            => 2.6.14          

======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click