<br><br><div><span class="gmail_quote">On 25/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;">
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 when I<br>> plug it into its usb cable.<br>>   NB: Although it is plugged into the usb, it is seen as a scsi device.<br>><br>> I have a line in fstab:
<br>>  
/dev/sda1    /media/usbdisk    auto    pamconsole,exec,noauto,managed
0 0<br>><br>> I have made a dimage.rules file for udev:<br>>   BUS="scsi", SYSFS{model}="DiMAGE F100", KERNEL="sd?1", 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 SYSFS{stat} is
<br>> not the same every time<br>> Also, the note at the end of the output for this command: "couldn't open<br>> device directory"<br>> Is that normal? Why couldn't directory be opened? When I manually mount,
<br>> it opens just fine.<br>><br>> When I plug in the camera:<br>> -  the modules are loaded automatically (verified with tail 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 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 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 appreciated<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>
Hey, now I am beginning to feel like I just grovelled. Sheesh.<br>
<br>
Well, okay, now that you've asked...<br>
<br>
I have Fedora 4 with the lastest everything, mostly from extras, but I
use KDE from kde-redhat, not the distro version. All works splendidly!
This is not a huge problem, after all, I can simply manually mount, but
I thought...<br>
<br>
Since CDs mount when I insert them, why shouldn't my camera do the
same? It would be very practical. I would still have to manually
umount, of course.<br>
<br>
Yes, I have gphoto2-2.1.6-1.1 installed. I have gthumb installed. I
have digikam installed. Gphoto, if I understand correctly, doesn't like
my camera because it is a usb scsi mass storage device. Digikam, in the
more recent versions, can handle it fine, as a 'directory browse'
device.<br>
<br>
So, what are you leading up to? "Almost there" does sound good...<br>