summaryrefslogtreecommitdiffstats
path: root/sound/pci/als300.c
diff options
context:
space:
mode:
authorMandar Joshi <emailmandar@gmail.com>2010-11-02 15:43:19 +0100
committerTakashi Iwai <tiwai@suse.de>2010-11-02 12:40:11 +0100
commitca8dc34eaf7a1db7daa604495ed2c143af32f1ed (patch)
tree497610e14332487d534b6ced30fed69cea0d4d62 /sound/pci/als300.c
parentALSA: asihpi - Unsafe memory management when allocating control cache (diff)
downloadlinux-ca8dc34eaf7a1db7daa604495ed2c143af32f1ed.tar.xz
linux-ca8dc34eaf7a1db7daa604495ed2c143af32f1ed.zip
ALSA: usb-audio - Support for Power/Status LED on Creative USB X-Fi S51
This patch adds support for Power/Status LED on Creative USB X-Fi S51. There is just one LED on the device. The LED can either be On or it can be set to Blink. There doesn't seem to be a way to switch it off. The control message to change LED status is similar to that of audigy2nx except that the index is to be set to 0 and value is 1 for Blink and 0 for On. The 'Power LED' control in alsamixer when muted will cause the LED to Blink continuously. When unmuted the LED will stay On. The Creative driver under Windows sets the LED to blink whenever audio is muted. This LED can be treated as the CMSS LED but I figured since there is just one LED, it should be treated as the Power LED. Is that alright? I've also changed the comment "Usb X-Fi" to "Usb X-Fi S51" as there are other external X-Fi devices from Creative like Usb X-Fi Go and Xmod. The volume knob and LED support patch doesn't apply to them. Signed-off-by: Mandar Joshi <emailmandar@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/als300.c')
0 files changed, 0 insertions, 0 deletions