1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

UbuntuのUSBオートサスペンドの無効化 ver16.04

Posted at

このサスペンド機能は場合によっては便利だが、スピーカー等の場合はサスペンド、及び復帰の度に大きなノイズが発生して、非常に不愉快である。
この問題のFixは海外等の情報からpowernapというツールを利用する方法もあるが、
外部ツールに頼らず以下のスクリプトがベストプラクティスだろう。

$ sudo -i
# for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 2 > $i; done
# for foo in /sys/bus/usb/devices/*/power/level; do echo on > $foo; done

2つのコマンドの実行後、すべてのデバイスはサスペンドされなくなる。

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?