![]() |
#16 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I wa looking at post #1.
Last edited by eschwartz; 06-17-2015 at 12:35 PM. |
![]() |
![]() |
![]() |
#17 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
|
|
![]() |
![]() |
![]() |
#18 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 28464
Join Date: Dec 2006
|
You can try i.e.: OpenWRT TP-MR11U taped to the back of the unit, and run virtualhere (hard name to remember..) server there, then run virtualhere client at OS X, etc.
but virtualhere is not open source(and commericalware), I think it used some usbip... If kindle and virtualhere was open source then it may be possible.. if not then no one will bother.. I needed it because my motherboard USB is all broken |
![]() |
![]() |
![]() |
#19 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
usbip works like nfs does for folders - it just shares attached devices to the network. On my kindle I should be able to do anything to a usb drive attached to a host - mount/partition/format, or use perhaps a keyboard or mouse or any usb device (with drivers of course).
wireless is not the issue - doesn't matter. The kindle is not attached to anything so can't be shared on the network. |
![]() |
![]() |
![]() |
#20 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
knc1 -- you indicated that /mnt/us/ is actually pretending to be a USB device. How do I see that for myself? Is this only when the device is connected via USB to a computer?
Details! ![]() |
![]() |
![]() |
![]() |
#21 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
There's a huge mess implemented for USBMS handling.
AFAIR (feel free to correct me): mmc0blk4: userstore partition at the lowest level. Has a DOS partition table, first actual partition is at an offset. Said first partition is vfat, loop mounted to base-us. On top of that, there's a fusy proxy FS mounted as us. The framework mostly interacts with this top layer, this allows relatively easily to unmount it without completely breaking the framework, since for something to be exported over USBMS, it needs to be unmounted by the host OS. That, it turns, means that base-us and/or mmc0blk4 is effectively what's exported over USBMS. |
![]() |
![]() |
![]() |
#22 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
knc1 indicated it appears on the Kindle as a USB device? Hence being able to be exported over usbip?
Quote:
![]() It would be useful if there was a way to send the userstore over usbip in order to appear on the other computer as a USB device, Amazon vendor id and all. If not, might as well not bother and just use sshfs and connect-to-folder. |
|
![]() |
![]() |
![]() |
#23 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
(I'll call the electronics a "chip" even if it is something built into the SoC). On the external (world accessible) side of the chip is the USB connector on the case. I don't think there is any software connection to that side of the chip from the Kindle. On the internal side of the chip is Kernel USB storage module. That (**should be**) controlling the USB functions of the chip AND providing the storage area (physically using partition 4) so that the combination looks like a USB storage device. I haven't looked at the code (for ages), but that seems to be a reasonable description. I __imagine__ that the usbip demon expects a **physical** USB device (not some virtual thingy, the wet dream of the kernel driver ![]() I don't know if, on the Kindle side of the kernel driver, the *faked* USB storage device ever gets added to the USB device enumeration. It would be simpler if it did - but I don't expect our life to be that easy. So having given the situation the above, additional thought - - I think we would have to modify the usbipd daemon to connect to the Kernel USB storage driver. And modify the Kernel USB storage driver to have places for usbipd to hook into. Not as easy as I thought it would be. Sorry. |
|
![]() |
![]() |
![]() |
#24 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
http://www.madox.net/blog/2013/01/04...-wireless-usb/ instead of usb printer, attach Kindle. Shouldn't even need to do anything to the kindle. Last edited by brianinmaine; 06-18-2015 at 09:42 PM. |
|
![]() |
![]() |
![]() |
#25 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 28464
Join Date: Dec 2006
|
some ideas..
would usb_gadget help? what does the console log show when the hotplug script is run? (when plugged into usb) (I haven't find 1.8v or 3.3v adapter to make console yet.. will try someday) |
![]() |
![]() |
![]() |
#26 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
are you thinking of using OTG?
https://wiki.mobileread.com/wiki/Kindle_USB_OTG good luck - It is a nice dream... |
![]() |
![]() |
![]() |
#27 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
- - - - Ah, a Kindle **is** a usb_gadget. |
|
![]() |
![]() |
![]() |
#28 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I do have a small (netgear) router that can export the file system of a USB storage device plugged into it. (Sort of a poor-man's, NAS thing) This router is physically close to one of the small piles of Kindles on my desk. I'll connect the two together, set the router option, see what happens. (It should put the Kindle's USB mass storage on the network where it can be accessed by anything on my LAN). If everyone can hold their breath for about 9 hours, while I run some errands first .... Note: NetGear because they take the GPL seriously - the source they ship is ship'd in "ready to re-build" state (with build scripting and directions). But the above (NAS) feature is already built-in. OH, and this model also has built-in Wifi (two of them) and built-in ADSL modem. Last edited by knc1; 06-19-2015 at 07:23 AM. |
|
![]() |
![]() |
![]() |
#29 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
knc1 -- thanks for clarifying. Too good to be true, it seems.
![]() Using a router could be an option. ![]() I suppose if I really was going to a ton of effort I would just override the connect to folder driver in calibre, and copy-paste the Kindle code over. After all, I run from source anyway! That would be one was to get sshfs working as well as a USB connection. ![]() Really, usbip only has the one advantage that I can see (interfacing with software via USB vendor-ids). |
![]() |
![]() |
![]() |
#30 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Yup - I agree with you - keep it simple.
sshfs over wireless to pc hosting Calibre and use the "connect to folder" option. This thread has turned into a discussion of: ![]() - - - - Reference 1: https://www.digitalocean.com/communi...stems-over-ssh Specifically note the: Quote:
The readme and other USBnetworking add-in documentation, that recommends using public key (pair) authentication with ssh (sshfs) over wifi. Note that the same also works over the USB cable. Reference 3: Whatever documentation Calibre provides for the "connect to folder (/mnt/droplet)" case. You have me on that one, I don't use Calibre. Last edited by knc1; 06-19-2015 at 04:56 PM. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Companion and wireless connection | taratears | Calibre Companion | 13 | 03-28-2015 05:32 PM |
Headless Calibre-Server enable "Wireless device connection" | mohataj | Devices | 11 | 10-11-2012 05:39 AM |
Nook Touch/Calibre wireless connection? | tigersfan | Devices | 8 | 01-10-2012 02:51 PM |
Wireless Connection | Insalata | Devices | 2 | 10-13-2011 06:30 AM |
Wireless internet connection frustrating IDS connection | Socrates | iRex | 8 | 10-21-2009 12:46 PM |