Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Issue 971753006: ozone: evdev: Sync caps lock LED state to evdev (Closed)

Created:
5 years, 9 months ago by spang
Modified:
5 years, 9 months ago
CC:
chromium-reviews, kalyank, tdresser+watch_chromium.org, jdduke+watch_chromium.org, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: evdev: Sync caps lock LED state to evdev Update LED state in kernel in InputControllerEvdev::SetCapsLockEnabled. This is currently the only way to toggle caps lock. BUG=463242 TEST=plug in external keyboard on link_freon & press caps lock. Light on keyboard should turn on. Committed: https://crrev.com/fc0faf53d30d331094b79fc77339184854169421 Cr-Commit-Position: refs/heads/master@{#318934}

Patch Set 1 #

Patch Set 2 : remove debug log #

Patch Set 3 : aand forgot to sync on hotplug #

Total comments: 4

Patch Set 4 : s/Led/LED/ in comments #

Patch Set 5 : one more case fix #

Patch Set 6 : comment from kpschoedel@ #

Patch Set 7 : s/PLOG/LOG/ for short write. errno is not set in this case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -5 lines) Patch
M ui/events/ozone/evdev/event_converter_evdev.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev.cc View 1 2 3 4 5 6 3 chunks +33 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_modifiers_evdev.cc View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M ui/events/ozone/evdev/input_controller_evdev.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/input_controller_evdev.cc View 1 2 3 4 5 4 chunks +12 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/input_device_factory_evdev.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/input_device_factory_evdev.cc View 1 2 5 chunks +15 lines, -1 line 0 comments Download
M ui/events/ozone/evdev/input_device_factory_evdev_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/keyboard_evdev.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
spang
5 years, 9 months ago (2015-03-02 22:00:33 UTC) #2
kpschoedel
lgtm https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/input_controller_evdev.cc File ui/events/ozone/evdev/input_controller_evdev.cc (right): https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/input_controller_evdev.cc#newcode63 ui/events/ozone/evdev/input_controller_evdev.cc:63: if (input_device_factory_) This doesn't thrill me because the ...
5 years, 9 months ago (2015-03-02 22:19:35 UTC) #3
alexst (slow to review)
https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/event_converter_evdev_impl.h File ui/events/ozone/evdev/event_converter_evdev_impl.h (right): https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/event_converter_evdev_impl.h#newcode65 ui/events/ozone/evdev/event_converter_evdev_impl.h:65: // Leds for this device. You use both Led ...
5 years, 9 months ago (2015-03-02 22:20:23 UTC) #4
spang
https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/event_converter_evdev_impl.h File ui/events/ozone/evdev/event_converter_evdev_impl.h (right): https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/event_converter_evdev_impl.h#newcode65 ui/events/ozone/evdev/event_converter_evdev_impl.h:65: // Leds for this device. On 2015/03/02 22:20:23, alexst ...
5 years, 9 months ago (2015-03-02 22:38:22 UTC) #5
spang
https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/input_controller_evdev.cc File ui/events/ozone/evdev/input_controller_evdev.cc (right): https://codereview.chromium.org/971753006/diff/40001/ui/events/ozone/evdev/input_controller_evdev.cc#newcode63 ui/events/ozone/evdev/input_controller_evdev.cc:63: if (input_device_factory_) On 2015/03/02 22:19:35, kpschoedel wrote: > This ...
5 years, 9 months ago (2015-03-02 22:43:15 UTC) #6
alexst (slow to review)
lgtm
5 years, 9 months ago (2015-03-02 22:56:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/971753006/110001
5 years, 9 months ago (2015-03-03 20:31:19 UTC) #10
commit-bot: I haz the power
Committed patchset #7 (id:110001)
5 years, 9 months ago (2015-03-03 20:35:49 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-03 20:38:16 UTC) #12
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fc0faf53d30d331094b79fc77339184854169421
Cr-Commit-Position: refs/heads/master@{#318934}

Powered by Google App Engine
This is Rietveld 408576698