<br><br><div><span class="gmail_quote">On 26/10/05, <b class="gmail_sendername">Andrew Couture</b> &lt;<a href="mailto:relicsrage@gmail.com">relicsrage@gmail.com</a>&gt; 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>&gt;<br>&gt;<br>&gt; On 25/10/05, *Andrew Couture* &lt;<a href="mailto:relicsrage@gmail.com">relicsrage@gmail.com</a><br>&gt; &lt;mailto:<a href="mailto:relicsrage@gmail.com">
relicsrage@gmail.com</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; First off, what version of FC are you using?,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; do you have gphoto or gphoto2 installed?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; do you have gThumb installed?<br>&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; You can mount the thing manually, your almost there...<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; kwhiskers wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Problem: I would like to have my camera be mounted automatically<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; when I<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; plug it into its usb cable.
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp; NB: Although it is plugged into the usb, it is seen as a scsi<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; device.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; I have a line in fstab:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;
/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;/media/usbdisk&nbsp;&nbsp;&nbsp;&nbsp;auto&nbsp;&nbsp;&nbsp;&nbsp;pamconsole,exec,noauto,managed<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 0 0<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; I have made a dimage.rules file for udev:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp; BUS=&quot;scsi&quot;, SYSFS{model}=&quot;DiMAGE F100&quot;, KERNEL=&quot;sd?1&quot;,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYMLINK=&quot;camera&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; I got some of this information by entering the command:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp; udevinfo -a -p 'udevinfo -q path -n /dev/sda1'<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; This is the output I get:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; device '/sys/block/sda/sda1' has major:minor 8:1<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp; looking at class device '/sys/block/sda/sda1':<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SUBSYSTEM==&quot;block&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{dev}==&quot;8:1&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{size}==&quot;493979&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{start}==&quot;101&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
SYSFS{stat}==&quot;&nbsp;&nbsp;&nbsp;&nbsp;
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; follow the &quot;device&quot;-link to the physical device:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp; looking at the device chain at '/sys/devices/pci0000:00/0000<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; :00:
1f.2/usb1/1-2/1-2:1.0/host2/target2:0:0/2:0:0:0':<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; BUS==&quot;scsi&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ID==&quot;2:0:0:0&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; DRIVER==&quot;sd&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{device_blocked}==&quot;0&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{iocounterbits}==&quot;32&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{iodone_cnt}==&quot;0x2b&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{ioerr_cnt}==&quot;0x0&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{iorequest_cnt}==&quot;0x2b&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{max_sectors}==&quot;240&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{model}==&quot;DiMAGE F100&nbsp;&nbsp;&nbsp;&nbsp; &quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{queue_depth}==&quot;1&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{queue_type}==&quot;none&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{rev}==&quot;1.00&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{scsi_level}==&quot;3&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{state}==&quot;running&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{timeout}==&quot;30&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{type}==&quot;0&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{vendor}==&quot;MINOLTA &quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; couldn't open device directory<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Perhaps of note is the fact that the number on the line<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; SYSFS{stat} is<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; not the same every time<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Also, the note at the end of the output for this command:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &quot;couldn't open<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; device directory&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Is that normal? Why couldn't directory be opened? When I manually
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; mount,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; it opens just fine.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; When I plug in the camera:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; -&nbsp;&nbsp;the modules are loaded automatically (verified with tail<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; messages, etc)
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; -&nbsp;&nbsp;the aforementioned line appears in fstab<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; -&nbsp;&nbsp;/dev/sda1 is created<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; -&nbsp;&nbsp;a link /dev/camera --&gt; /dev/sda1 is created<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; -&nbsp;&nbsp;/media/usbdisk is created<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; However, the camera is not mounted and I have to do so manually :-(<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; When I turn off the camera:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; -&nbsp;&nbsp;/media/usbdisk disappears, but only after a very long time (in
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; a few<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; instances it didn't disappear and on next boot, when I plugged in the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; camera again, /media/usbdisk1 was created, in addition to the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; pre-existing /media/usbdisk from the previous session)
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; -&nbsp;&nbsp;the line in fstab also disappears (I would have preferred to have<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; /media/camera, but usbdisk appears no matter what I write in<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; fstab, so<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; instead of fighting it, I decided that it will have to do, unless
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; someone knows why...)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Does anyone know how to get this working? Help would be much<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; appreciated<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; fedora-list mailing list
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a> &lt;mailto:<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br>&gt;<br>&gt;<br>&gt; You said I'm almost there, but actually, I'm exactly where I started, 3<br>&gt; days ago. I have learned a lot since then, but nothing that makes any
<br>&gt; difference to the problem at hand.<br>&gt;<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>