I have modified play driver and developed capture driver for meson S905 GX device (Odroid-C2) based on mainline Linux v5.6. I have also modified CS4245 codec driver. "play" works fine: root@hardkernel-odroidc2:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: S905 [GXBB ODROID-C2 S905], device 0: fe.dai-link-0 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0
root@hardkernel-odroidc2:~# aplay -D plughw:0,0 -c 1 -f dat /usr/share/sounds/alsa/Front_Right.wav Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono but "arecord" gives me an error message: root@hardkernel-odroidc2:~# arecord -l **** List of CAPTURE Hardware Devices **** card 0: S905 [GXBB ODROID-C2 S905], device 3: fe.dai-link-3 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 root@hardkernel-odroidc2:~# arecord -D hw:0,3 -c 1 -f S16_LE -d 10 -t wav -r 48000 /tmp/test.wav arecord: main:828: audio open error: Invalid argument root@hardkernel-odroidc2:~# arecord -D plughw:0,3 -c 1 -f dat /dev/null arecord: main:828: audio open error: Invalid argument Could you help me trying to debug this issue? Thanks and regards Rezzonics
_______________________________________________ Alsa-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-user
