So I’ve recently been forced to upgrade laptops after an unexpected deluge killed my last one. My wife, who plans for everything, managed to score an upgrade to an HP Pavilion 15 gaming laptop, and the bios reports it as
HP Pavilion Gaming Laptop 15-cx0xxx
Though some googling makes me believe it’s a
HP Pavilion Gaming Laptop 15-dk0010nr
The specs are identical, except the OS reports the GPU as a 1050TI not a 1050, though I’m not too familiar with the naming conventions of nvidia. The specs of the 1050TI vs the 1050 seem unimportant for the issues I’m having.
So I install linux mint and the it doesn’t like the lid switch, causing it to overheat in its protective sleeve, because it doesn’t go to sleep. I was also having issues wrangling the nvidia drivers, and the accelerometer was causing the laptop to take forever to shutdown. So I turn it off. Which causes my brightness keys (F2 and F3) to stop functioning correctly, and dmesg tells me them and the lidswitch aren’t mapped.
I decide to switch to Pop!_OS because they really try to integrate the nvidia drivers. Anyway on the clean install it works great, I can tell the accelerometer is working because the screen rotates. Everything sleeps when the lid closes and the brightness keys function, and the processor isn’t constantly overheating causing the fans to run mostly continuously. I restart the laptop and, with the exception of nvidia drivers, the previous problems reappear.
I hunt through dmesg and I find that the accelerometer has a good ol’ fashioned failure to chooch.
[ 11.500311] hp_accel: laptop model unknown, using default axes configuration [ 11.519990] lis3lv02d: unknown sensor type 0x0 [ 11.519993] hp_accel: probe of HPQ6007:00 failed with error -22 [ 11.536372] hp_wmi: query 0xd returned error 0x5 [ 11.536403] input: HP WMI hotkeys as /devices/virtual/input/input9
However, I have found that sometimes when I boot up the laptop the accelerometer initializes properly and everything works.
I have done some digging and have found out that it is a known bug in the kernel.
My question is, is their some sort of work around to get
- The lid switch working (closure of the lid triggers a sleep event, and opening the lid causes it to wake back up)
- Help keep the processor from constantly throttling
- Get the brightness keys working
What additional information do we need to find a possible work around?