Hello I think I try use my R2 for media box also but I need audio (5.2 channel great, but 2 acceptable).
What routes I should go further? Current 4.19 @frank-w kernel status is:
[ 6.842389] ALSA device list:
[ 6.845405] No soundcards found.
Posibilities:
HDMI audio. Is it supported, and how?? This is best alternative.
USB audio. Posible but low amount of ports/hub etc. hazzle.
BT audio. May work but if use projector then every listener needs headset or BT-audio bridge.
GPIO I2S ??? I like to keep gpio free for other projects.
And CPU/GPU media HW accelerators? R2 should do routing at same when play movie…
Cases for board that support laptop DVD-rom and sata disk at same?
Such case is bigger than R2 board. I think IR-receiver needs to move and reset/poweron needs some pushrods. What is specs of IR-receiver? It may need to put pin-header its place and new one with cable…
Is there v. 1.2 board 3D model (.stl) availabe? Its boring to do by myself because I know it is somewhere… I need it to do new case for board including holder for cd-rom…
I have only enabled options i use…as i have not tried much with sound (had also no information about getting it working) there may some options missing
Sound over HDMI works fine, I used an R2 as my desktop system for 6 months. You just need to enable the correct option in the kernel config - there’s an early post here about it.
I’m trying to figure out what to add, looks like 4.4 has different mt7623-wm8960 driver, which has hdmi support. I still have some concerns about it - i have only 7" display w/o sound - so can’t test sound, and the hdmi-out is labaled as a demo output:
Anyway, i’ll post info on any progress.
UPD:
First “success” - kernel panic
The mainline linux mt2701_wm9860 is exactly wm9860 i2c codec driver.
And mt7623a-rfb-emmc.dts, mt7623a-rfb-nand.dts, and mt7623n-rfb-emmc.dts and has its dts notes e.g.:
if you have a working dts you can give it to me…my display has audio-output (tested with rpi3 yesterday). but i have not much done with alsa, i guess i need some more config to pass audio through hdmi
according to this (alsa overview) and this(machinr driver) the mt7623-wm8960.c from 4.4 is a machine driver with hdmi support (but i did’nt tested the sound), the machine drivers are present in recent kernels, but only for wm8960 and cs42448 external codecs.
All other drivers seems to be implemented (platform, dai) and they are different from 4.4 (including dts) so it would be tricky to port it(at least from 4.4) @Ryder.Lee do you as the author of mainline wm8960 driver have any plans to implement hdmi? Or may be there are some useful resources that you know for alsa SoC oding are exsists? that may help to implement it by community?