Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio is just static... #5

Closed
MTNTheCompWiz opened this issue Jan 23, 2018 · 1 comment
Closed

Audio is just static... #5

MTNTheCompWiz opened this issue Jan 23, 2018 · 1 comment

Comments

@MTNTheCompWiz
Copy link

I know the wiki says audio is untested... so I thought I would give it a try. Long story short, audio is being sent to j21's i2s bus... but either the codec is wrong or something else, because all I get is static (except when the input source is silent). Unfortunately, I'm not too sure how to troubleshoot this. Any pointers?

@tkammacher
Copy link
Member

Hi, yes Audio is untested on the linux-l4t-4.4 version of our drivers. Unfortunately we have currently not planned to support audio, as we do not need it in any of our projects.
The way to capture audio on our old linux-l4t (based on kernel version 3.10) on I2S4 is described here: [1].
If you want to look at enabling audio capture, maybe it helps to look at our old commits related to enabling audio: [2]
Actually my guess is, that there might be issues here:

  • Some configuration might not yet be enabled in the tc358840.c driver for the HDMI-to-CSI conversion IC (compare to [3])
  • The device tree is most probably missing something.. compare to [2]
  • Some setting in alsamixer might prevent you from getting an input.. there are just so many possible settings there, it's rather convoluted
  • Maybe something in the underlying audio architecture has changed between kernel 3.10 and 4.4 .. we have not looked into that at all

Hope that helps..

[1]
https://github.com/InES-HPMM/linux-l4t/wiki/captureHdmiAudio
[2]
InES-HPMM/linux-l4t@9150157
[3]
https://github.com/InES-HPMM/linux-l4t/blob/hdmi2csi/l4t-r24-2.1/drivers/media/i2c/tc358840.c

@dariis dariis closed this as completed Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants