XMG A507

From Gentoo Wiki
Jump to:navigation Jump to:search

This laptop is based on Clevo N850HJ(?), available with different configurations.


Device Make/model Status Vendor ID / Product ID Kernel driver(s) Kernel version Notes
CPU Intel(R) Core(TM) i7-7700HQ Works N/A N/A 4.13.13
Video card NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] See #NVIDIA GPU nouveau 4.17.3
WiFi Intel(R) Dual Band Wireless AC 3168 Works iwlwifi 4.13.13 Firmware required
Integrated webcam Chicony USB 2.0 Camera: Chicony Works uvcvideo 4.13.16 Only photos tested, not video yet


Installed in non-UEFI mode. Recommend Live-Distributions that do not boot into X11, since they will freeze most certainly. Use Gentoo's DVD.


Required for WiFi.


Latest (stable) kernel is recommended.

Keyboard backlight

clevo-xsm-wmi moddule required to get control over keyboard backlight. After building and loading this module, you can turn the backlight off or change colours etc.

This module may not work with kernel version 4.14 at this time, see the bug report.


root #emerge --ask sys-kernel/linux-firmware



It might be required to add acpi_rev_override=1 to the kernel boot cmdline.


FILE /etc/modprobe.d/nouveau.conf
options nouveau runpm=0

Given however that this disables runtime power management, you probably want to blacklist the module instead and use bbswitch to disable it. If nouveau is not loaded and GPU is off Xorg may also freeze. Hence, disable it only after you have successfully opened Xorg.

In the times you need it, do the following:

root #echo ON > /proc/acpi/bbswitch
root #rmmod bbswitch
root #modprobe nouveau runpm=0

An already running Xorg server might crash, thus it's better to stop Xorg, then run these commands before starting Xorg again.

nvidia-drivers (proprietary)

It might be required to add acpi_rev_override=1 to the kernel boot cmdline. No additional laptop-specified instructions were used, see NVIDIA.

This driver appears to be working at this point, external displays weren't tried though.

Freezes when starting Xorg, or when switching to tty from Xorg

Please see #NVIDIA GPU