View Single Post
Old 06-03-2012, 10:27 AM   #21
elRicharD
Enthusiast
elRicharD began at the beginning.
 
Posts: 39
Karma: 10
Join Date: May 2012
Device: Kindle Touch
I checked what you say in your comment, knc1.

Code:
[root@kindle snd]# ls -ltr
crw-rw----    1 root     root      116,  16 Jun  2 14:27 pcmC0D0p
crw-rw----    1 root     root      116,  24 Jun  2 14:27 pcmC0D0c
crw-rw----    1 root     root      116,  33 Jun  2 14:27 timer
crw-rw----    1 root     root      116,   0 Jun  2 14:27 controlC0
drwxr-xr-x    2 root     root            60 Jun  2 14:27 by-path
[root@kindle snd]# uname -a
Linux kindle 2.6.31-rt11-lab126 #1 Wed Apr 4 20:41:38 PDT 2012 armv7l GNU/Linux
As you can see, the device exists, and it has permissions to be read and written by root. I am using the 3.0 kernel that comes with Ubuntu 11.10.

When I play music there are no additional files created. If I try to run mpg123 when the built-in player is running, I get

Code:
[root@kindle us]# ./mpg123 music/02.mp3 
[alsa.c:165] error: cannot open device default
[audio.c:630] error: failed to open audio device
[audio.c:180] error: Unable to find a working output module in this list: alsa
[audio.c:532] error: Failed to open audio output module
[mpg123.c:897] error: Failed to initialize output, goodbye.
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!
elRicharD is offline   Reply With Quote