顯示具有 sl410 標籤的文章。 顯示所有文章
顯示具有 sl410 標籤的文章。 顯示所有文章

2011年4月25日 星期一

備份DVD

使用dd command
dd if=輸入端 of=輸出端 bs=size

ex.
dd if=/dev/sr0 of=/media/808CB6408CB63090/軟體區/FriendArm/mini2440+android-2.iso bs=2048

使用Ubuntu under Lenovo Thinkpad SL410

透過Facebook分享

2011年3月10日 星期四

sl410

SL410 2842-FCV



PChome線上購物- SL410-Core 2 Duo+NO OS$17900

 - 9 個瀏覽次數 - 下午12:35
殺青最後8台↗加碼送無線基地台◢Lenovo ThinkPad SL410 2842-FCV寬螢幕小黑【Intel 64位元雙核心處理器T6570】【防潑水鍵盤】 勇~耐操! ...
shopping.pchome.com.tw › 24h 購物 › ThinkPad 聯想 - 頁庫存檔 - 類似內容

透過Facebook分享

2011年1月11日 星期二

SL410 省電好幫手 - cpufreq-utils (靠降頻省電)

 安裝cpufreq-utils

nelsonchung@ubuntu:~/myandroid9.1/kernel_imx/Nelson/IoControl/app$ cpufreq-info
cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1.20 GHz - 2.10 GHz
  available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.20 GHz and 2.10 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.20 GHz.
  cpufreq stats: 2.10 GHz:16.53%, 2.10 GHz:2.60%, 1.60 GHz:2.64%, 1.20 GHz:78.23%  (415739)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 1.20 GHz - 2.10 GHz
  available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.20 GHz and 2.10 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 2.10 GHz.
  cpufreq stats: 2.10 GHz:16.60%, 2.10 GHz:2.58%, 1.60 GHz:2.68%, 1.20 GHz:78.13%  (427283)



解壓縮後
./batterymode.sh


showcpuinfo.sh: 顯示cpu freq information
goodperformance.sh: 將cpu frequence調到最高2.10GHz (請根據showcpuinfo.sh所顯示的資料來決定)
batterymode.sh:將cpu frequence調到最低1.20GHz(請根據showcpuinfo.sh所顯示的資料來決定)

透過Facebook分享

2011年1月3日 星期一

install bluez

nelsonchung@gps1004:~/Build/9.1$ sudo apt-get install bluez
[sudo] password for nelsonchung:
Reading package lists... Done
Building dependency tree    
Reading state information... Done
The following extra packages will be installed:
  libbluetooth3
The following NEW packages will be installed:
  bluez libbluetooth3
0 upgraded, 2 newly installed, 0 to remove and 44 not upgraded.
Need to get 483kB of archives.
After this operation, 1,466kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://tw.archive.ubuntu.com/ubuntu/ lucid/main libbluetooth3 4.60-0ubuntu8 [71.9kB]
Get:2 http://tw.archive.ubuntu.com/ubuntu/ lucid/main bluez 4.60-0ubuntu8 [411kB]
Fetched 483kB in 3s (141kB/s)
Selecting previously deselected package libbluetooth3.
(Reading database ... 64610 files and directories currently installed.)
Unpacking libbluetooth3 (from .../libbluetooth3_4.60-0ubuntu8_i386.deb) ...
Selecting previously deselected package bluez.
Unpacking bluez (from .../bluez_4.60-0ubuntu8_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libbluetooth3 (4.60-0ubuntu8) ...

Setting up bluez (4.60-0ubuntu8) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place


nelsonchung@ubuntu:~$ hcitool dev
Devices:
hci0 70:F3:95:42:EA:76




透過Facebook分享

2011年1月2日 星期日

顯示硬體資訊 - lshw

顯示部份資訊-顯示卡

*-display:0
             description: VGA compatible controller
             product: Mobile 4 Series Chipset Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 07
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:32 memory:f2400000-f27fffff memory:d0000000-dfffffff(prefetchable) ioport:1800(size=8)
        *-display:1 UNCLAIMED
             description: Display controller
             product: Mobile 4 Series Chipset Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 07
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: latency=0
             resources: memory:f2100000-f21fffff
        *-usb:0


透過Facebook分享

2010年12月27日 星期一

SL410 安裝Ubuntu 10.04 - 運行時 畫面會有閃動

原本安裝windows xp不會
安裝Ubuntu 10.04卻會有類似更新畫面的閃動
頻率挺頻繁的十幾分鐘一次 (估計值)

後來把電池移除
只用Ac adapter供電
就很少發生
一天一次(估計值)

透過Facebook分享

2010年12月21日 星期二

修改sl410 trackpoint 小紅點的靈敏度 under 10.04

Follow在ubuntu 10.4中調整trackpoint的sensitivity作設定


發現my系統的speed and sensitivity跟作者的不同

nelsonchung@ubuntu:/sys/devices/platform/i8042$ find . -type f -name speed
./serio4/serio5/speed
nelsonchung@ubuntu:/sys/devices/platform/i8042$ find . -type f -name sensitivity
./serio4/serio5/sensitivity

以下是我的修改內容
將以下內容修改到/etc/udev/rules.d/10-trackpoint.rules

SUBSYSTEM=="serio", DRIVERS=="psmouse"

WAIT_FOR="/sys/devices/platform/i8042/serio4/serio5/speed", ATTR{speed}="120"
WAIT_FOR="/sys/devices/platform/i8042/serio4/serio5/sensitivity", ATTR{sensitivity}="245"


ps:
http://zh.wikipedia.org/zh/Udev


透過Facebook分享

2010年12月19日 星期日

Ubuntu系統支援4G以上的ram - PAE(physical address extension)

請安裝以下套件
sudo apt-get install linux-headers-server linux-image-server linux-server


可以使用free -m看memory

升級過程

nelsonchung@ubuntu:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          2863       2179        684          0        757        967
-/+ buffers/cache:        455       2408
Swap:          254          0        254
nelsonchung@ubuntu:~$ sudo apt-get update
[sudo] password for nelsonchung:
下載:1 http://dl.google.com stable Release.gpg [197B]
略過 http://dl.google.com/linux/chrome/deb/ stable/main Translation-zh_TW    
已有 http://tw.archive.ubuntu.com lucid Release.gpg                          
下載:2 http://tw.archive.ubuntu.com/ubuntu/ lucid/main Translation-zh_TW [56.4kB]
已有 http://security.ubuntu.com lucid-security Release.gpg                  
略過 http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-zh_TW
已有 http://archive.canonical.com lucid Release.gpg                          
略過 http://archive.canonical.com/ lucid/partner Translation-zh_TW          
已有 http://ppa.launchpad.net lucid Release.gpg                              
略過 http://ppa.launchpad.net/globalmenu-team/ppa/ubuntu/ lucid/main Translation-zh_TW
已有 http://ppa.launchpad.net lucid Release.gpg                            
略過 http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-zh_TW
略過 http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-zh_TW
略過 http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-zh_TW
已有 http://security.ubuntu.com lucid-security Release                      
已有 http://archive.canonical.com lucid Release                            
略過 http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ lucid/main Translation-zh_TW
已有 http://ppa.launchpad.net lucid Release                        
下載:3 http://dl.google.com stable Release [1,347B]                
略過 http://tw.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-zh_TW
已有 http://ppa.launchpad.net lucid Release                                  
已有 http://security.ubuntu.com lucid-security/main Packages                
已有 http://archive.canonical.com lucid/partner Packages                    
下載:4 http://tw.archive.ubuntu.com/ubuntu/ lucid/universe Translation-zh_TW [29.7kB]
已有 http://ppa.launchpad.net lucid/main Packages                            
已有 http://security.ubuntu.com lucid-security/restricted Packages    
已有 http://security.ubuntu.com lucid-security/main Sources          
已有 http://security.ubuntu.com lucid-security/restricted Sources    
已有 http://security.ubuntu.com lucid-security/universe Packages      
已有 http://security.ubuntu.com lucid-security/universe Sources      
下載:5 http://dl.google.com stable/main Packages [1,076B]            
已有 http://ppa.launchpad.net lucid/main Packages                            
已有 http://security.ubuntu.com lucid-security/multiverse Packages
已有 http://security.ubuntu.com lucid-security/multiverse Sources
下載:6 http://tw.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-zh_TW [3,024B]
下載:7 http://tw.archive.ubuntu.com lucid-updates Release.gpg [198B]
略過 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-zh_TW
略過 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-zh_TW
略過 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-zh_TW
略過 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-zh_TW
已有 http://tw.archive.ubuntu.com lucid Release
下載:8 http://tw.archive.ubuntu.com lucid-updates Release [44.7kB]
已有 http://tw.archive.ubuntu.com lucid/main Packages
已有 http://tw.archive.ubuntu.com lucid/restricted Packages
已有 http://tw.archive.ubuntu.com lucid/main Sources
已有 http://tw.archive.ubuntu.com lucid/restricted Sources                  
已有 http://tw.archive.ubuntu.com lucid/universe Packages                    
已有 http://tw.archive.ubuntu.com lucid/universe Sources                    
已有 http://tw.archive.ubuntu.com lucid/multiverse Packages                  
已有 http://tw.archive.ubuntu.com lucid/multiverse Sources                  
下載:9 http://tw.archive.ubuntu.com lucid-updates/main Packages [370kB]      
下載:10 http://tw.archive.ubuntu.com lucid-updates/restricted Packages [3,240B]
下載:11 http://tw.archive.ubuntu.com lucid-updates/main Sources [141kB]      
下載:12 http://tw.archive.ubuntu.com lucid-updates/restricted Sources [1,443B]
下載:13 http://tw.archive.ubuntu.com lucid-updates/universe Packages [159kB]
下載:14 http://tw.archive.ubuntu.com lucid-updates/universe Sources [61.3kB]
下載:15 http://tw.archive.ubuntu.com lucid-updates/multiverse Packages [7,366B]
下載:16 http://tw.archive.ubuntu.com lucid-updates/multiverse Sources [3,677B]
取得 884kB 用了 11s (78.9kB/s)                                              
正在讀取套件清單... 完成
nelsonchung@ubuntu:~$ sudo apt-get install linux-headers-server linux-image-server linux-server
正在讀取套件清單... 完成
正在重建相依關係        
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
  linux-generic-pae linux-headers-2.6.32-26-generic-pae
  linux-headers-generic-pae linux-image-2.6.32-26-generic-pae
  linux-image-generic-pae
建議套件:
  fdutils linux-doc-2.6.32 linux-source-2.6.32 linux-tools
下列【新】套件將會被安裝:
  linux-generic-pae linux-headers-2.6.32-26-generic-pae
  linux-headers-generic-pae linux-headers-server
  linux-image-2.6.32-26-generic-pae linux-image-generic-pae linux-image-server
  linux-server
升級 0 個,新安裝 8 個,移除 0 個,有 12 個未被升級。
需要下載 32.4MB 的套件檔。
此操作完成之後,會多佔用 109MB 的磁碟空間。
是否繼續進行 [Y/n]?y
下載:1 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-image-2.6.32-26-generic-pae 2.6.32-26.48 [31.6MB]
下載:2 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-image-generic-pae 2.6.32.26.28 [4,160B]
下載:3 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-generic-pae 2.6.32.26.28 [4,148B]
下載:4 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-2.6.32-26-generic-pae 2.6.32-26.48 [763kB]
下載:5 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-generic-pae 2.6.32.26.28 [4,148B]
下載:6 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-server 2.6.32.26.28 [4,158B]
下載:7 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-image-server 2.6.32.26.28 [4,156B]
下載:8 http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-server 2.6.32.26.28 [4,150B]
取得 32.4MB 用了 34s (942kB/s)                                              
選取了原先未被選取的套件 linux-image-2.6.32-26-generic-pae。
(正在讀取資料庫 ... 系統目前共安裝了 156551 個檔案和目錄。)
正在解開 linux-image-2.6.32-26-generic-pae (從 .../linux-image-2.6.32-26-generic-pae_2.6.32-26.48_i386.deb)...
Done.
選取了原先未被選取的套件 linux-image-generic-pae。
正在解開 linux-image-generic-pae (從 .../linux-image-generic-pae_2.6.32.26.28_i386.deb)...
選取了原先未被選取的套件 linux-generic-pae。
正在解開 linux-generic-pae (從 .../linux-generic-pae_2.6.32.26.28_i386.deb)...
選取了原先未被選取的套件 linux-headers-2.6.32-26-generic-pae。
正在解開 linux-headers-2.6.32-26-generic-pae (從 .../linux-headers-2.6.32-26-generic-pae_2.6.32-26.48_i386.deb)...
選取了原先未被選取的套件 linux-headers-generic-pae。
正在解開 linux-headers-generic-pae (從 .../linux-headers-generic-pae_2.6.32.26.28_i386.deb)...
選取了原先未被選取的套件 linux-headers-server。
正在解開 linux-headers-server (從 .../linux-headers-server_2.6.32.26.28_i386.deb)...
選取了原先未被選取的套件 linux-image-server。
正在解開 linux-image-server (從 .../linux-image-server_2.6.32.26.28_i386.deb)...
選取了原先未被選取的套件 linux-server。
正在解開 linux-server (從 .../linux-server_2.6.32.26.28_i386.deb)...
正在設定 linux-image-2.6.32-26-generic-pae (2.6.32-26.48) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-26-generic-pae
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-26-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-26-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found Windows NT/2000/XP on /dev/sda1
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-26-generic-pae /boot/vmlinuz-2.6.32-26-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-26-generic-pae /boot/vmlinuz-2.6.32-26-generic-pae

正在設定 linux-image-generic-pae (2.6.32.26.28) ...
正在設定 linux-generic-pae (2.6.32.26.28) ...
正在設定 linux-headers-2.6.32-26-generic-pae (2.6.32-26.48) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-26-generic-pae /boot/vmlinuz-2.6.32-26-generic-pae

正在設定 linux-headers-generic-pae (2.6.32.26.28) ...
正在設定 linux-headers-server (2.6.32.26.28) ...
正在設定 linux-image-server (2.6.32.26.28) ...
正在設定 linux-server (2.6.32.26.28) ...

sudo reboot now
重新開機後

nelsonchung@ubuntu:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          5881       1346       4534          0        543        595
-/+ buffers/cache:        207       5674
Swap:          254          0        254



Reference:

透過Facebook分享

2010年12月9日 星期四

取消Touchpad滾動功能 under sl410

Lenovo sl410
Ubuntu 10.04

可以使用Ubuntu 10.04內建滑鼠軟體
系統->偏好設定->滑鼠->觸碰板

捲動方式
調整成"已停用"



透過Facebook分享

Trackpoint 滑鼠中鍵 啟動滾動功能 under sl410

Machine: lenovo sl410
Ubuntu 10.04

啟動方式

sudo vim /usr/lib/X11/xorg.conf.d/20-thinkpad.conf

輸入以下內容

Section “InputClass”
Identifier “Trackpoint Wheel Emulation”
MatchProduct “TrackPoint”
MatchDevicePath “/dev/input/event*”
Driver “evdev”
Option “EmulateWheel” “true”
Option “EmulateWheelButton” “2″
Option “Emulate3Buttons” “false”
Option “XAxisMapping” “6 7″
Option “YAxisMapping” “4 5″
EndSection

update--2011-08-29
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection

sudo reboot now

重開機後就可以用嚕

Reference:
http://psung.blogspot.com/2010/04/thinkpad-trackpoint-scrolling-in-ubuntu.html
http://www.fovweb.com/fov/ubuntu-thinkpad.html

透過Facebook分享