• Henrique de Moraes Holschuh's avatar
    thinkpad-acpi: support MUTE-only ThinkPads · a112ceee
    Henrique de Moraes Holschuh authored
    Lenovo removed the extra mixer since the T61 and thereabouts.
    Newer Lenovo models only have the mute gate function, and leave
    the volume control to the HDA mixer.
    
    Until a way to automatically query the firmware about its audio
    control capabilities is discovered (there might not be any), use a
    white/black list.
    
    We will likely need to ask T60 (old and new model) and Z60/Z61 users
    whether they have volume control to populate the black/white list.
    Meanwhile, provide a volume_capabilities parameter that can be used to
    override the defaults.
    Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
    Cc: Lorne Applebaum <lorne.applebaum@gmail.com>
    Cc: Matthew Garrett <mjg@redhat.com>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    a112ceee
thinkpad_acpi.c 221 KB