On Sun, 31 May 2015, Finn Thain wrote: > On Sun, 31 May 2015, Henrique de Moraes Holschuh wrote: > > On Sun, 31 May 2015, Finn Thain wrote: > > > Make use of arch_nvram_ops in the thinkpad_acpi driver so that the > > > nvram_* function exports can be removed. > > > > > > This patch series was tested on a ThinkPad T43. > > > > Can you describe how you did the testing? A specific procedure is > > required to test the hotkey NVRAM polling codepaths (which will read > > several NVRAM bytes @10Hz by default) in a T43... > > > > > Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> > > > > The patch looks correct, so I don't expect any problems. > > > > Provided that your test procedure did enable hotkey NVRAM polling in the > > T43 and your hotkeys all still worked fine, you have my Acked-by. > > The procedure I used was this, > > 1. $ xev > 2. # rmmod thinkpad_acpi > 3. Press <Access IBM> key and confirm that xev does not report any > events. > 4. # modprobe thinkpad_acpi > 5. Press <Access IBM> key and confirm that xev now reports the key press > events. > > Is this sufficient? No. Please try: modprobe thinkpad_acpi echo 0xfb88c0 > /sys/devices/platform/thinkpad_acpi/hotkey_source_mask test the hotkeys. Please test several of them, as not all of them are available through NVRAM polling... at least Fn+SPACE, Fn+F1..FN+F12 Please test the brightness keys. In the T43 we use "direct EC mode", which depends on the NVRAM to sync with the SMBIOS firmware. to reset the driver to normal mode, it is enough to do this: echo 0 > /sys/devices/platform/thinkpad_acpi/hotkey_source_mask -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh ------------------------------------------------------------------------------ _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel