Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2011, 12:06 AM   #1
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
Need help with cross-compiled pianobar

I've managed to cross-compile pianobar for Kindle 3, but I need some support with ALSA stuff.

When it begins to stream music :

Quote:
ALSA lib pcm.c:2014:(snd_pcm_open_conf) Invalid type for PCM front definition (id: front, value: cards.pcm.front)
ao_alsa WARNING: Unable to open surround playback. Trying default device...
message appears; sound is messy. It plays for about 5 sec and then it shows read/write error.

I would be very grateful if somebody helped me. :)
seaniko7 is offline   Reply With Quote
Old 10-22-2011, 01:33 PM   #2
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
Ok, I got rid of error messages by updating ALSA libraries and utils.

Sadly it's still crackling.
seaniko7 is offline   Reply With Quote
Advert
Old 10-22-2011, 01:44 PM   #3
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I think the Kindle was a bit picky about sample rates. It needs some certain ones. I don't know pianobar enough, however, to give tipps how to use certain ones.
hawhill is offline   Reply With Quote
Old 10-23-2011, 09:24 PM   #4
Xqtftqx
Enthusiast
Xqtftqx doesn't litterXqtftqx doesn't litterXqtftqx doesn't litter
 
Posts: 31
Karma: 246
Join Date: Mar 2011
Device: Kindle 3G
I tried to get pianobar to work as well, try "nice -n10 pianobar"

i got better success that way
Xqtftqx is offline   Reply With Quote
Old 10-29-2014, 05:44 PM   #5
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by seaniko7 View Post
Ok, I got rid of error messages by updating ALSA libraries and utils.

Sadly it's still crackling.
As I recall, K3's do that, its a built-in feature.

Build and run on one of your K5s - you should have better luck.

Nearly all of the audio/video stuff twobob did was for the K5 (for just this reason).
knc1 is offline   Reply With Quote
Advert
Old 10-30-2014, 11:22 PM   #6
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: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
OK, I'm still working on it. I can run it from ssh but I want to be able to run it from kterm - so I'm working on that. Also there are some warnings about undefined symbols... BUT I can login and hear music.

My setup in case you are curious:
I have a partition on my laptop with debian ARM & qemu so I can chroot into it.
This way I can apt-get anything debian has, including source or just git tools or whatever.
Then I compile the program using the readme or whatever...
Then I have a script that packages it with the dependent libraries.
I then move it to the Kindle and ssh in and try it.

This program is weird because it calls for ffmpeg libraries that I tried to build but after 6 hours I gave up so I found a hint about using wheezy-backports for the libraries instead. Then pianobar built in like 20 seconds. Still working on the whole package.

edit: posted a working file in the other thread.

Last edited by brianinmaine; 10-31-2014 at 12:18 AM.
brianinmaine is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal cross referencing Kumabjorn General Discussions 8 11-05-2010 12:07 PM
I, Alex Cross Treven Reading Recommendations 10 04-11-2010 09:12 AM
Compiled Sigil AprilHare Sigil 14 08-07-2009 08:04 PM
Sony Reader: Reading Compiled HTML Help Files Sebarry Workshop 5 01-06-2009 09:31 PM
iLiad Convert Lit compiled for the iLiad Adam B. iRex Developer's Corner 5 07-09-2007 02:14 PM


All times are GMT -4. The time now is 06:21 PM.


MobileRead.com is a privately owned, operated and funded community.