This afternoon I was playing sound through my adafruit speaker bonnet just fine.
That means I installed the speakers and neopixels according to the guides and had multiple reboots for circuit python, enabling SPI etc.
Then this evening, after shutting down the pi, unplugging it, moving it to a new room of the house, and plugging it back in it, seems to have no idea what I'm talking about with respect to sound:
$ cat /proc/asound/cards
--- no soundcards ---
$ aplay -l
aplay: device_list:270: no soundcards found...
What can have gone wrong and how can I put it back? What can I do to troubleshoot this?
Update
I seem to have fixed the problem in a way that I don't understand.
I noticed this line at the end of my boot/config.txt (after the dtoverlay=hifiberry-dac
line)
dtoverlay=spi1-3cs
I'm guessing this came from the raspi-config
"enable SPI" process.
Commenting that out has fixed my problem! But why? This seems like a temporary fix since Circuit Python says it needs SPI and this probably killed it. It is not possible to have SPI enabled and use the DAC?
dmesg
. The, post the output ofdmesg
here. – user91822 Dec 29 '18 at 12:41