ANN: New USB Drive Library
Stephen Barncard
stephenREVOLUTION at barncard.com
Tue Jun 26 10:01:29 EDT 2007
Len, I've been investigating time-lapse photography lately. This
crowd has the interface information you might need to complete your
project. You might consider a second interface (LANC) for additional
control of your camera.
http://www.boehmel.de/lanc.htm
http://irdeo.de/eirdeo.htm
>While I'm sure there a dll call you could use, the only way I've
>found so far is to download a utility from MS (devcon.exe). This
>tool is basically a command line version of "Device Manager" so it
>can be used for much more than USB drives. If you do a Google
>search, there a several people that have written C versions of this
>same basic code so I imagine it wouldn't be too hard to write an
>external for Rev.
>
>As to using "the volumes" to get the drive letters, it does in fact
>return a list of drive letters but doesn't tell you anything about
>the drives (other than the letters) so I'm not sure how to match
>them up.
>
>Lastly, in Linux, I think you can just run the "mount" command and
>it will return a list of mounted drives. If automount is running,
>when you plugin a thumb drive it should be mounted and then show up
>in the list.
>
>My final problem, and this may be unique to me, is that I want to
>leave a digital camera hooked up to a computer and be able to read
>the photos out of it. The problem is that apparently digital
>cameras (I've tried several) detect the connection to the computer
>and turn themselves off until you unplug. I guess what I need is a
>way to power down a USB port so the camera is fooled into thinking
>that it has been disconnected. This may not be possible.
>
>Len Morgan
>
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list