Skip to content
  1. Mar 18, 2010
    • Mark Brown's avatar
      ALSA: Add support for key reporting via the jack interface · ebb812cb
      Mark Brown authored
      
      
      Some devices provide support for detection of a small number of
      buttons on their jacks. One common implementation provides a single
      button, implemented by shorting the microphone to ground and detected
      along with microphone presence detection by detecting varying current
      draws on the microphone bias signal.
      
      Provide support for up to three buttons via the jack interface. These
      default to reporting BTN_n but an API is provided to allow these to
      be remapped to other keys by the machine driver where it knows what
      the keys are. More keys can be added with ease if required.
      
      This is only intended to support simple accessory button designs. If
      the interface is limiting then either creating a child device for the
      accessory or accessing the input device in the jack directly is
      recommended.
      
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      ebb812cb
    • Mark Brown's avatar
      ALSA: Rename jack switch table in preparation for button support · 1c6e555c
      Mark Brown authored
      
      
      Avoids confusion when we have button support.
      
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      1c6e555c
  2. Mar 09, 2010
    • Linus Torvalds's avatar
      Linux 2.6.34-rc1 · 57d54889
      Linus Torvalds authored
      57d54889
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6 · e1015418
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (62 commits)
        msi-laptop: depends on RFKILL
        msi-laptop: Detect 3G device exists by standard ec command
        msi-laptop: Add resume method for set the SCM load again
        msi-laptop: Support some MSI 3G netbook that is need load SCM
        msi-laptop: Add threeg sysfs file for support query 3G state by standard 66/62 ec command
        msi-laptop: Support standard ec 66/62 command on MSI notebook and nebook
        Driver core: create lock/unlock functions for struct device
        sysfs: fix for thinko with sysfs_bin_attr_init()
        sysfs: Kill unused sysfs_sb variable.
        sysfs: Pass super_block to sysfs_get_inode
        driver core: Use sysfs_rename_link in device_rename
        sysfs: Implement sysfs_rename_link
        sysfs: Pack sysfs_dirent more tightly.
        sysfs: Serialize updates to the vfs inode
        sysfs: windfarm: init sysfs attributes
        sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on module dynamic attributes
        sysfs: Document sysfs_attr_init and sysfs_bin_attr_init
        sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on dynamic attributes
        sysfs: Use one lockdep class per sysfs attribute.
        sysfs: Only take active references on attributes.
        ...
      e1015418
  3. Mar 08, 2010