Skip to content

HID: lenovo: Mute LED handling fixes and improvements

Hans de Goede linux-input 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/29 patches 2 repliesIn review
  2. v4 Latest9 patches 0 repliesNew
  3. v37 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 posting 1/27 patches13 repliesSuperseded

Changes in v4 from the cover letter

- Add 2 new patches to add support for the mute-LEDs and special media-keys on the Thinkpad X1 Tablet Thin Keyboard

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightnessdrivers/hid/hid-lenovo.c+5 -30 replies
2/9HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handlingdrivers/hid/hid-lenovo.c+21 -80 replies
3/9HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event()drivers/hid/hid-lenovo.c+3 -00 replies
4/9HID: lenovo: Remove lenovo_led_brightness_get()drivers/hid/hid-lenovo.c+0 -180 replies
5/9HID: lenovo: Set LEDs max_brightness valuedrivers/hid/hid-lenovo.c+2 -00 replies
6/9HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTEdrivers/hid/hid-lenovo.c+6 -30 replies
7/9HID: lenovo: Set default_triggers for the mute and micmute LEDsdrivers/hid/hid-lenovo.c+2 -00 replies
8/9HID: lenovo: Rework how the tp10ubkbd code decides which USB interface to usedrivers/hid/hid-lenovo.c+15 -20 replies
9/9HID: lenovo: Add support for Thinkpad X1 Tablet Thin keyboarddrivers/hid/hid-lenovo.c+61 -00 replies

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by.

PatchMarek BehúnPavel MachekAlexander Kobel
1/9R-b A-b
2/9R-b
3/9R-b
4/9R-b A-b
5/9R-b A-b
6/9R-b
7/9R-b A-b
8/9
9/9Co-authored-by T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/9] HID: lenovo: Mute LED handling fixes and improvements

Hi All,

Here is v4 of my series with mute LED handling fixes and improvements for the hid-lenovo driver.

This is the same as v3, with 2 new patches added. I'm sending this out as a v4 because the 2 new patches depend on the previous patches.

Changes in v4:
- Add 2 new patches to add support for the mute-LEDs and special media-keys on the Thinkpad X1 Tablet Thin Keyboard

Changes in v3:
- Address the review-remarks from Marek Behún, thank you for all the reviews Marek.

Regards,

Hans

Hans de Goede (9):
HID: lenovo: Use brightness_set_blocking callback for setting LEDs
brightness
HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling
HID: lenovo: Check hid_get_drvdata() returns non NULL in
lenovo_event()
HID: lenovo: Remove lenovo_led_brightness_get()
HID: lenovo: Set LEDs max_brightness value
HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
HID: lenovo: Set default_triggers for the mute and micmute LEDs
HID: lenovo: Rework how the tp10ubkbd code decides which USB interface
to use
HID: lenovo: Add support for Thinkpad X1 Tablet Thin keyboard

 drivers/hid/hid-lenovo.c | 147 ++++++++++++++++++++++++++++++---------
 1 file changed, 114 insertions(+), 33 deletions(-)
Signature · 1 line
2.30.1