LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-24-2005, 08:13 AM   #1
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
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.
 
Old 06-24-2005, 04:46 PM   #2
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 06-24-2005, 05:13 PM   #3
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Original Poster
Rep: Reputation: 187Reputation: 187
Thanks, i will give it a try and post my results
 
Old 06-24-2005, 08:01 PM   #4
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Original Poster
Rep: Reputation: 187Reputation: 187
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

Thanks again
 
Old 06-25-2005, 05:17 AM   #5
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
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
 
Old 06-25-2005, 06:57 AM   #6
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Original Poster
Rep: Reputation: 187Reputation: 187
ok, i will give it another shot, i completely forgot dmesg
 
Old 06-25-2005, 07:17 AM   #7
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Original Poster
Rep: Reputation: 187Reputation: 187
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...
 
Old 06-25-2005, 07:34 AM   #8
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
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
 
Old 06-25-2005, 10:22 AM   #9
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Original Poster
Rep: Reputation: 187Reputation: 187
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.
 
Old 06-25-2005, 10:25 AM   #10
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
maybe try modprobe sd_mod before plug in the camera
 
Old 06-25-2005, 11:15 AM   #11
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Can't Mount Kodak Digital Camera Dooley Mandriva 4 12-18-2004 12:52 PM
can mount mount digital camera but gphoto can't detect it luxitan Linux - Hardware 1 11-13-2004 05:16 AM
digital camera to cd poof! Linux - Software 3 11-07-2004 08:00 PM
Unable to mount usb digital camera mad_ady Linux - General 11 09-01-2004 02:24 PM
Digital Camera Insomnia Linux - General 2 08-29-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration