1. 23 Apr, 2010 2 commits
    • Hans de Goede's avatar
      ALSA: snd-es1968: Make hardware volume buttons an input device (rev2) · 5a5e02e5
      Hans de Goede authored
      The hardware volume handling code in essence just detects key presses, and
      then does some hardcoded modification of the master volume based on which key
      is pressed.
      
      Clearly the right thing to do here is just report these keypresses to
      userspace and let userspace decide what to with them.
      
      This patch adds a Kconfig option which when enabled reports the volume
      buttons as keypresses using an input device. When enabled this option
      also gets rid of the ugly direct ac97 writes from the tasklet, the ac97lock
      and the need for using a tasklet in general.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5a5e02e5
    • Hans de Goede's avatar
      ALSA: snd-maestro3: Make hardware volume buttons an input device (rev2) · eb581adf
      Hans de Goede authored
      While working on the sound suspend / resume problems with my laptop
      I noticed that the hardware volume handling code in essence just detects
      key presses, and then does some hardcoded modification of the master volume
      based on which key is pressed.
      
      This made me think that clearly the right thing to do here is just report
      these keypresses to userspace and let userspace decide what to with them.
      
      This patch adds a Kconfig option which when enabled reports the volume
      buttons as keypresses using an input device. When enabled this option
      also gets rid of the ugly direct ac97 writes from the tasklet, the ac97lock
      and the need for using a tasklet in general.
      
      As an added bonus the keys now work identical to volume keys on a (usb)
      keyboard with multimedia keys, providing visual feedback of the volume
      level change, and a better range of the volume control (with a properly
      configured desktop environment).
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      eb581adf
  2. 22 Apr, 2010 5 commits
  3. 16 Apr, 2010 4 commits
  4. 15 Apr, 2010 11 commits
  5. 14 Apr, 2010 15 commits
  6. 13 Apr, 2010 3 commits