View Single Post
Old 10-31-2016, 10:09 AM   #86
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 aconicq1 View Post
Please see copy of /proc/config.gz attached.

I upgraded to latest FW 5.8.5.0.1 with no change.
Broke is broke.
The update suggestion was to increase the time span of what we create, rather than have it break again as soon as you go on-line.

You probably want to install the update blocker directory name on your Kindle.
If you haven't already, see Step #7 of the current jb instructions.

Quote:
Originally Posted by aconicq1 View Post
I have debian running in a VM. I don't understand how if the modules are compiled for the correct kernel there are problems... Suggested further debugging steps would be greatly appreciated.
Some modules will be compiled in, some will be external and loadable, some will not be even used.
Those three sets may be different and the differences significant.
Quote:
Originally Posted by aconicq1 View Post
Please let me know if you find anything or if anyone has managed to get OTG working on PW2

Thanks
If anyone has, they haven't posted about it here.

Quote:
Originally Posted by aconicq1 View Post
Perhaps a module is missing or different? Can we compare the available modules and the live modules between the PW2 and PW3?
Yes, I have the the other models with known working (from Amazon) OTG support and that is part of what I intend to do.
Quote:
Originally Posted by aconicq1 View Post
Here are the modules for the PW2:
# all available modules
Spoiler:

[root@kindle root]# modprobe -l
/lib/modules/3.0.35-lab126/kernel/compat-wireless/net/wireless/cfg80211.ko
/lib/modules/3.0.35-lab126/kernel/compat-wireless/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
/lib/modules/3.0.35-lab126/kernel/compat-wireless/drivers/net/wireless/ath/ath.ko
/lib/modules/3.0.35-lab126/kernel/fs/nls/nls_utf8.ko
/lib/modules/3.0.35-lab126/kernel/fs/nls/nls_ascii.ko
/lib/modules/3.0.35-lab126/kernel/fs/fuse/fuse.ko
/lib/modules/3.0.35-lab126/kernel/drivers/video/mxc/mxc_epdc_fb.ko
/lib/modules/3.0.35-lab126/kernel/drivers/net/ppp_generic.ko
/lib/modules/3.0.35-lab126/kernel/drivers/net/slhc.ko
/lib/modules/3.0.35-lab126/kernel/drivers/net/wan/pkt_monitor.ko
/lib/modules/3.0.35-lab126/kernel/drivers/net/wan/mwan.ko
/lib/modules/3.0.35-lab126/kernel/drivers/net/ppp_async.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/host/ehci-hcd.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/serial/option.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/serial/usbserial.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/serial/usb_wwan.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/otg/fsl_otg_arc.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/gadget/g_serial.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/gadget/g_file_storage.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/gadget/arcotg_udc.ko
/lib/modules/3.0.35-lab126/kernel/drivers/usb/gadget/g_ether.ko
/lib/modules/3.0.35-lab126/kernel/drivers/misc/mxs-perfmon.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/misc/als_max44009.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/misc/prox_pic12lf1822.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/keyboard/fsr_keypad.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/keyboard/drv26xx_haptics.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/touchscreen/cyttsp4_i2c.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/touchscreen/cyttsp4_loader.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/touchscreen/cyttsp4_device_access.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/touchscreen/cyttsp4_mt_b.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/touchscreen/cyttsp4_core.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/touchscreen/zforce2.ko
/lib/modules/3.0.35-lab126/kernel/drivers/input/touchscreen/cyttsp4_debug.ko
/lib/modules/3.0.35-lab126/kernel/crypto/tcrypt.ko
/lib/modules/3.0.35-lab126/kernel/lib/crc-ccitt.ko
/lib/modules/3.0.35-lab126/extra/mxc_epdc_eink.ko


# all live modules when additional .ko files are added from KindleLazy
Spoiler:
[root@kindle root]# cat /proc/modules
mousedev 9072 0 - Live 0xbf31f000
usbhid 18029 0 - Live 0xbf316000
hid 67608 1 usbhid, Live 0xbf300000
ath6kl_sdio 197174 0 - Live 0xbf0c5000
cfg80211 170499 1 ath6kl_sdio, Live 0xbf08f000
g_file_storage 35603 0 - Live 0xbf080000
arcotg_udc 26338 1 g_file_storage, Live 0xbf074000
cyttsp4_mt_b 8180 0 - Live 0xbf06e000
cyttsp4_core 41372 2 - Live 0xbf05c000
cyttsp4_i2c 2563 1 - Live 0xbf058000
fuse 60020 2 - Live 0xbf042000
ehci_hcd 53568 0 - Live 0xbf02e000
fsl_otg_arc 15613 3 ehci_hcd, Live 0xbf026000
mxc_epdc_fb 89437 3 - Live 0xbf006000
mxc_epdc_eink 8771 1 mxc_epdc_fb, Live 0xbf000000 (P)
This is going to turn into a long documentary for people to refer to in the future as we stumble through it the first time.

So any information attached to the posts might be of help to future readers.

Ah,
That also means we get to make our mistakes in public, hope you don't embarrass easily.
Which just means the next reader can read about them, rather than take the time to learn-by-doing them themself.

Running Linux in a VM should not make a difference -
It might slow things down a bit, but it isn't like we will be doing this every day from now on.

Again - Which Linux distribution? Name and version please.
And I do hope you installed a 32-bit flavor of it.

Amazon posts all source code on:
https://www.amazon.com/gp/help/custo...deId=200203720

In your case, this should be the one to work with (paperwhite 6th. generation):
https://s3.amazonaws.com/kindledownl...7510002.tar.gz

I haven't looked at it yet, so I am hoping that Lab126 didn't screw it up - they sometimes do.

hmm...
Debian.
Here is a couple of links to getting ARM code to run under Debian:
https://wiki.debian.org/QemuUserEmulation
https://wiki.debian.org/EmDebian/Cro...strap_approach

They are not specifically for kernel building, but consider them an introduction.
I'll post what I do to set them up (a mix-and-match of both sets of directions).
So for now, those are just background information.

**OUR** end goal will be to install a Debian/Jessie/ARMel system into you Linux VM under (I suppose) Windoze.

Edit: The source above ships the 3.0.35 (rather than the 3.10.53) version the other OTG devices are using.
Do a:
uname -a
on your Kindle to make sure they didn't screw that up.

Last edited by knc1; 10-31-2016 at 10:24 AM.
knc1 is offline   Reply With Quote