Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2013, 02:35 AM   #1
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
rj45 ethernet usb micro adaptor

would either of these adaptors: B00B7CNPAM or B009YYSFAU
connect the Kindle Touch to an ethernet cable** and hence another pc?

ie assuming usbnetworking is installed and working

if not is there something else?

**no wifi, no usb

thanks again
peepo is offline   Reply With Quote
Old 02-20-2013, 02:52 AM   #2
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
I doubt you could get anything to work without recompiling the kernel to get the device drivers you would need?
brianinmaine is offline   Reply With Quote
Advert
Old 02-20-2013, 03:27 AM   #3
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
thanks Brian, good point, tend to wear too many hats...

reading through: http://www.tldp.org/HOWTO/Ethernet-HOWTO.html

have the feeling that ethercards have been around so long this may be doable...
peepo is offline   Reply With Quote
Old 02-20-2013, 04:20 AM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
link to things please.

My gut says No, wihout effort
twobob is offline   Reply With Quote
Old 02-20-2013, 04:40 AM   #5
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
I suppose you will still need to add USB Host Mode support to Kindle.
dsmid is offline   Reply With Quote
Advert
Old 02-20-2013, 05:32 AM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by dsmid View Post
I suppose you will still need to add USB Host Mode support to Kindle.
Exactly my point.

Much obliged
twobob is offline   Reply With Quote
Old 02-20-2013, 05:43 AM   #7
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
http://www.linux-usb.org/usbnet/

the simplest possible likely solution might for example be:

modprobe usbnet
FATAL: Module usbnet not found
modprobe dm9601
FATAL: Module dm9601 not found

davicom dm9601 is cheap, popular and in my toolbox...

A few Kindle Fire developers would like ethernet too:
http://forum.xda-developers.com/show....php?t=1813342
selection of reasons provided...

willing to trial if anyone has ideas...
peepo is offline   Reply With Quote
Old 02-20-2013, 05:57 AM   #8
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Hmm this rings a bell: https://www.mobileread.com/forums/sho...2&postcount=27

and https://www.mobileread.com/forums/sho...0&postcount=28


You should be looking at choffs works

https://www.mobileread.com/forums/sho...85&postcount=7

http://www.christian-hoff.com/?p=16

http://www.christian-hoff.com/?p=44

https://www.mobileread.com/forums/sho...d.php?t=194518

https://www.mobileread.com/forums/sho...5&postcount=11
http://www.christian-hoff.com/?p=44#comment-236

https://www.mobileread.com/forums/sho...30&postcount=7

etc...

https://www.mobileread.com/forums/sho...3&postcount=15

Quote:
just heard of your efforts to create a USB host port for the Kindle Touch. This is a fantastic thing to do, and your work is much appreciated!

Best thing of all is that there shouldn’t be too much effort needed to create a port for the Touch version. The hardware of the Touch and the K4 is mostly the same(same board, USB chips etc.) and this is also reflected in the code diff, which is minimal and – as far as I can tell – only consists of bug fixes.

The drivers/usb diff of the two kernel trees is also neglegible compared to the USB OTG changes.

Suggested way to port this to the Kindle Touch would be as follows:

1 – Take the K4 kernel as a basis. Copy the the following files/directories from the USB OTG port for the K4 and use these files as a replacement for existing K5 files/directories:
+ drivers/usb
+ arch/arm/plat-mxc/include/mach/arc_otg.h
+ arch/arm/plat-mxc/usb_common.c
+ drivers/power/yoshi_charger.c
+ include/linux/fsl_devices.h

2 – Reapply the USB OTG code changes to the following files:
+ drivers/power/Kconfig
+ drivers/power/Makefile

3 – Now create a OTG defconfig for the Kindle Touch. A working OTG config for the K4 can be found at arch/arm/configs/imx50_tequila_usbotg_defconfig. For the Touch, you will need to create your own.

Use the arch/arm/configs/imx50_yoshi_defconfig as a basis. Then make sure that the following options are set:

+ CONFIG_CHARGER_YOSHI=m
+ CONFIG_USB=m
+ CONFIG_USB_OTG=y
+ CONFIG_USB_EHCI_ARC_OTG=y
+ # CONFIG_USB_OTG_WHITELIST is not set
+ # CONFIG_USB_OTG_BLACKLIST_HUB is not set

The following options should already be set:
+ CONFIG_USB_EHCI_HCD=m
+ CONFIG_USB_EHCI_ARC=y

This is only for minimal USB support. If you want support for peripherial devices such as keyboards, sound cards, USB mass storage etc. you will need to enable additional options.

4 – Additional changes will need to be done to the file drivers/usb/host/ehci-arc.c:

+ To ehci_fsl_drv_deep_suspend and ehci_fsl_drv_deep_resume add the following code to the beginning:

+ if (pdata->operating_mode == FSL_USB2_DR_HOST) {
+ return ehci_fsl_drv_suspend/ehci_fsl_drv_resume(..);
+ }

This ensures that the suspend/resume works also with the internal USB Host port(which is connected to the WAN modem)

Also you will need to UNDO the following code changes done by me on those files:
Code:
@@ -78,7 +85,6 @@ wakeup_enable_store(struct device *dev, struct device_attribute *attr,
{
if (strstr(buf, “1″) != NULL) {
wakeup_value = 1;
- wan_set_usb_wake_callback(ehci_hcd_recalc_work);
ehci_hcd_restart_idle();
}
else {
Afterwards, compile the kernel and transfer it to the device. Let’s hope that this works for you. I hope you have got a serial connection to your Kindle because debugging will be difficult otherwise.

Hoper this helps!

Kind regards,

Christian

I really wish I had time to finish this. However time is against me right now.
(I would've done it before now but for the cable, hey ho)

Last edited by twobob; 02-20-2013 at 06:38 AM.
twobob is offline   Reply With Quote
Old 02-20-2013, 01:49 PM   #9
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by CHOFF (by email love him)
some more things that I have forgotten:
- You will need a *special* USB hub which provides power on the upstream port in order to test the OTG host mode. Alternatively a USB-Y-Cable should do, with the additional power line being connected to your laptop. See here for instructions on how to build such a cable . The cable can also be bought at several computer stores.

Further work still needs to be done such that it becomes possible to connect also normal hubs to the Kindle. Only reason why you need a powered hub is that the Kindle's USB port notices that there is activity on the port and wakes it up from low power suspend mode.
twobob is offline   Reply With Quote
Old 02-21-2013, 07:51 AM   #10
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
The teamwork here is massive, cant thank you all enough...

not sure whether to pipe down or keep posting, we'll see....

back to set up screen for the moment.
peepo is offline   Reply With Quote
Old 02-21-2013, 09:57 AM   #11
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
I REALLY wanted to get this done a WHILE ago.

but life gets in the way.

if YOU get it done and share... that would be great
twobob is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
stupid question on DR800SG - Micro-A or Micro-B USB? X. Trapnel iRex 4 12-01-2015 03:25 AM
rj45 ethernet usb micro adaptor peepo Amazon Kindle 0 02-19-2013 04:28 PM
Accessories USB to Ethernet Adapter madamepsi enTourage Archive 11 03-07-2011 12:20 PM
USB to Ethernet adapter emen enTourage Archive 8 07-13-2010 10:19 AM
Micro SC with adaptor ? cancelx Astak EZReader 6 03-24-2010 09:20 PM


All times are GMT -4. The time now is 06:58 PM.


MobileRead.com is a privately owned, operated and funded community.