LoginSignup
3
2

More than 5 years have passed since last update.

modprobe: FATAL: Module snd-pcm-oss not found in directory

Posted at

モジュールのロードができない

raspiでjuliusを用いて音声認識を行おうとした時に、必要なモジュールをロードするために以下のコマンドを実行する

sudo modprobe snd-pcm-oss

しかし、以下のようなエラーが出る

modprobe: FATAL: Module snd-pcm-oss not found in directory /lib/modules/4.14.~~~

原因

raspbian stretchでは、snd-pcm-oss等のモジュールが標準で含まれていない。
自分でコンパイルする必要があるとのこと。

解決法

コンパイル

いや、流石にめんどくさい。あと、やり方分からない笑

ファームウェアのダウングレード

ファームウェアをダウングレードすればsnd-pcm-oss等のモジュールが復活する。

# sudo rpi-update [対象バージョンのハッシュ値]
 sudo rpi-update a6b3e852ca70f2a12850b4542438583cc3b29788 # このハッシュ値は4.5.59

各バージョンのハッシュ値はここから
https://github.com/Hexxeh/rpi-firmware/commits/master
kernel: Bump to 4.14.32とかかいてるところのコピーマークをクリック。

おまけ

自分で書いた記事ですが、raspiと音声認識ソフトjuliusを使った記事を二つほど。
https://qiita.com/mr_04v/items/6a16663ce9a80b2e2b92
https://qiita.com/mr_04v/items/c767dbb6cb66ca229a62

3
2
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
3
2