LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-18-2003, 09:52 PM   #1
persianp
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
digital camera issues


Hi,
I'm running Mandrake 9.1, and using the 2.4.22-6mdk kernel.
I'm trying to mount pictures from my newly purchased olympus c-750uz. I've read on some other sites that you should be able to mount directly from the camera, but i havent been able to do that. I believe that using usb as a mass storage device is available, but i dont know how to check, since I'm a newbie. I've tried mounting the images using:

mount -t vfat /dev/sda1 /mnt/camera

after having made the /mnt/camera directory, but the terminal just seems to hang after that command. The computer recognizes that the camera is there, ive checked the usb devices option in kde and it shows up...but maybe it doesnt work because its hooked up through a hub...any insights would be grealty appreciated, thanks.
 
Old 10-18-2003, 10:18 PM   #2
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
have you checked with dmesg | grep usb to be sure that it's assigned to /dev/sda1?
 
Old 10-19-2003, 01:30 AM   #3
persianp
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Im a newbie so when i type dmesg (i cant type dmesg | grep) it scrolls a huge list of things, how do i know if its assigned?
 
Old 10-19-2003, 07:57 AM   #4
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
type "dmesg | grep usb | more" then look for when it talks about your digital camera. (The "|" symbol is not a letter, but a straight up and down line. If you cann't find it, copy and paste to the terminal window.....the terminal can only paste by clicking edit at the top of it and clicking paste)
 
Old 10-19-2003, 10:08 AM   #5
persianp
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
This is what it says (I dont see anything regarding the camera):

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 18:27:09 Sep 7 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xa800, IRQ 12
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb-uhci.c: USB UHCI at I/O 0xac00, IRQ 12
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
usb.c: registered new driver usblp
usb.c: USB device 3 (vend/prod 0x6a3/0x109) is not claimed by any active driver.
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0
pid 0x1604
usb.c: USB device 5 (vend/prod 0x9da/0x6) is not claimed by any active driver.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb-uhci.c: interrupt, status 2, frame# 1261
usb.c: registered new driver usbmouse
usb_control/bulk_msg: timeout
input: USB HID v1.00 Joystick [SAITEK P880] on usb1:3.0
input: USB HID v1.00 Mouse [A4Tech USB Optical Mouse] on usb1:5.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: USB device 6 (vend/prod 0x7b4/0x105) is not claimed by any active driver.
usb.c: registered new driver usb-storag

possibly the usb storage is it? Thanks for your help.
 
Old 10-19-2003, 03:28 PM   #6
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
who makes your camera? Do you know the model?
 
Old 10-19-2003, 06:14 PM   #7
persianp
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
its an olympus c-750uz
 
Old 10-19-2003, 06:24 PM   #8
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
I believe you should type what it says after you type dmesg | grep usb without the | more part
 
Old 10-19-2003, 06:50 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I don't really know the setup menus of the Olympus cameras, but my coolpix worked out of the box with a trip to ghoto2. Under camera setup menu (on the camera itself) I have a choice b/w USB mass storage device or PTP device I set it up as PTP, double check if your camera has such options and if you are trying to get it as an USB mass storage device make sure it is set to USB mass storage device.
Good luck.
 
Old 10-19-2003, 06:52 PM   #10
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
such dependance on gui's.... What is the world coming to? Why not do a more reliable device mount?
 
Old 10-19-2003, 07:10 PM   #11
404
Member
 
Registered: Mar 2002
Location: USA
Distribution: slackware; what else is there?
Posts: 30

Rep: Reputation: 15
i have a olympus D-40 and after modprobing usbcore and having the camera off i push the roundish rectangle button like you were to view the images while your camera is off and then mount -t vfat /dev/sda1 /mnt/sda and it goes to command prompt again then you can cd /mnt/sda/<tab>/<tab>/ and see your images and mv or cp or rm etc if that doesnt work maybe your particular distribution doesnt load the usb-storage module, try it manually by modprobe usb-storage see if that helps you at all
 
Old 10-20-2003, 01:43 AM   #12
persianp
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks 404, your recomendation worked. I finally accessed my camera!...although the modprobe didnt work, I just needed to add the final part to the mount command, but instead of mount -t vfat /dev/sda1 /mnt/sda/ I did it to /mnt/camera, which worked swimmingly (lovely adjective, hope I spelled it right). Anyways, I then just tabbed into the directory, and voila, images, I then just copied them to my home directory.
Just one question though, when I mount the images, do they remain in that directory even when the camera is disconnected?
Thanks for all your help and support you guys.
 
Old 10-20-2003, 07:53 AM   #13
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
That depends on what you mean by "left in the directory". If you don't delete them, and then unmount, then they are still on the camera, and will be there the next time. after you unmount your camera though, the files in the directory won't be there. By the way, if you want an easier way to mount those files, add the following line to /etc/fstab as root:

/dev/sda1 /mnt/camera vfat noauto 0 0

then you can just type mount /mnt/camera to get your pictures mounted.
 
Old 10-20-2003, 11:44 AM   #14
persianp
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
So being a newbie I still have a question about editing the fstab. Do I delete this line which is already in it and then add the line you suggested rod:

/dev/sda1 /mnt/camera auto user,exec,noauto,umask=0,codepage=850,iocharset=iso8859-1,kudzu 0 0

or do I just add the line; basically I'm wondering if the two lines will conflict.

And when I add this line, will I still have to unmount the camera?
Thanks for the tip
(I just realized I dont know how to unmount, after trying the command :
unmount -t vfat /dev/sda1/
what is the command to unmount?)

Last edited by persianp; 10-20-2003 at 11:49 AM.
 
Old 10-20-2003, 02:25 PM   #15
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
It appears the kudzu already added that line for you, so you don't need to change fstab. To mount your camera now, type:

mount /mnt/camera

to unmount it, type:

umount /mnt/camera

besure you have it turned on and everything first though...
 
  


Reply



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
digital camera UGT001 Linux - General 5 11-21-2004 12:28 PM
digital camera to cd poof! Linux - Software 3 11-07-2004 08:00 PM
two usb issues, digital camera only as root and scanner module not found nedwardss Debian 2 10-20-2004 06:23 AM
Digital Camera (NOW!!!!) DropSig Linux - Hardware 1 09-13-2004 12:25 AM
Have you got a digital camera? Calum Linux - Hardware 19 03-01-2004 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:13 AM.

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