- Touchpad 驅動程式不像原 Mac 支援多種手勢。
- 開機時有時會卡住,經查為 iptables 關閉或重啟時有些模組無法成功卸載,設定 iptables 服務關閉或重啟不必卸載模組後問題解決。
[root@dywmac ~]# vim /etc/sysconfig/iptables-config
[root@dywmac ~]# grep IPTABLES_MODULES_UNLOAD /etc/sysconfig/iptables-config
IPTABLES_MODULES_UNLOAD="no"
- 目前使用 kernel-ml-4.3.3 版本運作正常,但 HDMI, bluetooth 無法使用。4.4 後的版本雖可使用 HDMI, bluetooth,但 logout 退出圖形面後 gdm 卡住,firefox 有時造成系統死當。原因為 i915 模組的 HDMI 功能,可以暫時關閉 i915 模組,在 blacklist.conf 關閉 i915 無效,要移除核心 i915 模組,再執行 depmod,重新啟動後系統不再死當,但不能使用 HDMI,鍵盤上的調整螢幕亮度按鈕也無效。
[root@dywmac ~]# grep i915 /etc/modprobe.d/blacklist.conf
blacklist i915
[root@dywmac ~]# cd /lib/modules/4.7.0-1.el6.elrepo.x86_64/
[root@dywmac 4.7.0-1.el6.elrepo.x86_64]# vim modules.drm
[root@dywmac 4.7.0-1.el6.elrepo.x86_64]# vim modules.order
[root@dywmac 4.7.0-1.el6.elrepo.x86_64]# grep i915 modules.{drm,order}
modules.drm:#i915.ko
modules.order:#kernel/drivers/gpu/drm/i915/i915.ko
[root@dywmac 4.7.0-1.el6.elrepo.x86_64]# cd kernel/drivers/gpu/drm/i915/
[root@dywmac i915]# mv i915.ko i915.ko.bak
[root@dywmac 4.7.0-1.el6.elrepo.x86_64]# depmod -ae
- 修改 i915 模組開機參數,HDMI 還是有問題,但 kernel 4.4 版本目前測試還沒當機,kernel 4.7 登出登入不會當機,但網頁有時還是會當。
[root@dywmac ~]# vim /etc/modprobe.d/i915.conf
[root@dywmac ~]# tail -1 /etc/modprobe.d/i915.conf
options i915 modeset=1 enable_execlists=0
- kernel-ml-firmware 更新到 4.7.3 版,kernel-ml 使用 4.4. 版 HDMI 螢幕可以使用了,但 MAC 主螢幕選單列出現黑螢幕。kernel-ml 使用 4.7.3 開機會出現錯誤訊息且有時會當機。
[root@dywmac ~]# dmesg | grep -i error
[drm:fw_domains_get_with_thread_status [i915]] *ERROR* GT thread status wait timed out
- kernel-ml 更新到 4.7.5 版,開機還是出現上述 i915 錯誤訊息,以目前的環境重新產生 initramfs 檔,重開機後 i915 錯誤訊息不再出現,而且 hdmi 螢幕也可以用。
[root@dywmac ~]# uname -r
4.7.5-1.el6.elrepo.x86_64
[root@dywmac ~]# dracut --force
[root@dywmac ~]# reboot
- 如果設定 i915 開機參數無效,必須設定好之後執行 dracut 重新產生 initramfs 檔才會生效。
enable_rc6=0 或 modeset=0 則無 hdmi 螢幕,enable_fbc=0 接 hdmi 螢幕時,mac 主螢幕選單列出現黑幕。
[root@dywmac ~]# vim /etc/modprobe.d/i915.conf
[root@dywmac ~]# cat /etc/modprobe.d/i915.conf
options i915 enable_rc6=0 enable_fbc=0
#options i915 modeset=1 enable_execlists=0
[root@dywmac ~]# cat /sys/module/i915/parameters/enable_rc6
1
[root@dywmac ~]# cat /sys/module/i915/parameters/enable_fbc
-1
[root@dywmac ~]# dracut --force
[root@dywmac ~]# reboot
- kernel-ml 更新到 4.8.0 版,HDMI 螢幕可以使用,i915 錯誤訊息不一樣。
[root@dywmac ~]# dmesg | grep -i error
[drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 202
- kernel-ml 4.8.0 版 i915 開機參數設定為
modeset=1 enable_execlists=0 沒有 i915 錯誤訊息,不過還是會當機,HDMI 有部分黑幕。
[root@dywmac ~]# vim /etc/modprobe.d/i915.conf
[root@dywmac ~]# cat /etc/modprobe.d/i915.conf
options i915 modeset=1 enable_execlists=0
[root@dywmac ~]# dmesg | grep -i error
- kernel-ml 4.8.0 版 i915 開機參數設定為
modeset=-1 enable_execlists=0 沒有 i915 錯誤訊息,HDMI 沒有黑幕現象,還是會當機。
[root@dywmac ~]# vim /etc/modprobe.d/i915.conf
[root@dywmac ~]# cat /etc/modprobe.d/i915.conf
options i915 modeset=-1 enable_execlists=0
[root@dywmac ~]# dmesg | grep -i error
[root@dywmac ~]# dracut --force
[root@dywmac ~]# reboot
[root@dywmac ~]# cat /sys/module/i915/parameters/modeset
-1
- kernel-ml 4.8.1 版 i915 沒有 i915 錯誤訊息,HDMI 也沒有黑幕現象,但還是會當機。
[root@dywmac ~]# uname -r
4.8.1-1.el6.elrepo.x86_64
[root@dywmac ~]# dmesg | grep -i error
[root@dywmac ~]# cat /sys/module/i915/parameters/modeset
-2
- kernel-ml 4.8.2 版 i915 沒有 i915 錯誤訊息,HDMI 也沒有黑幕現象,以下列 i915 參數開機沒當機,繼續觀察中。
[root@dywmac ~]# grep enable_rc6 /boot/efi/EFI/redhat/grub.conf
kernel /vmlinuz-4.8.2-1.el6.elrepo.x86_64 ............ \
i915.modeset=-1 i915.enable_rc6=0
[root@dywmac ~]# cat /sys/module/i915/parameters/lvds_channel_mode
0
[root@dywmac ~]# cat /sys/module/i915/parameters/lvds_use_ssc
-1
[root@dywmac ~]# cat /sys/module/i915/parameters/enable_rc6
0
[root@dywmac ~]# cat /sys/module/i915/parameters/modeset
-1
- kernel-ml-firmware 4.8.3 版,HDMI 反而不穩定,最後採用
kernel-ml-firmware-4.8.2-1.el6.elrepo.noarch,不論 kernel-ml 是 4.8.3, 4.8.2 或 4.4.5 都可正常使用,但 kernel-ml 4.8 比較耗電,所以目前使用 kernel-ml-4.4.5-1.el6.elrepo.x86_64 且 i915 使用以下參數:
[root@dywmac ~]# cat /sys/module/i915/parameters/enable_execlists
0
[root@dywmac ~]# cat /sys/module/i915/parameters/modeset
1
[root@dywmac ~]# cat /sys/module/i915/parameters/lvds_channel_mode
0
[root@dywmac ~]# cat /sys/module/i915/parameters/lvds_use_ssc
-1
[root@dywmac ~]# cat /sys/module/i915/parameters/enable_rc6
1
-
使用 kernel-ml-4.4.5-1 kernl-ml-firmware-4.4.5-1,開機核心設定
intel_iommu=off,螢幕顯示正常,改變螢幕解析度,登出登入圖形界面,HDMI 雙螢幕的功能都可正常使用。
[root@dywmac ~]# grep intel /boot/efi/EFI/redhat/grub.conf
kernel /vmlinuz-4.4.5-1.el6.elrepo.x86_64 ro ...... intel_iommu=off