[Techtalk] mounting a USB camera
TechChiq
techchiq at hotpop.com
Sun Oct 19 21:58:32 EST 2003
On Sun, 2003-10-19 at 14:29, Hamster wrote:
> I have a USB camera which I am trying to mount under linux. It's a bit of a
> story, so let me explain.
>
> It's my understanding that there are two ways of accessing a digi camera.
> The first way is using the programme gphoto2.
>
> Using gphoto2, everything works. I can download images, so I know at least
> the camera works in some capacity.
>
> But what I really want to be able to do is to access it the second way.
> This by mounting the camera and accessing the images via the regular file
> system- ie not using the gphoto2 application at all. I understand it uses
> scsi emulation to access the compactflash card as a vfat partition.
That's odd, no sd* devices installed you said later in your message? I
don't know but my system has sd* devices automatically installed so I
think you will need that. Try dir /dev/sda1 and if it comes up, you're
in business. :) But some things that appear to work in gPhoto2 may not
be direct-accessable. My Fuji FinePix 1400 Zoom is directly accessible
(SmartMedia) but it's not listed in gPhoto2.
Here's how I set up my camera (just as a reference, might not work for
you but might hopefully give you some new ideas)...
/sbin/modprobe usb-storage
Edit /etc/auto.master to read: /mnt /etc/auto.misc -- TIMEOUT=120
Edit /etc/auto.misc to read:
camera -fstype=vfat,ro,nosuid,nodev :/dev/sda1
/etc/init.d/autofs restart
Of course this assumes you also have automout in your system as well.
>From there, all you need to do to access the camera would be to go to
/mnt/camera and it should show up. At least, mine did. But my system
seems quite different from yours so this may or may not work. But I do
think you need scsi devices installed because that is one that will be
used for the camera.
--
TechChiq
--------
Linux User # 331707 Machine # 216034 (http://counter.li.org)
Pink Tie 9 (RH9 clone), Kernel 2.4.20-6, KDE 3.1, Wine 20031016
Win98SE (dual-boot)
More information about the Techtalk
mailing list