
Ubuntu日本語フォーラム

ログインしていません。
こんにちは
IBMのX40ノートでUbuntuを使っていますが、ふたを閉じた場合スクリーンOFFしていますが、
ふたを開けると復帰するが、解像度がおかしくなり、もう一回ログオフしないと直りません。
解決できるのでしょうか?
オフライン
解決できるのでしょうか?
(多分)出来ます。:)
解決方法
/etc/rc.local の exit 0 の手前の行に以下を書き込む。
echo auto_disable > /proc/acpi/ibm/video
こんな感じ。
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. echo auto_disable > /proc/acpi/ibm/video exit 0
/etc/rc.local の編集には管理者権限が必要です。
編集方法の一例
Alt+F2 でアプリケーション実行ダイアログを表示。
↓
gksudo gedit /etc/rc.local と入力・実行。
情報元
http://gentoo-wiki.com/HARDWARE_IBM_ThinkPad_X40
http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.04_%28Feisty_Fawn%29_on_a_ThinkPad_X40
※ThinkWiki は Linux で ThinkPad を運用する際に有用な情報がたっぷりです。
備考
先の話ですが、ubuntu 8.04 では解決されているかもしれません。8.04 をクリーンインストールではなくアップグレードでインストールする場合、/etc/rc.local を変更前の状態に戻してみることをおすすめします。問題が再発したら上記の変更点を再度書き込んで下さい。設定ファイルをいじるとアップグレード後も設定が保持される場合が多いです。それが悪さをすることがあるので、/etc 以下のファイルをいじる際は作業ログを取っておくと良いと思います。
追記
ドライバthinkpad-acpiがロードされていないと上記の編集が有効に働きません。上記で上手くいかない場合以下を試して下さい。
/etc/rc.localを以下のように編集
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. modprobe thinkpad-acpi echo auto_disable > /proc/acpi/ibm/video exit 0
参考URL
http://ibm-acpi.sourceforge.net
参考ファイル
パッケージlinux-doc を導入している場合
/usr/share/doc/linux-doc-2.6.22/Documentation/thinkpad-acpi.txt.gz
最後の編集者: fueryuejing (2008-03-15 14:13:52)
オフライン
困ったことがあればまたどうぞ。:)
オフライン