View Single Post
Old 11-28-2014, 12:23 AM   #9
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
After a bit of research, I found some ENV variables and stuff to try to keep system alters to a minimum. I only create one directory and populate it with a symlink to my libalsa.so file.

I'm also trying to understand how all the sound works on the Kindle. Playing a file with tts only seems to load libasound.so but no libalsa or anything like that? It seems some players like mplayer and the TTS play directly to the hw device /dev/snd/pcmC0D0p?
I guess pianobar does have libalsa as a dependency, but the file where I can list drivers for playback list null, au, wav, or alsa. I tried all the others and get 'cannot open audio device' but if I load alsa and link in libalsa.so I get it working fine. Audio under linux sure is complicated. I've now read dozens of pages with how this stuff seems to work - I still don't understand.

As an aside, should I have a link under KUAL to remove all traces of my alteration? Or just leave it in a README file?

I'll make changes to my package.

Thanks for all the info!

EDIT: I included a version of patchelf for my Kindle. It needs to go in /mnt/us/extensions and run the script called patchelf because it needs to load a library not on my Kindle... I could patch it with patchelf...
Attached Files
File Type: zip patchelf.zip (242.1 KB, 150 views)

Last edited by brianinmaine; 11-28-2014 at 01:05 AM.
brianinmaine is offline   Reply With Quote