View Single Post
Old 02-01-2010, 09:20 AM   #179
leader
Junior Member
leader began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2010
Device: kindle dx global
Thanks for replying! It seems not so easy.
In fact, I'm trying to do some font replacement by myself without using a UFH.
I ssh to kindle and then I copy fonts from /usr/java/lib/fonts to /mnt/us/fonts. I replace some fonts in /mnt/us/fonts and then use commands below:
Code:
mntroot rw
mount --bind /mnt/us/fonts /usr/java/lib/fonts
/etc/init.d/framework restart
The fonts works fine in this way even if the font file is large (e.g. >25M ). And if the fonts I replaced make kindle frozen, I just need to reboot it and everything returns to original statue. So I think this way is more safe.
But if I want to transfer some books on my computer to kindle, I have to reboot it and then repeat the steps above. It's kind of annoying.

Oh, I also got another problem when telnet to kindle via usbnetwork. After a few minutes (maybe 2 or 3 min), the connection will be closed with a msg saying "Connection closed by foreign host". But I can reconnect to kindle again by using
Code:
telnet 192.168.2.2
Is there any idea for why this happen?


Quote:
Originally Posted by jyavenard View Post
not easily I'm afraid.

One possibility would be to set a script to run say 1 minute later via a cron ; that script would destroy the usb0 network interface, unload the kernel modules for ethernet and reload the file_storage one ; like:
ifconfig usb0 down
rmmod g_ether
modprobe g_file_storage
leader is offline