Quote:
Originally Posted by elRicharD
So it seems the communication with alsa is successful. I think the problem might be in the alsa lib I used to compile. I will copy the libasound I have in the Kindle and retry.
Thanks a lot!
|
Copied the .so files from my kindle to the arm gcc library path and recompiled. It didn't work again, same error all along.
Code:
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|0x80000) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
close(3) = 0
ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbeea63d8) = 0
fcntl64(4, F_GETFL) = 0x80802 (flags O_RDWR|O_NONBLOCK|0x80000)
ioctl(4, AGPIOC_INFO, 0xbeea6590) = 0
clock_gettime(CLOCK_MONOTONIC, {9324, 51067599}) = 0
ioctl(4, AGPIOC_SETUP, 0xbeea6584) = 0
mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 4, 0x80000) = -1 ENXIO (No such device or address)
ioctl(4, 0xc0844123, 0xbeea64f8) = 0
fcntl64(4, F_GETFL) = 0x80802 (flags O_RDWR|O_NONBLOCK|0x80000)
fcntl64(4, F_SETFL, O_RDWR|0x80000 /* O_??? */) = 0
If I tweak the sliders on alsamixer I hear white noise when mpg123 starts and I don't when I stop it, so it is somehow communicating with the sound hw.
And lastly, if I run mpg123 and try to use the builtin player, it does not work, so probably the hardware is in use.