LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mount digital camera? (https://www.linuxquestions.org/questions/slackware-14/mount-digital-camera-336741/)

Okie 06-24-2005 08:13 AM

mount digital camera?
 
i have a Kodak digital camera, in the past i used Hotplug & Gphoto2 to get the photos off of it, lately hotplug is locking up repeatedly and i give up, i have a Win98 install in another disk partition for using this camera, in Win98 i simply plug in the camera and Win98 seems to mount it and assigns it a drive letter (E:) so it seems this should work this way in Slackware-10.1 too.

i need details for what to enter in to fstab to make this possible, and i am using the bare.i stock kernel, would i need to install a scsi kernel?

thanks for any info.

geletine 06-24-2005 04:46 PM

have you tried

mkdir /mnt/camera
mount -t vfat /dev/sda1 /mnt/camera
cd /mnt/camera
mkdir /home/user/photos
cp -r /mnt/camera /home/user/photos

and then use gqview,feh to few the files in /home/user/photos

umount /mnt/camera
will umount the camera

i tend not too use fstab as the camera is not connected all the time, and the mount point changes depending on what is inserted first if you have other usb devices like a printer that you want to use at the same time as the camera, aless you use udev, then your guaranteed the mount point will always be the same.

Okie 06-24-2005 05:13 PM

Thanks, i will give it a try and post my results :)

Okie 06-24-2005 08:01 PM

nope, i think because i used the bare.i kernel that it wont recognise scsi, i like my slackware install too much to want to fiddle with it right now (maybe later) and i only keep Win98 for things like this anyway (camera) and since i do not trust Windoze to connect to the internet i never installed the drivers for my NIC card in it, maybe when Slackware-11 comes out i will use a scsi compiled kernel and give it another shot, seems that a digital camera should be able to be mounted like a USB pen drive...

in the mean time i will do my homework and see what my options are :study:

Thanks again

geletine 06-25-2005 05:17 AM

i use the bare.i compile kernal and can use a digital camera...
what is the error?

/dev/sda1, might not be your camera mount point

when you have connected the camera type

dmesg

and from the information apply the correct mount point using the commands i told you

Okie 06-25-2005 06:57 AM

ok, i will give it another shot, i completely forgot dmesg :eek:

Okie 06-25-2005 07:17 AM

nope again, i even double checked /etc/rc.d/rc.modules to see what USB items were uncommented, and dmesg showed my USB ports, just no new drives or mass storage devices, the only mention of scsi was emulation for my CD burner...

slackist 06-25-2005 07:34 AM

Open a console window and enter (as root)
Code:

tail -f /var/log/messages
Then plug in the camera, and switch it on ;) and see if any messages come up. If they do they should tell you how Slackware is seeing the camera and what device it is sda1, sdb etc

Okie 06-25-2005 10:22 AM

Jun 25 10:18:43 linux kernel: hub.c: new USB device 00:11.2-1, assigned address 2
Jun 25 10:19:15 linux kernel: Initializing USB Mass Storage driver...
Jun 25 10:19:15 linux kernel: usb.c: registered new driver usb-storage
Jun 25 10:19:15 linux kernel: USB Mass Storage support registered.

i guess it can be mounted as a mass-storage device, i would sure like to mount it which is a much more preferable way of accessing photos than that evil hotplug.

but fdisk -l does not register any scsi or sda or any other scsi drives, same with cfdisk.

keefaz 06-25-2005 10:25 AM

maybe try modprobe sd_mod before plug in the camera

shepper 06-25-2005 11:15 AM

If your camera used to work with gphoto2 it may be that it needs a specific driver to function. Not all
cameras mount as mass storage devices. There would be no need for the Gphoto2 project if all cameras
mounted as mass storage devices.

You did not provide the model number of your Kodak camera but given that it use to work with gphoto2 I wonder if it needs a driver. You may be compounding the problem by mounting it as a mass storage device which ties up the device/usb port.

Hotplug/udev had some problems with the 2.6 kernel series a couple months ago and I do not know if they were resolved. I am using gphoto2/libgphoto2 2.1.6/gtkam0.1.12 with kernel 2.4.31 and have no problems mounting usb thumb drives and/or my Canon S10 via the usb port.


All times are GMT -5. The time now is 07:34 PM.