A set of USB thumb drives that directly synchronize over their own WiFi. No coulds harmed.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
I'd have opted for a flex cable taking the place of the micro USB header but with a healthy disregard of RF requirements it appears to be "ok" to just solder on some crusty ribbon cable strips
the idea is out there...
... I just saw that windows has a generic USB driver class for displays..
"Microsoft provides USB video class support by means of the Usbvideo.sys driver. {6bdd1fc6-810f-11d0-bec7-08002be2092f}"
It seems however that this is only for webcams? USB 2.0 displays suffer form the curse of proprietary DisplyLink being the only game in town https://www.tomshardware.com/reviews/usb-graphics-adapter,3006-1.html and https://github.com/DisplayLink/evdi)
... makes me wonder whether USB 3.x and Windows 10 brought about any change at all?
Boards have arrived! Now where are those ESP modules when you need them!
https://hackaday.io/project/8678-rpi-wifi
>> The BCM283x SoCs at the heart of every Pi has two MMC controllers. One
of these connects to the SD card slot that the Pi boots and runs its OS
from. The other has largely been ignored, but comes out on the HAT connector
as alternate functions on GPIOs 22-27. Recent kernel and boot blob
changes have enabled these pins to be mapped to the MMC controller that
also supports SDIO devices.
https://pinout.xyz/pinout/sdio
>> SDIO is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot.These pins are "SD host" on Alt0 and "eMMC" on Alt3.
>> The SD cards are primaraly a SPI device, as such you technically could
parallel anouther device as long as you use a seperate chip select line
ut this would then require special driver to know what to use for it.
------
Sometimes it is the hardest to find definitive statements about obvious things. ajlitt has done an excellent job documenting all there is to know about the MMC controller and the secondary SDIO interface. The facts have changed over the past time so I initially found some contradictions.
Looking forward to Jacksons PCBs and ESP 12F modules from abroad.
Create an account to leave a comment. Already have an account? Log In.
[this comment has been deleted]
Hehe sounds like a fun way around the issue. Hopefully I can explore that in due time.
Awesome project idea. I can think of many times it would be useful. Instead of a mass storage device, you might consider exposing the storage as a MTP device. (see http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/)
Thanks for the comment. You made a point there. I'm still using Windows a lot and I've felt the differences without putting a name to it.
MTP would be tempting to use for best storage efficiency at the cost of transfer times and the least hassle with different OS.
On the other hand it would be nice to transfer the files ahead of time and just have them appear on a mass storage device linke an rsync backup. Thinking of it, that might get out of hand depending on file sizes, taking minutes at a time and blocking access to other remote files.
If multiple device endpoints are possible without much of a hassle I can imagine the device presenting as a media device and mass storage device at the same time, with complete access on demand through MTP and folder oriented download on access via the mass storage device.
MTP will be sufficient for most cases however I like the idea of executing binaries and opening different formats with the proper file associations. Just a matter of convenience though.
If you go the mass storage route, one thing to consider is that only one device can access it at a time (filesystem drivers don't take kindly to the bits changing unexpectedly underneath them). MTP should handle that fine, as it's basically a filesystem-level interface. But, as you noted, it comes with its own painful restrictions. I'm curious-- you didn't state it, but it seems that you probably have an implicit requirement for not having any drivers. i.e. just plug it in and it works. Is that so? The reason I ask is that you can probably get the rest of the features you want if you were to add a custom driver, but it does seem to be getting away from the beautiful simplicity of your original concept.
Are there even MTP gadget drivers for the pi or would that need developing / porting?
I've not seen any guides on how to set that up.
I'm pretty sure with MTP both hosts can write to the filesystem at the same time.
Not something that says PI on the package but https://www.archlinux.org/packages/?name=libmtp
won't be having much time to play around this week but maybe that's something that I can spend some time on researching
edit: wrong. "libmtp is an Initiator implementation"
then what we'd need is an MTP responder... https://msdn.microsoft.com/en-us/library/jj584948(v=winembedded.70).aspx
see, I really need to read up on that ^^
Theye guys from the past didn't get anywhere as it seems
encouraging! My only hope is that all these incomplete implementations have fallen prey to some android-ish singularity that replaced them with one official library.
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
Yes, regarding locks it starts going down the rabbit hole real quick. The simplest thing to start with would be to synchronize with the remote drive while nobody's looking / file handles are closed / have expired.
The original idea is have something that for the most part feels like a thumb drive to the end used and mounts on linux and windows machines without further ado. I've had my share of fun with libusb filter drivers for AVR programming dongles and windows driver signing. That's what ultimately kept me from venturing deeper into learning how to write drivers.
On the other hand I had some fun using LUFA (USB stack for USB enabled ATMega32u4 and the like) to implement a primitive "sound card" device that allows recording an accelerometer data audio stream. That really made me appreciate generic USB classes.
So my design principle would be to avoid unnecessary complications and I embrace the limitations of the generic driver support forcing me to stick to it.