2013年1月27日 星期日

TOSHIBA highest brightness on mint 14(also opensuse 12)

WELL
This is only a memo for myself don't to forget how to tweak my laptop Toshiba L740(probably other's laptop) brightness issue  .

恩....經過昨天晚上的搜尋+嘗試終於在深夜把東西處理好了,今天要整理這些是順便了解哪些可能是倒置無法使用fn key 的原因,還有沒辦法調整亮度的問題,或許是因為我前幾天試了opensuse也是一樣....所以才會換到人數眾多的debian

之前只的的解決方法很多....
(不過我個人並不喜歡調整gamma的方法,所以一看到function裏面有gamma的一蓋掠過)

ways to solve brightness googled
  1. Change the "/etc/X11/xorg.conf"
    http://www.addictivetips.com/ubuntu-linux-tips/fix-laptop-brightness-toggle-issues-in-ubuntu-10-10-and-11-04-tip/
  2. change "/etc/default/grub"
    http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=45610&viewmode=compact&order=ASC&type=&mode=0&start=10
  3. use "getpci"
    http://blog.felixc.at/2011/03/ubuntu-change-screen-brightness-from-terminal/ 
  4. (which is not work in 64bit) install fnfx
  我一開始是找到第2種方法,但是嘗試了很多次還是一樣沒有辦法解決,另外也嘗試了第1種方法,結果依然讓人絕望.另外使用getpci嘗試直接更改更糟,根本沒有

後來才發現,getpci需要先輸入lspci,尋找自己的VGA compatible controller: 像我的notebook使用nvidia顯卡就不能使用網路上多數講的 sudo setpci -s 00:02.0 F4.B=xx 因為我的VGA compatible controller 不是00:02.0而是01:00.0

然而在我可以更改螢幕亮度後依然不行,所以放棄這方法

後來....在方法2終於找到了,原來是我沒安裝nvidia的第3方驅動阿~(mint KDE可以在application->additional driver)
sudo jockey-gtk
安裝完後還要設定nvidia-xconfig
sudo nvidia-xconfig
然而因為我已經有
更改過xorg.conf(在sudo nvidia-xconfig之後)打開"/etc/X11/xorg.conf"於內容增加Option "RegistryDwords" "EnableBrightnessControl=1"
Section “Device”
  Identifier “Default Device”

Option “NoLogo” “True”

Option “RegistryDwords” “EnableBrightnessControl=1″

EndSection

跟grub
1. Open a terminal (Program - Accessories - Terminal)
2. Type in "sudo gedit /etc/default/grub" (without the "")
3. Find the line that says: GRUB_CMDLINE_LINUX="quiet splash"
4. Edit it so it says: GRUB_CMDLINE_LINUX="quiet splash acpi_backlight=vendor"
5. Save and exit
6. Run the command "sudo update-grub" (again without quotes of course)
(i also run 7. Run the command "sudo update-initramfs -u -k all")
所以不是很確定是xorg.config還是grub幫我把brightness修好了
不過依然是有個小問題,我的fn要在sleep過後才能正常工作@@

過幾天來釐清到底是哪個修好了吧



TOSHIBA L740 拆機(teardown) 與GPU墊銅片心得

最近因為筆電過保,外加上使用上感覺有點熱度,趁著還沒進入夏天之際趕快來拆解,更換散熱膏(新鮮入手的AC MX-4)與清理風扇。 說是拆解,其實因為材料沒買齊也拆了四次有了,不過最重要的是...都忘了拍照阿 只照了這一張 不過其實上網找過許多網站,不管英文中文的幾...