Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388037 - Mute LED indicator is always in "off" state
Summary: Mute LED indicator is always in "off" state
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 20:37 UTC by Morse
Modified: 2012-03-08 14:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morse 2011-10-21 20:37:18 UTC
My laptop is HP 8760w. Audio system according to lspci:

00:1b.0 Audio device [0403]: Intel Corporation Cougar Point High Definition Audio Controller [8086:1c20] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:1630]
	Kernel driver in use: HDA Intel
01:00.1 Audio device [0403]: ATI Technologies Inc Device [1002:aa90]
	Subsystem: Hewlett-Packard Company Device [103c:1630]
	Kernel driver in use: HDA Intel

(the latter is probably just the HDMA output).
This laptop has a two-color LED indicator which can be yellow or white, depending on whether sound is on or off. In my case it's always yellow, meaning, off.
When I tried gentoo live DVD 11.2, it was always white instead, but didn't work either.
Other then the color, it works fine.

Reproducible: Always

Steps to Reproduce:
Press the mute button
Actual Results:  
Sound mutes :)

Expected Results:  
LED changing color as well

Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.1, glibc-2.12.2-r0, 3.0.6-tuxonice x86_64)
=================================================================
System uname: Linux-3.0.6-tuxonice-x86_64-Intel-R-_Core-TM-_i5-2540M_CPU_@_2.60GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 21 Oct 2011 20:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.1-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo spring gnome funroll-loops
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/Spring /var/lib/layman/gnome /var/lib/layman/funroll-loops"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 automount avx berkdb bluetooth branding bzip2 cairo cdda cdr cdrtools cli consolekit cracklib crypt cue cups cvs cxx dbus dhcp djvu dri dts dvd dvdr eds emboss encode eselect evo exif ext2 ext3 fam fat fbcon fbcondecor fbsplash ffmpeg firefox flac fontconfig fortran ftp fuse gconf gdbm gdu gif glitz gnome gnome-keyring gnutls gphoto2 gpm graphite gstreamer gtk gtk3 iconv ieee1394 ieee1395 introspection iptc ipv6 java java6 jpeg jpeg2k lame laptop latex lcms ldap libcaca libnotify lm-sensors lzo mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz nautilus ncurses networkmanager nfs nls nptl nptlonly nsplugin ntfs ogg openal opengl openmp pam pango pcmcia pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 readline samba sasl sdl session sha smb smp spell sqlite sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification subtitles subversion svg sysfs syslog tcpd theora threads tiff totem trayicon truetype udev unicode usb utf8 v4l v4l2 vaapi vorbis wifi wxwidgets wxwindows x264 xcb xcomposite xfs xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2011-10-23 02:57:42 UTC
The functionality you are asking about may not be supported in the gentoo-sources or vanilla kernels yet.  I found this, though, which may be pertinent:

http://forums.gentoo.org/viewtopic-p-6451622.html?sid=3f427246ce85b07753b1aa8bd7694685#6451622
Comment 2 Morse 2011-10-24 10:43:42 UTC
So it's a kernel issue, right? I just didn't know if it's a kernel, alsa, or something else. Should I go to the kernel bugzilla with this instead?
Comment 3 Mike Pagano gentoo-dev 2011-12-11 19:26:12 UTC
The forum post mentions support in alsa 1.0.23. Alsa in 3.1.4 is at 1.0.24.

Can you please test with the latest gentoo-sources as of this writing to see if any progress has been made.

The latest gentoo-sources is now at 3.1.5
Comment 4 Morse 2011-12-12 15:45:29 UTC
Just checked the 3.1.5 gentoo-sources. Still the same. After some more tests, it turned out that technically, the LED does work: I can activate it manually with HDA analyzer by switching on flags "enabled" and "dir-out" on GPIO IO[0]. As I got it from changelogs, GPIO0 is chosen by default as a mute led if there is three or less GPIOs (I have three). Still don't understand why it's not like that in my case. May be I should provide some model name to the kernel image?
Comment 5 Mike Pagano gentoo-dev 2012-03-04 21:05:28 UTC
Please test with vanilla sources 3.2.9 and then bring to https://bugzilla.kernel.org/ if it still fails. Please post the url back here.
Comment 7 Morse 2012-03-08 14:59:11 UTC
Issue is solved by enabling CONFIG_SND_HDA_POWER_SAVE.