作者 主題: macbook pro 2016 安裝Linux問題 新進展  (閱讀 3607 次)

0 會員 與 1 訪客 正在閱讀本文。

m2658331

  • 可愛的小學生
  • *
  • 文章數: 3
    • 檢視個人資料
大家好,小弟是初學者,想要在自己的macbook pro安裝Linux
這是我的macbook pro版本 https://support.apple.com/kb/SP747?locale=zh_TW
只有兩個USB TYPE-C接口,我是靠TYPE-C轉接USB的線接著一個USB2.0來安裝linux Ubuntu
使用refind開機引導,進入之後有輸入nomodeset才能正常進入安裝畫面
現在的問題是在進入安裝畫面之後觸控板跟鍵盤都不能動,只有開機鍵能用
上網查到了一篇可能能幫助我的文章並且裡面也附著工具 https://gist.github.com/roadrunner2/1289542a748d9a104e7baec6a92f9cd7#summary-of-current-state
裡面有一段是這樣//
Keyboard/Touchpad/Touchbar
For this we need the drivers from https://github.com/roadrunner2/macbook12-spi-driver.git (a clone of https://github.com/cb22/macbook12-spi-driver which includes a preliminary touchbar driver and keyboard fixes). The following commands set this up.

First some extra packages:

sudo dnf install git kernel-devel dkms
Next we need to prepare for the modules to be included in the ramdisk (so they are loaded early during boot):

cat <<EOF | sudo tee /etc/dracut.conf.d/keyboard.conf
# load all drivers needed for the keyboard+touchpad
add_drivers+="applespi intel_lpss_pci spi_pxa2xx_platform appletb"
EOF
On distros using mkinitramfs instead of dracut you'll want to do the following instead:

cat <<EOF | sudo tee -a /etc/initramfs-tools/modules
# drivers for keyboard+touchpad
applespi
appletb
intel_lpss_pci
spi_pxa2xx_platform
EOF
Now get and build the drivers:

git clone https://github.com/roadrunner2/macbook12-spi-driver.git
pushd macbook12-spi-driver
git checkout touchbar-driver-hid-driver
sudo ln -s `pwd` /usr/src/applespi-0.1
sudo dkms install applespi/0.1
popd
Next we need to set the proper dpi for the touchpad (download the 61-evdev-local.hwdb from this gist):

sudo cp ...the-downloaded-61-evdev-local.hwdb... /etc/udev/hwdb.d/61-evdev-local.hwdb
You can test the drivers by loading them and their dependencies:

sudo modprobe intel_lpss_pci spi_pxa2xx_platform applespi appletb
Finally, reboot to make sure it all works correctly:

sudo reboot
//
看起來似乎是要我在refind開機引導時就載入觸控板以及鍵盤驅動
但是我不懂到底該怎麼做,是要把檔案放在哪個位置,或是使用terminal輸入些什麼?

求解
« 上次編輯: 2018-02-15 06:07 由 m2658331 »