Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
ASUS G55VWのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
ASUS G55VW
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ASUS]] This page contains instructions, tips, pointers, and links for installing and configuring Arch Linux on the ASUS G55VW ROG Laptop == Bootloader == === Boot on usb === Press {{ic|Escape}} to get the boot menu. If usb bootable device is not listed, enter configuration menu and directly press {{ic|F10}} to save. Press {{ic|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 [[UEFI Bootloaders]] pages before following those instructions.}} It is possible to use [[UEFI_Bootloaders#Setting_up_EFISTUB|UEFISTUB]]{{Broken section link}} in-kernel bootloader, if you wish. We present here the [[GRUB2]] way. We assume {{ic|x86_64}} version of Arch Linux. {{warning| UX31A firmware is {{ic|x86_64}}, so it makes it compulsory to use {{ic|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 {{ic|/boot/efi}} in Arch. second partition: [[GUID Partition Table]] Step 0 (optional): install [https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/ShellBinPkg/UefiShell/X64/Shell.efi x86_64 UEFI Shell 2.0 (Beta)]: See [[UEFI#UEFI Shell]]. Can be useful during install, especially it allows to manually boot using [[UEFI_Bootloaders#Setting_up_EFISTUB|UEFISTUB]]{{Broken section link}}. 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 {{ic|/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 {{ic| 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 [[UEFI#Create_GRUB2_entry_in_the_Firmware_Boot_Manager|creating GRUB2 entry in the Firmware Boot Manager]]{{Broken section link}} since it is required to boot in UEFI mode to be able to use [[Unified_Extensible_Firmware_Interface#efibootmgr|efibootmgr]]. The tricks is to do: # cp /boot/efi/EFI/arch_grub/grubx64.efi /boot/efi/shellx64.efi {{Note| temporary move {{ic|shellx64.efi}} if necessary }} # reboot Press {{ic|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 [[Unified_Extensible_Firmware_Interface#efibootmgr|use efibootmgr to add grub entry to firmware]]. == Graphics Drivers == See [[NVIDIA]]. == Screen Backlight == Using the nvidia drivers provided in the extra repo screen the backlight-adjust keys({{ic|Fn+F5}}, {{ic|Fn+F6}}) do not work. To get around this, you need to grab ({aur|nvidiabl-git}). Once you have installed that package, you can map your keys to the script. == Other Keys == 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 http://ubuntuforums.org/showthread.php?p=12054636#post12054636 (ubuntu forums account + minimum of 50 posts required) or http://markmail.org/message/idvl6s27r26xzorb (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 {{ic|3.4.6-1-ARCH}} by your output for {{ic|uname -r}} 3 There is still a problem since dkms doesn't gzip the kernel module and archlinux does (see {{ic|$ modinfo asus-wmi}}): # cd /lib/modules/3.4.6-1-ARCH/kernel/drivers/platform/x86/ # mv asus-wmi.ko.gz asus-wmi.ko.gz.save # gzip asus-wmi.ko {{note | there is probably a cleaner way to do that with dkms}} 4 After reboot, {{ic|xev}} should display events for {{ic|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 === keyboard backlight script === In the same style that for screen backlight. As root, create the file {{ic|/usr/local/share/kbd_backlight}}: #!/bin/bash path="/sys/class/leds/asus::kbd_backlight" #path="/sys/class/leds/asus\:\:kbd_backlight" # max should be 3 max=$(cat ${path}/max_brightness) # step: represent the difference between previous and next brightness step=1 previous=$(cat ${path}/brightness) function commit { if [[ $1 = [0-9]* ]] then if <nowiki>[[ $1 -gt $max ]]</nowiki> then next=$max elif <nowiki>[[ $1 -lt 0 ]]</nowiki> then next=0 else next=$1 fi echo $next >> ${path}/brightness exit 0 else exit 1 fi } case "$1" in up) commit $(($previous + $step)) ;; down) commit $(($previous - $step)) ;; max) commit $max ;; on) $0 max ;; off) commit 0 ;; show) echo $previous ;; night) commit 1 ;; allowusers) # Allow members of users group to change brightness sudo chgrp users ${path}/brightness sudo chmod g+w ${path}/brightness ;; disallowusers) # Allow members of users group to change brightness sudo chgrp root ${path}/brightness sudo chmod g-w ${path}/brightness ;; *) commit $1 esac exit 0 Allow file to be executed : # chmod +x /usr/local/share/kbd_backlight Allow users to change brightness at each boot : # echo "/bin/bash /usr/local/share/kbd_backlight allowusers" >> /etc/rc.local Adding to {{ic|.zshrc}} or {{ic|.bashrc}} : alias -g "kbd_backlight"="/bin/bash /usr/local/share/kbd_backlight" allows to easy toggle backlight in terminal : $ kbd_backlight up $ kbd_backlight down $ kbd_backlight max $ kbd_backlight off $ kbd_backlight night $ kbd_backlight 2 $ kbd_backlight show And finally, add some convenient keyboard shortcuts [[Extra keyboard keys in Xorg|by the method of your choice]].
このページで使用されているテンプレート:
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Warning
(
ソースを閲覧
)
ASUS G55VW
に戻る。
検索
検索
ASUS G55VWのソースを表示
話題を追加