On 11/01/13 09:19, the mail apparently from Michael Hudson-Doyle included:
Dave Pigott dave.pigott@linaro.org writes:
On 7 Jan 2013, at 09:46, Andy Green andy.green@linaro.org wrote:
On 07/01/13 17:36, the mail apparently from Dave Pigott included:
Hi Andy,
One other question: I assume you'll be wanting audio in and out available? On the panda, which is which? I can't seem to find any documentation on that. :)
It's the bottom connector that is the output from the Panda and the top connector that's the input to the Panda.
Given a 50/50 chance, I happened to get it the right way first time. :)
So I've tried to run my test in the lab now, but it seems that it's not possible to capture audio from the device on the host. The other way around works fine -- I can capture audio on pandaes-02 that was played on the host -- but not device->host. I just get silence, or very near it:
http://validation.linaro.org/lava-server/dashboard/streams/private/team/lina...
(there is a touch of low frequency noise).
I guess audio out in the image I'm using (http://snapshots.linaro.org/quantal/pre-built/panda/43/panda-quantal_develop...) could just be broken -- is this possible? -- or the cable could be loose, or something else entirely. I guess I'd appreciate it if Dave could check the cabling :-)
Is there a known good image I could be using?
If it's even halfway modern don't think there'll be any problem with the Panda audio side in terms of being broken... it has been stable for many months now on 3.4.
It's more likely to do with input source routing for audio on your host. Assuming it's physically cabled from the Panda audio out to the "Line In" you will need to select that input source on the host.
Alsamixer can do it over ssh, alsamixer -c1 (-c<n> selects card n), hit tab to see input sources. User cursor keys to select "Line In". Hit space to make it the capture channel, set levels with up/down keys.
Assuming it works after a sufficiency of meddling, you can use alsactl store / restore <card #> to capture to and restore from a file to automate.
-Andy