ACPI hotkey mask is incorrect on my laptop lenovo thinkpad t410i when i use "proprietary nvidia

When i use “proprietary nvidia driver” on my thinkpad t410i (NVS 3100m) acpi hotkey mask value (in file /proc/acpi/ibm/hotkey) is 0x0000ffbf, but recommended mask value (in file /sys/devices/platform/thinkpad_acpi/hotkey_recommended_mask) is 0x078dffff. Some hotkeys don’t work.

If to do “echo 078dffff > /proc/acpi/ibm/hotkey”, then all hotkeys work. When i use “nouveau driver” acpi hotkey mask value is right (0x078dffff).

System: Lenovo thinkpad t410i, video - NVS 3100m (driver version 340.96), Ubuntu 16.04-amd64.

nvidia-bug-report.log.gz [url][/url]

I deleted the code that does that in the release 346 driver series, but the fix never got backported to the release 340 legacy branch. I’ll reopen the bug to do that.