Hi,
i need some help to implement the Voice Call function of my Quectel EC25 LTE Modem to the RockPi
I have the EC25 Audio device present under /proc/asound as Android->card2
rk3399:/proc/asound # ls -la
total 0
dr-xr-xr-x 5 root root 0 2020-07-21 08:26 .
dr-xr-xr-x 274 root root 0 1970-01-01 01:00 …
lrwxrwxrwx 1 root root 5 2020-07-21 08:26 Android -> card2
dr-xr-xr-x 4 root root 0 2020-07-21 08:26 card0
dr-xr-xr-x 3 root root 0 2020-07-21 08:26 card1
dr-xr-xr-x 4 root root 0 2020-07-21 08:26 card2
-r–r--r-- 1 root root 0 2020-07-21 08:26 cards
-r–r--r-- 1 root root 0 2020-07-21 08:26 devices
-r–r--r-- 1 root root 0 2020-07-21 08:26 hwdep
-r–r--r-- 1 root root 0 2020-07-21 08:26 pcm
lrwxrwxrwx 1 root root 5 2020-07-21 08:26 rockchipes8316c -> card0
lrwxrwxrwx 1 root root 5 2020-07-21 08:26 rockchiphdmi -> card1
-r–r--r-- 1 root root 0 2020-07-21 08:26 timers
-r–r--r-- 1 root root 0 2020-07-21 08:26 version
rk3399:/proc/asound #rk3399:/proc/asound # cat devices
2: [ 0] : control
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 1] : control
6: [ 1- 0]: digital audio playback
7: [ 2] : control
8: [ 2- 0]: digital audio playback
9: [ 2- 0]: digital audio capture
33: : timer
and even under /dev/snd the pcm devices are present
rk3399:/proc/asound # cd /dev/snd/
rk3399:/dev/snd # ls -la
total 0
drwxr-xr-x 2 root root 220 2020-07-12 16:59 .
drwxr-xr-x 19 root root 1840 2020-07-12 16:59 …
crw-rw---- 1 system audio 116, 2 2020-07-12 16:59 controlC0
crw-rw---- 1 system audio 116, 5 2020-07-12 16:59 controlC1
crw-rw---- 1 system audio 116, 7 2020-07-12 16:59 controlC2
crw-rw---- 1 system audio 116, 4 2020-07-12 16:59 pcmC0D0c
crw-rw---- 1 system audio 116, 3 2020-07-12 16:59 pcmC0D0p
crw-rw---- 1 system audio 116, 6 2020-07-12 16:59 pcmC1D0p
crw-rw---- 1 system audio 116, 9 2020-07-12 16:59 pcmC2D0c
crw-rw---- 1 system audio 116, 8 2020-07-12 16:59 pcmC2D0p
crw-rw---- 1 system audio 116, 33 2020-07-12 16:59 timer
i´m not familiar with audio under Linux/Android and all i´ve read is that you could create a asound.conf
File but due we use tinyalsa on the Rockpi how can i archive mixing or routing from Card2 to the ES8316 Codec to listen and send Voice via Mic to the Device (card2)
i i do
tinyplay audio.wav -D x -d 0 -c 1 -r 8000
it plays, but i hear none on device or on the MobilePhone
any Guide / Help or pushing to the right Track would be appreciated
Regards,
Brian