「ThinkPad: ミュートボタン」の版間の差分
ナビゲーションに移動
検索に移動
Kusanaginoturugi (トーク | 投稿記録) 細 (add en link) |
Kusanaginoturugi (トーク | 投稿記録) (ArchWiki:アーカイブへの転送ページ) タグ: 新規リダイレクト |
||
| (4人の利用者による、間の5版が非表示) | |||
| 1行目: | 1行目: | ||
| + | #REDIRECT [[ArchWiki:アーカイブ]] |
||
| − | [[Category:Lenovo]] |
||
| + | [[Category:アーカイブ]] |
||
| − | [[en:ThinkPad: Mute button]] |
||
| − | == 問題: == |
||
| − | ほとんどのThinkPadおよびIdeaPadで、新しいカーネルを使用している場合、ミュートボタンが正しく機能しません。2つの異なるシナリオが発生します。 |
||
| − | === 何も動かない === |
||
| − | ボタンは反応しません。LEDの点滅がない(一部のThinkPadにはLEDがあり、ミュート状態を示しています)、スピーカーの音量には影響しません。最初にミュートボタンを押してから、Vol-Downキーを押すとミュートされます。 |
||
| − | === 外部オーディオがオンのまま === |
||
| − | ボタンを押すとスピーカーがミュート(LEDも機能します)しますが、外部オーディオはオンのままです。 |
||
| − | |||
| − | == 解決方法: == |
||
| − | === 古い IBM ThinkPads === |
||
| − | まず、これを試してください: "http://www.thinkwiki.org/wiki/Mute_button" |
||
| − | === 何も動かない: === |
||
| − | /etc/modprobe.d/modprobe.conf を編集し、次の行を追加します。 |
||
| − | options thinkpad_acpi enabled=0 # enables Mute-Button on ThinkPads with IdeaPad-Firmware |
||
| − | 再起動します。 |
||
| − | === 外部オーディオがオンのまま: === |
||
| − | [[AUR]] から {{AUR|tpb}} をインストールして、"/root/.tpbrc" を作成します: |
||
| − | #tpb-Settings: |
||
| − | CALLBACK "/root/tp-key-handler" |
||
| − | OSD off |
||
| − | |||
| − | 次に、 "/root/tp-key-handler"ファイルを作成します。 |
||
| − | |||
| − | #!/bin/bash |
||
| − | echo $1 $2 |
||
| − | if [ $1 = mute ]; then |
||
| − | if [ $2 = on ]; then |
||
| − | mset="off"; |
||
| − | else |
||
| − | mset="on"; |
||
| − | fi |
||
| − | sudo -u USERNAME amixer sset Master $mset; # I had to sudo to me, because I use PulseAudio |
||
| − | fi |
||
| − | |||
| − | /root/tp-key-handler に実行権限を追加します |
||
| − | |||
| − | chmod +x /root/tp-key-handler |
||
| − | |||
| − | tpbにはXと同様にroot権限が必要なので、.xinitrcに "sudo tpb"を追加し、sudo-Settings(visudoを使う) や X-Startscript に "gksudo tpb" を追加することで起動することができます(起\ |
||
| − | 動時にパスワードを尋ねる)。 |
||
| − | |||
| − | それだけです。あなたが良いアイデアを持っているなら、このページを編集するのをためらわないでください。 |
||
| − | |||
| − | === 外部オーディオがオンのまま (XFCE使用時): === |
||
| − | |||
| − | Go to Applications->Settings->Keyboard->Application Shortcuts tab. Hit Add and for the command, use 'amixer sset Master toggle'. For the key, hit the mute button. Protip, to make sure the led state is correct, start with the led in the opposite state of your mutedness so that when you map the button, it starts out in the correct state. Alternatively, you could just reboot and make sure the led is off before you get into your XFCE session. |
||
2025年9月5日 (金) 18:42時点における最新版
転送先: