I have a I2S mems microphone from adafruit. Now I am following the guide at https://github.com/nejohnson2/rpi-i2s#compile-the-i2s-module
Now after I have mounted the debugfs
I attempt to look for the given module:
$ sudo mount -t debugfs debugs /sys/kernel/debug $ sudo cat /sys/kernel/debug/asoc/platforms 3f203000.i2s snd-soc-dummy
However, if I run this code I merely get the following result:
sudo mount -t debugfs debugs /sys/kernel/debug
mount: debugs is already mounted or /sys/kernel/debug busy
sudo cat /sys/kernel/debug/asoc/platforms
cat: /sys/kernel/debug/asoc/platforms: No such file or directory
So am I missing something here. I have another PI which has the same mic and the same wiring and there I can use the microphone without problems.
Any help is much appreciated.
Update:
I did follow the Adafruit tutorial and in dmesg
I do see the Hello world output from the my_loader
module.
Here is the output of dmesg
in a gist.
dmesg
the "Hello World" message does show up. It is only today that I did check the/sys/kernel/debug/asoc/platforms
resource and figured out that there is no*.i2s
present.components
dais
andsnd_rpi_sipmle_card
inside the/sys/kernel/debug/asoc
directory.