X

ThinkPad X220i 安裝 Ubuntu 的硬體相關設定(指紋辨識、Webcam.. 等)

IBM ThinkPad X220i 要安裝 Ubuntu Linux, 硬體支援度(規格同: Ubuntu on Lenovo Thinkpad X220i Tablet)都很完整, 所以沒有什麼麻煩.

Lenovo Thinkpad X220i 硬體規格內容

$ lspci

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 07)

Lenovo Thinkpad X220i 相關軟、硬體設定 與 測試

Ubuntu Linux 安裝完成後, 再來就是測測看 Webcam、指紋辨識等功能, 然後再來安裝相關軟體來保護與啟用快速鍵等功能.

註: 網路、無線網路 安裝完就都正常使用了.

Webcam 測試

  1. apt-get install cheese
  2. 執行 cheese 就可以看到 Webcam, 可以拍照和錄影測試看看.

指紋辨識

  1. 可參考此篇: Ubuntu 指紋辨識 fingerprint 驅動
  2. 官方網站: Fingerprint GUI
  3. lsusb # 查看是否有支援 fingerprint, 不支援就先想辦法解決再進行下述步驟
  4. sudo add-apt-repository ppa:fingerprint/fingerprint-gui # 增加 fingerprint ppa
  5. sudo apt-get update
  6. sudo apt-get install libbsapi fingerprint-gui policykit-1-fingerprint-gui # 安装fingerprint-gui.
  7. 執行 fingerprint-gui
  8. 選取 Scan / Verify 一直刷就完成囉~
  9. 再來於開機、暫停後, 都可以同時用密碼或指紋登入了. 🙂

註: thinkfinger-tools, libpam-thinkfinger, AES2501 (可見下述連結) 等測試都沒用, 直接用 fingerprint 簡單又容易.

保護硬碟

詳細可見: HDAPS - IBM Active Protection System Linux Driver

  1. apt-get install hdapsd # HDAPS daemon
  2. vim /etc/default/hdapsd # 若有需要特別設定的話, 可於此設定.

讓 ThinkPad 的內建快速鍵生效可安裝 tpb

  1. apt-get install tpb

ThinkFan 可以設定控制風扇轉速

  1. sudo apt-get install thinkfan sysfsutils

相關網頁可見:

顯示硬碟和 CPU 的溫度 - sensors-applet

  1. sudo aptitude install sensors-applet

多點觸控

想要有類似 MacOSX 的雙手指上下拉網頁等等功能, 可見下述兩篇:

若想要有類似 MacOSX 的多點觸控手勢功能(更進階模擬), 可以使用 Touchegg.

詳見此篇: Touchegg : 讓 Linux 也支援多點觸控手勢 (x200i 沒有額外裝備請跳過下述內容)

註: 必須擁有一塊 Apple Magic Trackpad 之類的多點觸摸設備, ex: Apple Magic Trackpad , Asus eeepc 1000h (內置 Elantech Trackpad) , MacBook Pro 7.1 及其它
Macbook , MacBook Air

多點觸控相關網頁

Ubuntu Linux 快速休眠 等 Shell 指令

下述摘錄自此篇: Ubuntu密技 - 睡眠、休眠、關機、重新開機

鍵入如下命令可進入睡眠:(低耗電模式,只要按下任意鍵,電腦即甦醒。)

$ sudo /etc/acpi/sleepbtn.sh

鍵入如下命令可進入休眠:(最低耗電模式,關閉硬碟機)

$ sudo /etc/acpi/hibernate.sh

IBM ThinkPad 內建快速鍵

  • Fn + F8 關閉觸控版 (避免不小心都按到觸控版)
  • Fn + F5 關閉 Ap、藍牙
  • Fn + F4 進入省電, 鍵盤一按即開啟
    同 $ sudo /etc/acpi/sleepbtn.sh
  • Fn + F12 進入省電, 鍵盤一按即開啟
    同 $ sudo /etc/acpi/hibernate.sh
Tsung: 對新奇的事物都很有興趣, 喜歡簡單的東西, 過簡單的生活.
Related Post