From ArchWiki
Jump to navigation Jump to search

This page contains instructions, tips, pointers, and links for installing and configuring Arch Linux on the ASUS G55VW ROG Laptop


Boot on usb

Press Escape to get the boot menu. If usb bootable device is not listed, enter configuration menu and directly press F10 to save. Press Escape again on reboot : this time USB bootable device should appears in the menu.

Set up UEFI boot

Note: It is recommended to read the UEFI, GPT and Arch boot process#Boot loader pages before following those instructions.

It is possible to use EFISTUB in-kernel bootloader, if you wish. We present here the GRUB2 way. We assume x86_64 version of Arch Linux.

Warning: UX31A firmware is x86_64, so it makes it compulsory to use x86_64 kernel to be able to dual boot with Windows in UEFI mode

In the original partition setup:

first partition: UEFI boot fat32 partition, should be mounted on /boot/efi in Arch.

second partition: GUID Partition Table

Step 0 (optional): install x86_64 UEFI Shell 2.0 (Beta):

See UEFI#UEFI Shell. Can be useful during install, especially it allows to manually boot using EFISTUB.

Step 1: granted you can boot into your install through install disk, grub1 or via a liveusb and a chroot:

# pacman -S grub-efi-x86_64

Follow GRUB2#UEFI systems.

Optional: add some power optimisation kernel parameters. In /etc/default/grub file:

GRUB_CMDLINE_LINUX_DEFAULT="quiet add_efi_memmap i915.i915_enable_rc6=1 drm.vblankoffdelay=1 i915.semaphores=1"
Note: concerning kernel parameter pcie_aspm=force, I'm unsure: Ubuntu wiki recommends it, but UX31E Arch wiki says it should not be used.

Reinstall grub2 :

grub-mkconfig -o /path/to/grub.cfg

Step 2: it is not yet possible to finish install by creating GRUB2 entry in the Firmware Boot Manager[broken link: invalid section] since it is required to boot in UEFI mode to be able to use efibootmgr. The tricks is to do:

# cp /boot/efi/EFI/arch_grub/grubx64.efi /boot/efi/shellx64.efi
Note: temporary move shellx64.efi if necessary
# reboot

Press F2 on reboot and choose "Launch EFI shell from filesystem device". It should trigger grub2 and boot into arch if grub2 is correctly set up. You should now be able to use efibootmgr to add grub entry to firmware.

Graphics Drivers


Screen Backlight

Using the nvidia drivers provided in the extra repo screen the backlight-adjust keys(Fn+F5, Fn+F6) do not work. To get around this, you need to grab nvidiabl-gitAUR[broken link: archived in aur-mirror]. Once you have installed that package, you can map your keys to the script.

Other Keys

Tango-inaccurate.pngThe factual accuracy of this article or section is disputed.Tango-inaccurate.png

Reason: linux contains an asus-wmi module, what is wrong with that? (Discuss in Talk:ASUS G55VW#)

It is also possible to use Dynamic Kernel Module Support (DKMS) (package in community), to avoid compiling the whole kernel:

1 get the archive at (ubuntu forums account + minimum of 50 posts required) or (no account required)

Note: there is perhaps more suitable place to get the asus-wmi kernel module sources, the patch and the dkms conf file

2 extract the archive, and then extract the .deb and get the sources inside (asus-wmi.c is already patched with above patch):

 # cp -a usr/src/asus-wmi-0.2 /usr/src/
 # cd /usr/src/
 # dkms add -m asus-wmi -v 0.2
 # dkms built -m asus-wmi -v 0.2 -k 3.4.6-1-ARCH
 # dkms status
 # dkms install -m asus-wmi -v 0.2 -k 3.4.6-1-ARCH
 # dkms status

replace 3.4.6-1-ARCH by your output for uname -r

3 There is still a problem since dkms doesn't gzip the kernel module and archlinux does (see $ modinfo asus-wmi):

# cd /lib/modules/3.4.6-1-ARCH/kernel/drivers/platform/x86/
# mv asus-wmi.ko.gz
# gzip asus-wmi.ko
Note: there is probably a cleaner way to do that with dkms

4 After reboot, xev should display events for Fn keys. And keyboard backlight can be trigger by:

# echo 0 >> /sys/class/leds/asus\:\:kbd_backlight/brightness
# echo 3 >> /sys/class/leds/asus\:\:kbd_backlight/brightness