Hey guys,
      The microphone mute button does send a keycode. When you press it you 
will see this in dmesg:

keyboard: can't emulate rawmode for keycode 240

      The reason for this is there is nothing for udev to map it to ..
let me explain.

      This is not a hardware key. It just a key that sends a keycode. So under 
Windows Lenovo has a daemon that does 2 things when it sees this key is pressed:
        1) Mutes/unmutes Microphone mixer
        2) Lights/unlights the LED on the Microphone button.

       To properly support this Linux has to do the same thing. I tried last 
year to do a lot of this work. One way to go about properly supporting under 
Linux:
        1) Define a common key for microphone mute . Here is what I tried a 
while back:
         http://markmail.org/thread/ho3t4cau2amzoxu4

        2) Once something is agreeded on in the kernel then, userspace input.h 
(/usr/include/linux/input.h)
            will have to be updated as well.
  
        3) Then add this key to keymap for lenovo thinkpads in udev ..(see
            /usr/udev/keymaps/module-lenovo & 
/usr/udev/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint)

        4) To add LED support you will need to expose it through thinkpad-acpi 
module. I think basic support is
             already there. But it does not expose it by default currently.

        5) Add support in Gnome Settings Daemon or write your own daemon. It 
will listen for the the agreed upon
            common keycode for microphone mute. Also if you want the LED to 
turn on and off you will need
            to turn it on and off via interface exposed by thinkpad-acpi via 
sysfs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/751471

Title:
  [Lenovo T410] Microphone mute key does not fuction

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to