View Single Post
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: 10773670
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