tl;dr - I will be maintaining the original post with up to date progress. It will always result in the kernel and modules getting compiled. So far the Kernel will probably brick your device. The modules however, should work just fine (they insmod fine).
So after a bit of searching...
I found the front light header in the uboot source (uboot/include/linux/frontlight.h).
I found an ?earlier/compatible? version of the hall sensor header (yoshime_hall.h)
I have updated the original post with the fixes in place. I also added the depmod fix and switched from perl to sed.
I am actively pursuing fixes to the FB_MXC_EINK_PANEL problem currently. I'd like to blame the dev environment, but so far everything has been Amazon oversight. Fingers crossed, coffee at the ready.
In enabling the hall sensor, I noticed HALL_MISC_DEV_NAME and HALL_DEV_MINOR. Not sure what the values should be. Any help there would be appreciated. Here's the output of 'cat /proc/devices':
Quote:
Character devices:
1 mem
4 /dev/vc/0
4 tty
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
29 fb
89 i2c
108 ppp
128 ptm
136 pts
180 usb
188 ttyUSB
189 usb_device
207 ttymxc
252 mwan
253 pmic
254 rtc
Block devices:
259 blkext
7 loop
179 mmc
|
@bulsa:
Shoot... it makes sense that the 3G would be using the OTG. Also, the config has USB driver for GSM and CDMA modems enabled (CONFIG_USB_SERIAL_OPTION=m), so it appears likely. I may end up having to go ttl->bt for some semblance of periphery. Albeit a cool hack, I'd rather completely discount the OTG before I solder on a level shifter, serial bt module, and likely cut a hole in my case. Another idea... the Wifi-only PW1... does it not have the modem, or did they just not put a sim in it? Anyways, here's my lsusb- hopefully it will shed some light:
lsusb -t
Quote:
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 1949:9001
|
I'm very familiar with linux and development, just not the low level hardware and drivers. So if you need me to run a specific command on the kindle, lay it on me. ANY AND ALL ASSISTANCE WELCOME.
I noticed that unionfs on the kindle is broken. You can mount just fine, but when you access the rw/union directory, it locks up. So using this process I patched in and compiled AuFS-standalone+utils. I'm playing with it right now. Hopefully it will make optware a simple process (cram/squashfs, no need to bind new directories).
If anyone wants to discuss opkg/optware/cramfs/aufs, please PM me. I should have a release this week.