-
Notifications
You must be signed in to change notification settings - Fork 28
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
aaf plugin not working raspberry pi cm4 #39
Comments
It's an error from the |
yes thanks. I'm trying to find why aaf->pdu_size is wrong size but no clue why. |
Hello, The strange thing is that by monitoring the traffic on the interface with Wireshark, I can see a few (~100) AVB packages, so something is transmitted before throwing the error. My frames_per_pdu is set to 6 that gives 125 microseconds at 48kHz sampling rate, so the 12500 microseconds period time should be fine, I don't get why this plugins throws this error. Any idea? |
don't know. - never got this to work. Assume it doesn't work and is just broken |
The return value/errno of sendmsg() syscall itself is of interest here. |
trying to send to the ALSA device aaf0. pI cm4 with kernel setup to support avb/tsn correctly.
(Linux cm432 5.10.76-v7l-AVB_KERNEL+ #3 SMP Sat Nov 6 22:50:41 GMT 2021 armv7l GNU/Linux).
PCIe i210 network card is the interface set up correctly according to: https://tsn.readthedocs.io/avb.html
Error is:
`sudo speaker-test -p 2500 -F S16_BE -c 2 -r 48000 -D aaf0
speaker-test 1.1.9
Playback device is aaf0
Stream parameters are 48000Hz, S16_BE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 1 to 206158430
Period size range from 0 to 206158431
Requested period time 2500 us
Periods = 4
was set period_size = 120
was set buffer_size = 480
0 - Front Left
ALSA lib pcm_aaf.c:670:(aaf_tx_pdu) Failed to send AAF PDU
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error
`
The text was updated successfully, but these errors were encountered: