You are not logged in.

#1 2014-02-27 01:20:01

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

Red light in headphone jack (MBP 11,1)

Hello. I've had a chance to reinstall Arch today on my Macbook Pro 11,1. The speakers seem to work fine (which wasn't the case in earlier kernels; I'm now running 3.13.5-1-ARCH),but that little red light in the headphone jack is still stuck on. This was apparently a problem before 3.13, but according to this bug report, it seems to have been fixed for my hardware. However, I still cannot disable it with

amixer set IEC958 off

...which I should be able to do with this kernel — I checked my alsa-info output and the codec is named "CS4208," so everything seems to be in order there. I can do so with the following command in kernel 3.14, but not with amixer...

hda-verb /dev/snd/hwC1D0 0x0e SET_POWER_STATE 0x03

(Or hwC0 depending on the card order — it should refer to "HDA Intel PCM.")

And I have the following in /etc/modprobe.d/alsa-base.conf; I have also tried 'mbp101' and 'mbp111' as model values, no luck.

options snd-hda-intel model=mba6 index=1

What can I do to properly and permanently disable this light, ideally through amixer, on kernel 3.13 or newer?

Last edited by DrKillPatient (2014-02-27 03:44:27)

Offline

#2 2014-02-27 18:58:03

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Red light in headphone jack (MBP 11,1)

COuld you post the entire output of amixer for the relevant card?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-02-27 20:26:16

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

Re: Red light in headphone jack (MBP 11,1)

Sure, here it is:

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 99 [78%] [-14.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Bass Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [-20.00dB]
  Front Right: 0 [0%] [-20.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [12.00dB] [on]
  Front Right: Capture 63 [100%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 2
  Front Left: 0 [0%] [-20.00dB]
  Front Right: 0 [0%] [-20.00dB]

I think I'm supposed to mute S/PDIF to turn off that light, but doing so on this computer has no effect. Ostensibly this was fixed in the bug report I posted earlier, since someone with my hardware was able to do it... am I doing something wrong on my end?

Offline

#4 2014-02-28 08:04:06

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Red light in headphone jack (MBP 11,1)

THe kernel logs mention this:

git wrote:

0c52db8 ALSA: hda - Control SPDIF out pin on MacBookPro 11,2
885845d ALSA: hda - Apply MacBook fixups for CS4208 correctly
8fe7b65 ALSA: hda - Apply GPIO setup for MacBooks with CS4208

The first one adds a line like this:

+       SND_PCI_QUIRK(0x106b, 0x5e00, "MacBookPro 11,2", CS4208_MBP11),

Maybe add another line:

+       SND_PCI_QUIRK(0x106b, 0x5e00, "MacBookPro 11,1", CS4208_MBP11),

Recompile and go for it? We still need to figure out whether the other values are correct. I guess the first two are PCI vendor / model. And the third one is the internal mobo name.

Last edited by Rexilion (2014-02-28 08:04:16)


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB