---
title: "Ubuntu 7.10 在我的 P30 上閃屏問題"
url: https://sammy.hk/ubuntu-710-%e5%9c%a8%e6%88%91%e7%9a%84-p30-%e4%b8%8a%e9%96%83%e5%b1%8f%e5%95%8f%e9%a1%8c/
author: Sammy Fung
published: 2007-11-20T01:23:04+08:00
modified: 2021-06-01T00:43:15+08:00
description: "今晚看完電視劇 Top Caster 和 House S3 後，開始研究 Ubuntu 7.10 在我的 Samsung P30 上不斷閃屏問題。 開頭我猜想是類似 X-Windows 的 refresh rate 等等的問題，但試過改 xorg.conf 還是不行時，便看看有甚麼 services 在運行中。看見 a…"
categories: ["開放源碼"]
tags: [ubuntu]
source: https://sammy.hk
---
今晚看完電視劇 Top Caster 和 House S3 後，開始研究 Ubuntu 7.10 在我的 Samsung P30 上不斷閃屏問題。

開頭我猜想是類似 X-Windows 的 refresh rate 等等的問題，但試過改 xorg.conf 還是不行時，便看看有甚麼 services 在運行中。看見 acpid 和 apmd 一起在運行，google 後決定停了 apmd，但仍是在閃屏。

然後檢查了 /var/log/acpid.log，嘩！不斷有 acpi event。那麼再試試停了 acpid 看看，噢！沒有閃屏了，google acpid 在 ubuntu 上有甚麼問題，原來 /etc/acpi/asus-brn-{up|down}.sh 這兩個檔案裡，acpi\_fakekey 一行在作怪，哼，在 remark 了後正常了。

參考：

[Bug #145131 in hal (Ubuntu) – \[Gutsy\] Screen constantly flashing while g-p-m is running](https://bugs.launchpad.net/ubuntu/+source/hal/+bug/145131)

### 相關文章：

1. [成功在 notebook 的 Ubuntu 上設定 Compiz 3D compositing](https://sammy.hk/%e6%88%90%e5%8a%9f%e5%9c%a8-notebook-%e7%9a%84-ubuntu-%e4%b8%8a%e8%a8%ad%e5%ae%9a-compiz-3d-compositing/ "成功在 notebook 的 Ubuntu 上設定 Compiz 3D compositing")
2. [F-Spot 與我的 Gallery 相簿](https://sammy.hk/f-spot-%e8%88%87%e6%88%91%e7%9a%84-gallery-%e7%9b%b8%e7%b0%bf/ "F-Spot 與我的 Gallery 相簿")
3. [\[Presentation\] My Linux Experience: Ubuntu on netbook](https://sammy.hk/ubuntuonnetbook/ "[Presentation] My Linux Experience: Ubuntu on netbook")
4. [Ubuntu 9.10 安裝 gcin 中文輸入](https://sammy.hk/ubuntu-910-gcin-chinese-input/ "Ubuntu 9.10 安裝 gcin 中文輸入")
