balena-io-experimental / balena-sound

Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
https://balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/
MIT License
2.43k stars 431 forks source link

DAC Ks0314 keyestudio ReSpeaker 2-Mic Pi HAT V1.0 #166

Open albertoxamin opened 4 years ago

albertoxamin commented 4 years ago

I have this Ks0314 keyestudio ReSpeaker 2-Mic Pi HAT V1.0

image

Which configuration should I use for BALENA_HOST_CONFIG_dtoverlay?

AlexProgrammerDE commented 4 years ago

@albertoxamin can you please try this value: i2s-mmap?

EliseoCesco commented 4 years ago

I also have this card, I see that the 3.5mm jack input has 4 pins, can I also use headphones / earphones? Or use the microphone built into the earphones? and how eventually? THANK YOU

tmigone commented 4 years ago

Hey @EliseoCesco, mics are not supported in balenaSound. Can I ask what would be the use case?

ruibinjiang commented 4 years ago

Has this DAC HAT support been added yet?

shawaj commented 3 years ago

This uses the wm8960. Don't know if it's wired up the same as the waveshare version in #264 but it might work following the same process.

shawaj commented 3 years ago

Also, just a point to note - I believe this is a clone of the SEEED Respeaker 2 so supporting one would likely support both. It is open source hardware I believe so I would imagine there are a fair few clones floating around.

There is a respeaker 4 linear and respeaker 6 circular array - both of those use the X-Power AC101 DAC - so are not the same. Just for reference.

shawaj commented 3 years ago

I think this overlay that has just been merged in RasPi repo should now provide native support for these boards https://github.com/balenalabs/balena-sound/issues/264#issuecomment-756428272

It will take some time to filter through into balenaOS and by extension balenasound, however I will keep an eye on it.

In the meantime, you can either build the dtb yourself, or wait until it is in the raspberry firmware repo and then download it https://github.com/raspberrypi/firmware

shawaj commented 3 years ago

Now in Raspberry Pi Firmware repo - https://github.com/raspberrypi/firmware/blob/master/boot/overlays/wm8960-soundcard.dtbo

shawaj commented 3 years ago

Added the overlay to the PR here - https://github.com/balena-os/balena-raspberrypi/pull/585/files

Eric-AMIG commented 3 years ago

Any updates on ReSpeaker 2 Mic Hat for Balena Sound?