04-04-2020, 09:14 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2020
Device: Kindle PaperWhite 4 (2018) WiFi (8GB)
|
Using bluetooth to listen to non-amazon audiobook
Hi All
I have a JB PW4 on 5.10.1.3 (thx @ilovejedd). I'd like to know if there is a way to play non-amazon audiobooks using a bluetooth connected headset? I've searched but cant find anything recent on this. I'd really appreciate it if someone could point me in the right direction. |
04-04-2020, 09:25 AM | #2 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
can't be done
there is no mp3 decoder in kindle PW the only format it can decode is audible |
Advert | |
|
04-04-2020, 09:30 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2020
Device: Kindle PaperWhite 4 (2018) WiFi (8GB)
|
perhaps another application exists for playing m4b/mp3/etc?
the unit happily displays epubs if i use koreader after all - not audio decoding, i know. --- Any idea if mplayer would function on the pw4 as with older pw's? |
04-04-2020, 09:46 AM | #4 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
A legit MP3 decoder needs a llcence.
Old kindles had one, newer ones do not If you are all in on software piracy, you may find something, but I doubt you will find it here |
04-04-2020, 11:02 AM | #5 |
the rook, bossing Never.
Posts: 12,268
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Though MP3 is now out of copyright.
Likely Amazon only want Audible on a PW4. The PW3 does text to speech via USB audio, no idea if it does MP3s. Ghastly interface and you need to install two official Amazon downloads. The Keyboard and DXG have a 3.5mm jack and do play MP3s, but terrible interface, useless except for text to speech. Use your phone. |
Advert | |
|
04-04-2020, 01:47 PM | #6 | |
Guru
Posts: 844
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Code:
root 2319 1 0 12:14 ? 00:00:00 audiomgrd root 2331 1 0 12:14 ? 00:00:00 btd -f root 2342 1 0 12:14 ? 00:00:00 bsa_server -d /dev/ttymxc2 -u /var/local/zbluetooth/ -p /opt/brcm_4343w/bluetooth/firmware/BCM4343A1_001.002.009.0083.0380.hcd -lpm root 2359 2 0 12:14 ? 00:00:00 [kworker/u2:0] Dave PS: copied the mplayer binary onto the PW4 and it will run from kterm, so need to try the various options and see what happens. Last edited by dhdurgee; 04-04-2020 at 02:14 PM. |
|
04-07-2020, 12:58 PM | #7 |
Guru
Posts: 844
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
I have now installed usbnet to my pw4 and successfully configured so that I can ssh via WiFi to it. I copied some mp3 files over, connected my bluetooth headset and attempted to play one with mplayer. It acts as if it is playing, but no sound. Here is what I see in ssh:
Code:
[root@kindle root]# /mnt/us/extensions/mplayer/mplayer /mnt/us/music/01-Diamond_Star.mp3 MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team Playing /mnt/us/music/01-Diamond_Star.mp3. Audio only file format detected. Clip info: Title: Diamond Star Artist: Point Valid with Catherine A.. Album: Diamond Star Year: 2009 Comment: Track 1 Track: 1 Genre: Alternative Rock ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0' [AO_ALSA] alsa-lib: conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings [AO_ALSA] alsa-lib: conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name [AO_ALSA] alsa-lib: conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory [AO_ALSA] alsa-lib: conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory [AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default [AO_ALSA] Playback open error: No such file or directory DVB card number must be between 1 and 4 AO: [null] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 19.7 (19.6) of 310.0 (05:10.0) 19.6% MPlayer interrupted by signal 2 in module: play_audio A: 19.7 (19.6) of 310.0 (05:10.0) 19.6% Exiting... (Quit) [root@kindle root]# Anyone familiar with bluetooth audio support on linux? I would appreciate some guidance before I go further. Dave |
04-07-2020, 03:45 PM | #8 |
Guru
Posts: 844
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Just did a bit more searching and looking over my pw4. It appears that ALSA is part of the pw4 linux support. Unfortunately aplay -l shows no soundcards found even with bluetooth enabled and my headset attached.
A web search appears to indicate that I need to install the Bluez package and the bluez-alsa package to get this working. Has anyone installed these to a pw4? Where can I get the proper packages for the pw4, which uname indicates is an armv7l based system? How can it be installed? I don't see apt-get or dpkg-deb present, so I don't know what tools are used for the installation. Any further help would be appreciated. Dave |
04-07-2020, 04:33 PM | #9 |
Guru
Posts: 844
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
I had yet another thought and it might provide the missing support.
I recently purchased a Raspberry Pi zero W and am using it with my audio/visual system to overcome the limitations of my "Smart" HDTV and my "Smart" Blu-Ray player. The 0w uses a derivative of Debian Buster and uname -a shows: Linux raspberrypi 4.19.97+ #1294 Thu Jan 30 13:10:54 GMT 2020 armv6l GNU/Linux My pw4 shows: Linux kindle 4.1.15-lab126 #1 SMP PREEMPT Tue Nov 27 03:27:44 PST 2018 armv7l GNU/Linux Both systems are ARM processors. Both provide ALSA and neither provide pulseaudio. The repositories for the RPi include the missing Bluez packages. This suggested to me that I might find what I need in the Debian repositories. As it happens this linux kernel coresponds to Debian Stretch and the Bluez packages are indeed there. Would these be compatible with the pw4? How can I install them if they are? Dave |
04-07-2020, 04:58 PM | #10 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Nope, Kindle is softfloat, while the Pi will be hardfloat. It's also using a recent kernel (which is less of an issue with Rex/Zelda), and a much newer glibc (which is most likely going to be an an issue).
I don't recall which ancient arm softfloat Debian release people were pulling binaries from. Last edited by NiLuJe; 04-07-2020 at 10:01 PM. |
04-07-2020, 08:08 PM | #11 | |
Grand Sorcerer
Posts: 5,445
Karma: 100408738
Join Date: Apr 2011
Device: pb360
|
Quote:
https://www.mobileread.com/forums/sh...d.php?t=321103 says that "other threads" say that armel packages from wheezy or jessie should work for PW3. |
|
04-07-2020, 09:11 PM | #12 | |
Guru
Posts: 844
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Any chance you or someone else more capable would take an interest in this? I think I can handle creating a KUAL package for the mplayer binary and associated scripts, but building and installing the bluetooth audio underpinnings is beyond my current experience. Dave PS: Stop the presses! I missed something when searching Debian repositories. They DO have the soft float versions available. They are "armel" as opposed to "armhf" and can be downloaded. Perhaps you could review the dependencies and tell me if the PW4 meets them: https://packages.debian.org/stretch/bluez That is the base module and several others are necessary as well. The question then becomes how do I install a deb on the pw4? Dave Last edited by dhdurgee; 04-07-2020 at 09:30 PM. Reason: add PS |
|
04-07-2020, 10:03 PM | #13 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It won't meet *any* of the dependencies, that's going to be (one of) the tricky part.
You'll have to pull the whole deptree by hand (or possibly with Debian's help if something in its package manager tooling allows to do something like printing the whole depgraph for a specific package. I haven't used Debian is over 15 years, though, so, no idea ). Or go with a chroot like @knc1 did at one point (with a hardfloat tree, IIRC), in which case you still need the whole deptree, but you bypass the glibc issues, because you'll then rely on the Debian glibc & dynamic loaded. The only compatibility left with that approach is the kernel. And in that case, you don't really have to bother because people have already made Alpine chroots tailored to the Kindle . Last edited by NiLuJe; 04-07-2020 at 10:09 PM. |
04-07-2020, 10:06 PM | #14 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
But as far as Debian is concerned, stretch is too new (glibc 2.24). Jessie's perfect though (2.19, which is what the Kindle runs).
|
04-07-2020, 10:17 PM | #15 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
FWIW, things get extremely hairy for a multimedia package.
Here's what Gentoo's tooling (equery g --depth=0) has to say about mpv's depgraph: Code:
[ media-video/mpv-0.32.0-r1 stats: packages (3505), max depth (333) ] |
Tags |
audiobook, bluetooth, jailbreak, m4b, mp3 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue with finding audiobook metadata on Amazon | angelyne | Calibre | 6 | 10-21-2018 08:52 AM |
Listen Audiobook Player question | Hrafn | Audiobook Hardware & Software | 0 | 06-16-2018 02:36 AM |
Listen Up - We've got a brand new audiobook forum | Alexander Turcic | Announcements | 11 | 09-10-2014 06:18 PM |
Amazon Ebooks and downloaded Audiobook | ErikaGC | Kindle Fire | 1 | 06-10-2013 12:13 PM |
Sony & Amazon, etc. - Why No Wifi or Bluetooth? | poohbear_nc | News | 8 | 08-26-2009 04:29 PM |