View Single Post
Old 10-06-2012, 06:00 PM   #220
knc1
Embedded Cheerleader
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: 6,360
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
hmm...
Looks to be working earlier (it is the socket connection to X11):
Code:
socket(PF_FILE, SOCK_STREAM, 0)         = 4
connect(4, {sa_family=AF_FILE, path=@/tmp/.X11-unix/X0}, 20) = 0
getpeername(4, {sa_family=AF_FILE, path=@/tmp/.X11-unix/X0}, [20]) = 0
uname({sys="Linux", node="kindle", ...}) = 0
access("/tmp/root/.Xauthority", R_OK)   = -1 ENOENT (No such file or directory)
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
poll([{fd=4, events=POLLIN|POLLOUT, revents=POLLOUT}], 1, -1) = 1
writev(4, [{"l\0\v\0\0\0\0\0\0\0\0\0", 12}, {"", 0}], 2) = 12
read(4, "\1\0\v\0\0\0]\0", 8)           = 8
So it is most likely that last call about: "/sys/devices/platform/fsl-usb2-udc/charging"

Try to list (ls -l) information about that system tree entry.
Backing up the tree until you find something that might be useful.
At least as far up the tree as: /sys/devices/platform

Then do the same (or ask someone with this working on a Kindle) to do the same.

- - - - -

You did not waste any time while learning to use strace -
It is a very useful bit of skill to have in mind.
knc1 is offline   Reply With Quote