<br><br><div><span class="gmail_quote">On 26/10/05, <b class="gmail_sendername">Andrew Couture</b> <<a href="mailto:relicsrage@gmail.com">relicsrage@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OK, do you have gphoto2 installed?<br>If you have gthumbs installed, gphoto2 is installed.<br>I have two digital cameras, one Minolta DV and a Canon G5.<br>Both have worked flawlessly with FC2/3/4.<br><br>I am using FC4 with newest kernel.
<br>Example...i plug in camera, gthumbs opens and asks 'import photos?'<br><br>Assuming you have FC4 and the newest kernel, 'yum install gthumbs'<br>or apt-get or whatever you poison.<br><br>Make sure you remove your 'rules' and other changes (put everything
<br>back as original) then plug in your camera.<br><br>If you want,envoke gphoto2 from the CLI, or man gphoto2 for more info.<br>Check out the home page for gphoto2 for more information on your<br>camera (optional).<br><br>
I have not had to play with 'fstab' or create 'local.rules' for udev<br>or screw with any permissions. It works out of the box, first time<br>every time for me. I have FC4 installed on five systems here at home,<br>and it just works on every computer.
<br><br>andy<br><br><br><br>kwhiskers wrote:<br>><br>><br>> On 25/10/05, *Andrew Couture* <<a href="mailto:relicsrage@gmail.com">relicsrage@gmail.com</a><br>> <mailto:<a href="mailto:relicsrage@gmail.com">
relicsrage@gmail.com</a>>> wrote:<br>><br>> First off, what version of FC are you using?,<br>><br>> do you have gphoto or gphoto2 installed?<br>><br>> do you have gThumb installed?<br>>
<br>> You can mount the thing manually, your almost there...<br>><br>><br>> kwhiskers wrote:<br>> > Problem: I would like to have my camera be mounted automatically<br>> when I<br>> > plug it into its usb cable.
<br>> > NB: Although it is plugged into the usb, it is seen as a scsi<br>> device.<br>> ><br>> > I have a line in fstab:<br>> ><br>>
/dev/sda1 /media/usbdisk auto pamconsole,exec,noauto,managed<br>> 0 0<br>> ><br>> > I have made a dimage.rules file for udev:<br>> > BUS="scsi", SYSFS{model}="DiMAGE F100", KERNEL="sd?1",
<br>> SYMLINK="camera"<br>> ><br>> > I got some of this information by entering the command:<br>> > udevinfo -a -p 'udevinfo -q path -n /dev/sda1'<br>> ><br>> > This is the output I get:
<br>> ><br>> > device '/sys/block/sda/sda1' has major:minor 8:1<br>> > looking at class device '/sys/block/sda/sda1':<br>> > SUBSYSTEM=="block"<br>> > SYSFS{dev}=="8:1"
<br>> > SYSFS{size}=="493979"<br>> > SYSFS{start}=="101"<br>> >
SYSFS{stat}=="
163 163 0 0"<br>> ><br>> > follow the "device"-link to the physical device:<br>> > looking at the device chain at '/sys/devices/pci0000:00/0000<br>> > :00:
1f.2/usb1/1-2/1-2:1.0/host2/target2:0:0/2:0:0:0':<br>> > BUS=="scsi"<br>> > ID=="2:0:0:0"<br>> > DRIVER=="sd"<br>> > SYSFS{device_blocked}=="0"
<br>> > SYSFS{iocounterbits}=="32"<br>> > SYSFS{iodone_cnt}=="0x2b"<br>> > SYSFS{ioerr_cnt}=="0x0"<br>> > SYSFS{iorequest_cnt}=="0x2b"
<br>> > SYSFS{max_sectors}=="240"<br>> > SYSFS{model}=="DiMAGE F100 "<br>> > SYSFS{queue_depth}=="1"<br>> > SYSFS{queue_type}=="none"
<br>> > SYSFS{rev}=="1.00"<br>> > SYSFS{scsi_level}=="3"<br>> > SYSFS{state}=="running"<br>> > SYSFS{timeout}=="30"<br>> > SYSFS{type}=="0"
<br>> > SYSFS{vendor}=="MINOLTA "<br>> ><br>> > couldn't open device directory<br>> ><br>> > Perhaps of note is the fact that the number on the line<br>
> SYSFS{stat} is<br>> > not the same every time<br>> > Also, the note at the end of the output for this command:<br>> "couldn't open<br>> > device directory"<br>> > Is that normal? Why couldn't directory be opened? When I manually
<br>> mount,<br>> > it opens just fine.<br>> ><br>> > When I plug in the camera:<br>> > - the modules are loaded automatically (verified with tail<br>> messages, etc)
<br>> > - the aforementioned line appears in fstab<br>> > - /dev/sda1 is created<br>> > - a link /dev/camera --> /dev/sda1 is created<br>> > - /media/usbdisk is created<br>
> ><br>> > However, the camera is not mounted and I have to do so manually :-(<br>> ><br>> > When I turn off the camera:<br>> > - /media/usbdisk disappears, but only after a very long time (in
<br>> a few<br>> > instances it didn't disappear and on next boot, when I plugged in the<br>> > camera again, /media/usbdisk1 was created, in addition to the<br>> > pre-existing /media/usbdisk from the previous session)
<br>> > - the line in fstab also disappears (I would have preferred to have<br>> > /media/camera, but usbdisk appears no matter what I write in<br>> fstab, so<br>> > instead of fighting it, I decided that it will have to do, unless
<br>> > someone knows why...)<br>> ><br>> > Does anyone know how to get this working? Help would be much<br>> appreciated<br>> ><br>><br>> --<br>> fedora-list mailing list
<br>> <a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a> <mailto:<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>><br>> To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br>><br>><br>> You said I'm almost there, but actually, I'm exactly where I started, 3<br>> days ago. I have learned a lot since then, but nothing that makes any
<br>> difference to the problem at hand.<br>><br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>
Thanks, I will try this when I get home in 3 hours. <br>
<br>
I suspect, though, that your cameras are not scsi mass storage cameras,
hence are recognized by gphoto out of the box. Nevertheless, I will try.<br>
<br>
I have done quite a lot of reading, and I have come to the conclusion
that the real problem is HAL. I have to set up the .fdi file so that
the mass storage device gets automounted.<br>