Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Linux OS\PC acting as a USB Drive and share same drive\mount via CIFS\SMB. Possible?

  • 16-06-2011 12:13pm
    #1
    Registered Users, Registered Users 2 Posts: 6,949 ✭✭✭


    Basically I have a video device (records from aa microscope) that is pretty dumb but it will write to a USB drive. What I need is an intermeidary box that would act as a USB drive to the video device but also allow that data to be access via CIFS\SMB so that computers can access the video files...

    Any idea on how I could do this? Posting in this forum because I recon *NIX is my best bet to achieve this. No luck finding a SoHo NAS device that will so it, so I might have to make something myself..


Comments

  • Registered Users, Registered Users 2 Posts: 2,370 ✭✭✭Knasher


    One quick suggestion would be if it also has the ability to say to SD card then you could try one of those eye-fi cards. Never used them myself so I'm not 100% on how they work, but they might be a solution.

    EDIT: Also this:http://www.linux-usb.org/gadget/file_storage.html


  • Registered Users, Registered Users 2 Posts: 6,949 ✭✭✭SouperComputer


    Knasher wrote: »
    One quick suggestion would be if it also has the ability to say to SD card then you could try one of those eye-fi cards. Never used them myself so I'm not 100% on how they work, but they might be a solution.

    EDIT: Also this:http://www.linux-usb.org/gadget/file_storage.html


    Thanks for chiming in Knasher. I think what I am looking for could be described as a USB Drive Emulator of sorts? The volume would appear simultaenously as a USB drive to the video capture machine and would be shared on the network. Not easy I know...


  • Registered Users, Registered Users 2 Posts: 13,073 ✭✭✭✭bnt


    You need something that can operate in USB Target mode, and be electrically capable of it too. You can't just plug two powered USB initiators together and run some software to switch modes - you could damage the hardware.

    The only computer I know about off-hand is certain models of Apple MacBook. They have an option to boot in to USB Target mode, but then that's all it does i.e. the OS is not running and the disk is not accessible by anything other than the attached USB device. I've seen similar behaviour from other devices e.g. I have an Akai MPC1000 (sampler / drum machine) that lets you mount its disk to a computer over USB - at which point the disk is not available to the MPC at all. A "block device" like a disk can only have one master at a time. :cool:

    You are the type of what the age is searching for, and what it is afraid it has found. I am so glad that you have never done anything, never carved a statue, or painted a picture, or produced anything outside of yourself! Life has been your art. You have set yourself to music. Your days are your sonnets.

    ―Oscar Wilde predicting Social Media, in The Picture of Dorian Gray



  • Registered Users, Registered Users 2 Posts: 6,949 ✭✭✭SouperComputer


    Yeah it seems its theoretically possible to do this but not practical or worthwhile. Target firewire mode was nifty on Apple stuff, they started it wayyyy back when but I think you are right in that the stopped it during a release of the MacBook.

    After all this fapping around it turns out that theres an undocumented way to pushing the video via FTP. The setup on the device is retarted and convoluted but I got it to work. I think this is what I'll do for now. Push the video via FTP and work from there.


Advertisement