Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-19-2016, 05:22 PM   #106
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@geekmaster: Yup, still got that PW1 and that K4, thanks . The PW1 was my main "at home" reader until the PW2 came out, and the K4 was invaluable as a dev device (and was the one that ended up accompanying me everywhere, until the H2O). The PW1 is currently between parenthesis in my device box since I've lent it to my brother, but it still there, alive and well . The PW1 is still terrible compared to the PW2/3, but that's certainly not your doing .

And, yeah, @knc1 is correct, there's a 'plugged in' check to avoid a various collection of weird issues. Depending on devices/FW combo, actual issues may only appear in one 'side' of the equation (i.e., etiher USBMS -> USBNet or vice-versa), so the check has to wrap both :/.

@knc1: I've always felt a bit iffy about donations in this specific context (I might have written a bit more about that at one point), so, no PayPal . But if it were to happen, I'm afraid that, yeah, I'd need a "prebaked" version when it comes to serial ^^.

Last edited by NiLuJe; 05-19-2016 at 05:25 PM.
NiLuJe is offline   Reply With Quote
Old 05-19-2016, 06:28 PM   #107
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 NiLuJe View Post
- - - -

@knc1: I've always felt a bit iffy about donations in this specific context (I might have written a bit more about that at one point), so, no PayPal . But if it were to happen, I'm afraid that, yeah, I'd need a "prebaked" version when it comes to serial ^^.
I am OK with that position.

I have some practice shipping to England, I guess France shouldn't be that much different.

And I can 'pre-bake' it.

I'll start a thread on the subject but handle any transactions by PM.
If we get nothing from the members, well, that is the way it goes.

= = = =

It may not be possible to use the same USB port for USBnetworking and as an OTG port at the same time.

But even so - the USBnetworking package needs to either check for or to over-ride the kernel's module set.

And we really can't ask you to fix something you don't have the hardware for.
(Besides your going to like this screen. )
knc1 is offline   Reply With Quote
Advert
Old 05-19-2016, 08:24 PM   #108
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
There was a collection for YifanLu back in the day, and he used it to buy a kindle (greatly contributing to it getting jailbreak support).

Yeah, I could use kindles newer than PW3 (for support and development), if we have any generous souls out there. But I think our audience is a bit smaller than a few years ago...
geekmaster is offline   Reply With Quote
Old 05-20-2016, 12:24 AM   #109
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Okay, I reinstalled usbnet as recommended after a firmware upgrade. Now sshd starts and I get a shell, but the password generated by kindletool does not work. I can still login with telnet, but I see /etc/shadow contains no password hashes. I was also told that the root account is locked. So should I create a root password from telnet then, or is there something else I should do instead?

EDIT: Okay, I made backup copies of /etc/shadow and /etc/passwd, then I changed the password to what kindletool said. Passwd says "too weak" but accepts it anyway. Now I can login with SSH. Even better, I can leave it ALWAYS in usbnet mode, and use SCP to transfer files. No more fighting with the unreliable touchscreen. Though this makes it unreliable as a reading device, it is fine for development and testing purposes (at least for apps that do no depend on a touchscreen). And this makes me want to add mouse (and mouse cursor) support anyway.

Last edited by geekmaster; 05-20-2016 at 12:31 AM.
geekmaster is offline   Reply With Quote
Old 05-20-2016, 12:29 AM   #110
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
/etc/passwd:
Code:
root::0:0:root:/tmp/root:/bin/sh
also change the home directory if different on the K1
Usually, the above means just delete the character between the first and second colon.

login: root<cr>
no password required

You can do the above with telnet/vi (or whatever editor is on a K1).
knc1 is offline   Reply With Quote
Advert
Old 05-20-2016, 12:33 AM   #111
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
/etc/passwd:
Code:
root::0:0:root:/tmp/root:/bin/sh
also change the home directory if different on the K1
Usually, the above means just delete the character between the first and second colon.

login: root<cr>
no password required

You can do the above with telnet/vi (or whatever editor is on a K1).
So apparently that exclamation mark between the first two colons disabled the account?

Except I need a password if I am going to be using SSH over wifi, right? Or can that be an empty password as well? In any case, it is now my "fiona" password...
geekmaster is offline   Reply With Quote
Old 05-20-2016, 12:36 AM   #112
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
do the above
setup pubkey auth.
(works for both cable and wifi)
undo the above passwd change if really concerned about a very dirty wifi environment.
knc1 is offline   Reply With Quote
Old 05-21-2016, 11:51 AM   #113
Marco77
Connoisseur
Marco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipseMarco77 can illuminate an eclipse
 
Posts: 55
Karma: 8430
Join Date: Mar 2016
Device: PW3, Clara HD, PB740
I uploaded the kernel source on Github for 5.6.5, 5.7.3.1 & 5.7.4.1

https://github.com/mchubby-3rdparty/...rivers/usb/otg

Apparently the new .ko module is created because the MXC_OTG config item is selected in https://github.com/mchubby-3rdparty/...ario_defconfig.
At some point scripts/gen_initramfs_list.sh includes both fsl_otg_arc.ko and ehci-hcd.ko in the intird
https://github.com/mchubby-3rdparty/...initramfs.list

Last edited by Marco77; 05-21-2016 at 11:59 AM. Reason: fix urls
Marco77 is offline   Reply With Quote
Old 05-21-2016, 12:14 PM   #114
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Marco77 View Post
I uploaded the kernel source on Github for 5.6.5, 5.7.3.1 & 5.7.4.1

https://github.com/mchubby-3rdparty/...rivers/usb/otg

Apparently the new .ko module is created because the MXC_OTG config item is selected in https://github.com/mchubby-3rdparty/...ario_defconfig.
At some point scripts/gen_initramfs_list.sh includes both fsl_otg_arc.ko and ehci-hcd.ko in the intird
https://github.com/mchubby-3rdparty/...initramfs.list
I hope we can port this to the older soundless kindles, starting with the K4. Even if we need to flash a new kernel, that would be fine as long as the user agrees. The "uninstall" could always flash the old kernel back to allow an official amazon FW update, if necessary...

But I thought the whole POINT of kernel modules was to add or change kernel features WITHOUT needing to replace the kernel, so hopefully all we need for sound support is a set of kernel modules and a startup script to load them.

With the cheap (88-cent with free shipping) USB sound adapters work find on my PW3, using the OTG module that comes with the latest amazon firmware, porting this to earlier soundless kindles seems like a worthwhile pursuit (and easier to achieve now that it was when the K4 was new).

And regarding needing half a GIGABYTE of RAM to support TTS? Ridiculous! I think we can sound at least as good as Stephen Hawking with a mere handful of KILOBYTES of RAM.

Just do it in software, like they do on itty-bitty-RAM devices like Arduinos:
https://github.com/geekmaster/TTS
And that code linked above does PWM sound on a GPIO output pin. Rather like sending PWM sound to a kindle power LED, right?

Which makes me wonder, just how many of those "test point" pads, scattered all over the front (and many more on the back) of modern kindle internal circuit boards, are connected to unused GPIO pins on the SoC, just waiting to talk to hackish things like bit-banged SD cards, PWM sound (without USB adapters) and whatever else imagination can provide...

Last edited by geekmaster; 05-21-2016 at 12:23 PM.
geekmaster is offline   Reply With Quote
Old 05-21-2016, 02:37 PM   #115
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 Marco77 View Post
- - - -
At some point scripts/gen_initramfs_list.sh includes both fsl_otg_arc.ko and ehci-hcd.ko in the intird
- - - -
It has to, if it is going to use 3G.

The external USB connector is not the only USB port on the SoC.
The USB port that the 3G module (and hub) is on, is a host port.
knc1 is offline   Reply With Quote
Old 05-21-2016, 02:47 PM   #116
Cinisajoy
Just a Yellow Smiley.
Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.
 
Cinisajoy's Avatar
 
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
Quote:
Originally Posted by geekmaster View Post
I still have not installed the TTS voice pack on my PW3. After all, I am going deaf, not blind. Apparently, deafness is not peaceful silence. I have lawnmowers and whistles and vacuum cleaners and sirens all blaring in my head all the time (making peaceful sleep difficult to acquire). Not that imaginary noise keeping me awake at night matters that much, when I have to get up and pee every half hour. Getting old sucks -- avoid it if you can. Yeah, that, only worse than Beethoven described. I still love my music, but some notes cause pain and others I cannot hear, and I cannot tell the difference between high-end audio gear and dollar store headphones. And the difference between hearing threshold and pain threshold is nonexistant for many frequencies, making listening to music something I like to save for concert-going these days.

USB audio for sound-deficient kindles? Great! But not all that useful for me, other than a technical curiousity.
You have my complete and totally sympathy. I always hear the fan noise. It doesn't matter the size of the fan. Even the fans with no visible fan blades. You know the Dyson ones. I can hear their internal fan.
Cinisajoy is offline   Reply With Quote
Old 05-21-2016, 03:29 PM   #117
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by geekmaster View Post
IT'S ALIVE! IT TALKS!

I did not install the voice update yet.

I just plugged in my cheap chinese $0.99USD (free shipping) USB sound dongle, with heaphones already attached, and my kindle immediately started talking to me about "no voice files detected" and such.
Maybe they've taken a page from Apple and include a low quality voice and offer high quality voices as optional downloads. Or the low quality voice was included as a fallback voice in case the user accidentally deletes the downloaded TTS files.

Theoretically this lower quality tts voice would also require less RAM and should also work on Kindles with less memory such as my PW2. (Of course, it's also possible that they only included a TTS generated audio file of that specific error message.)

Either way, I'm curious what the sound quality is like.

If it's not too much of a hassle, could you please record the error message that you hear when you attach your usb audio adapter?
Doitsu is offline   Reply With Quote
Old 05-21-2016, 03:36 PM   #118
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Doitsu View Post
Maybe they've taken a page from Apple and include a low quality voice and offer high quality voices as optional downloads. Or the low quality voice was included as a fallback voice in case the user accidentally deletes the downloaded TTS files.
If it's only used to report an error (as appears to be the case), it would not of course need to be a synthesised voice, but simply a recorded error message.
HarryT is offline   Reply With Quote
Old 05-21-2016, 03:59 PM   #119
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Doitsu View Post
If it's not too much of a hassle, could you please record the error message that you hear when you attach your usb audio adapter?
It sounds human. I strongly suspect they hired a professional voice actor to read that message, in which case posting it could cause MobileRead to receive a DMCA takedown notice (if the local forum moderators didn't beat them to it)...

Last edited by geekmaster; 08-14-2016 at 11:13 PM.
geekmaster is offline   Reply With Quote
Old 05-21-2016, 04:28 PM   #120
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,523
Karma: 13088847
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Quote:
Originally Posted by geekmaster View Post

And regarding needing half a GIGABYTE of RAM to support TTS? Ridiculous! I think we can sound at least as good as Stephen Hawking with a mere handful of KILOBYTES of RAM.
That's for the new voice that sounds a lot better than the Hawkings voice. But who knows, maybe Ivona does not need that much RAM either and Amazon just does not want to support old devices.
Barty is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Kindle (Classic) and Touch Power Adapter - iPhone Adapter substitute? menevets Amazon Kindle 2 10-01-2011 12:26 PM
Found Perfect and Cheap USB to Power Charger/Adapter solution for Kindle guineapiguser Amazon Kindle 20 08-30-2010 07:11 AM
USB to Ethernet adapter emen enTourage Archive 8 07-13-2010 10:19 AM
usb adapter, would this work? *Angie* Sony Reader 56 06-13-2010 11:04 AM
USB Power Adapter thibaulthalpern Sony Reader 54 03-24-2009 10:44 AM


All times are GMT -4. The time now is 11:44 AM.


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