[ltp] Headset connector on newer Thinkpads

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Fri, 5 Sep 2014 15:35:00 +0300

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 05, 2014 at 11:14:10AM +0200, ubuntu@gnarg.org wrote:
> BTW the mic mute button on the laptop, oops, ThinkPad[TM] does not work,
> but the LED shows its status which can be changed in the sound settings
> menu. Sometimes the LED gets confused and shows the opposite status but
> right now I cannot reproduce this.

The button (on an X220) works for me in Ubuntu GNOME 14.04, after I
upgraded to GNOME 3.12 from the GNOME3 PPA.  IIRC it doesn't work in
GNOME 3.10 because it's got a version of gnome-settings-daemon that
doesn't recognize XF86AudioMicMute.  It should work in plain Ubuntu
14.04, because they backported that patch to ubuntu-settings-daemon,

has a *lot* of comments about this, listing all the components where
this could be broken (you need udev rules to set up a kernel input
device keymap and then have X recognize that and transform to the right
keysym and then the desktop environment has to listen for those key
events and do the right thing; previously the F20 keysym was reused for
this, but then everything switched to XF86AudioMicMute, but of course
not at the same time, causing temporary regressions).

It's perhaps possible to play with thinkpad-acpi's hotkey_mask and have
the firmware deal with mic muting, but I'm not qualified to say whether
that's a good idea.

> And while we're at it, the brightness keys Fn-F8 and Fn-F9 only work on
> non-graphic consoles so you have to e. g. Ctrl-Alt-F1 to change brightnes=

Have you determined whether this issue is on the input side or the
display side?  Can you adjust the brightness using System Preferences?

(On the X220 brightness keys are the traditional Fn-Home/End, and they
work fine on my OS.)

Marius Gedminas
I would suggest re-naming "rmbdd()". I _assume_ that "dd" stands for "data
dependent", but quite frankly, "rmbdd" looks like the standard IBM "we
lost every vowel ever invented" kind of assembly lanaguage to me.
		-- Linus Torvalds

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

Version: GnuPG v1