I am trying to get an i2c microphone working on my raspberry pi zero. The module and tutorial are from Adafruit:
https://learn.adafruit.com/adafruit-i2s ... g-and-test
but I can only get it working on Debian Jessie.
I think the kernel compiles ok when I run "rpi-source --skip-gcc"...it asked me a few questions (none of which I was smart enough to write down) and now it says it's already loaded so I don't think I can re-run it without a fresh install. The trouble I am having is that when I try and compiles PaulCesars i2c module, I get:
Maybe it's not compatible with Stretch?
Code: Select all
pi@raspberrypi:~/rpi-i2s-audio $ make -C /lib/modules/$(uname -r )/build M=$(pwd) modules make: Entering directory '/home/pi/linux-2f8d963db206ce596f9a9e951ec425e9c3e1b4d9' Building modules, stage 2. MODPOST 1 modules WARNING: "__sanitizer_cov_trace_pc" [/home/pi/rpi-i2s-audio/my_loader.ko] undefined! make: Leaving directory '/home/pi/linux-2f8d963db206ce596f9a9e951ec425e9c3e1b4d9' pi@raspberrypi:~/rpi-i2s-audio $ sudo insmod my_loader.ko insmod: ERROR: could not insert module my_loader.ko: Unknown symbol in module pi@raspberrypi:~/rpi-i2s-audio $
Can anyone offer advice on how to use this microphone with Debian Stretch?