LinuxQuestions.org
Visit Jeremy's Blog.
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 11-27-2003, 04:40 PM   #1
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110

Rep: Reputation: 15
Question Canon PowerShot A60 - Usb mass storage


I have this Canon PowerShot A60 digital camera, and was wondering how I make the kernel identify it as a usb mass storage device, so I can mount the cf-card and get the contents. I'm running RedHat 9 with 2.4.20-20.9smp kernel.

This is what I get in /var/log/messages when I connect my camera:

Nov 27 22:36:50 pc1 kernel: hub.c: new USB device 00:1d.0-2, assigned address 1
Nov 27 22:36:50 pc1 kernel: usb.c: USB device 1 (vend/prod 0x4a9/0x3074) is not claimed by any active driver.
Nov 27 22:36:53 pc1 /etc/hotplug/usb.agent: ... no modules for USB product 4a9/3074/1

when i disconnect it:

Nov 27 22:38:27 pc1 kernel: usb.c: USB disconnect on device 00:1d.0-2 address 1
Nov 27 22:38:27 pc1 kernel: ide-floppy driver 0.99.newide
Nov 27 22:38:27 pc1 modprobe: modprobe: Can't locate module ide-disk
nov 27 22:38:28 pc1 devlabel: devlabel service started/restarted

How can I compile the kernel to support the camera?
 
Old 11-27-2003, 10:39 PM   #2
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
(Disclaimer: not a Red Hat user nor a Canon Powershot owner, so this is my best guess.)

Your kernel probably has support for it already. You can peruse your /boot/config file to see if you have usb_storage enabled (under the USB Class Drivers section).

Usually, these things are detected with SCSI emulation. If you see /proc/scsi/usb-storage-0 while your camera is connected, then you can probably mount it. cat the files under /proc/scsi/usb-storage-0 and cat /proc/scsi/scsi. These files indicate how your camera is identified.

If your camera is detected as /dev/sda, try mount -t vfat /dev/sda1 /mnt/camera (mkdir /mnt/camera first).

Last edited by spurious; 11-27-2003 at 10:40 PM.
 
Old 11-28-2003, 03:59 AM   #3
duelly
LQ Newbie
 
Registered: Sep 2003
Distribution: ArchLinux
Posts: 10

Rep: Reputation: 0
atlesn,

Have you tried gtkam?

I have a Powershot G3 and gtkam is a fantastic app to use to transfer your pictures. I had a look in the gtkam database and your A60 is supported.

Follow the docs at http://gphoto.sourceforge.net/doc/manual/ and you should be set.

duelly
 
Old 11-28-2003, 11:54 AM   #4
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110

Original Poster
Rep: Reputation: 15
duelly: yes, but that does not work either
 
Old 12-24-2003, 06:21 PM   #5
frank2
LQ Newbie
 
Registered: Dec 2003
Posts: 14

Rep: Reputation: 0
i have the same cam, and the same problem :S
 
Old 12-29-2003, 12:51 AM   #6
Mike Mehl
LQ Newbie
 
Registered: Jul 2003
Distribution: Fedora Core 3
Posts: 11

Rep: Reputation: 0
spurious:

Thanks for the post. It worked perfectly with my Olympus C-5000, another USB Mass Storage Device.
 
Old 12-29-2003, 02:08 AM   #7
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
I use a USB pen drive adaptor for CF cards. Think I bought it on eBay for under $20. Anyway, I don't have to worry whether the camera, or MP3 player, or whatever, is supported directly. Works without any special drivers under Linux and Windows. A whole lot easier to carry around when I just need a portable storage device too. Plus I can upgrade it instead of having to buy another pen drive. Takes any size CF as well as microdrives.

Picture of CF to Pen Drive Adaptor

Last edited by Crito; 12-29-2003 at 02:17 AM.
 
Old 10-20-2004, 04:47 PM   #8
maxrussell
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSe 9.0
Posts: 5

Rep: Reputation: 0
FAO spurious

Hi-

Your advice seemed to work; I can access an Olympus C-5000 like a USB drive (at least that is how it appears..)

Anyway, a couple of questions.
1) I have a link to the camera on my Desktop that is an executable file, containing the mount command and mountpoint as you described. Rather than having another file to unmount in a similar fashion, could you suggest a more elegant solution?

2) I have a camera link which opens the directory (i.e the camera) after linking to the camera (above)- could I incorporate that with step 1) somehow?
 
Old 10-21-2004, 12:48 AM   #9
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
maxrussell:

It depends on your desktop: KDE, Gnome, etc. KDE allows you to have drive icons that mount/unmount; boot a Knoppix LiveCD for an example of this on KDE.

However, I'm mostly a fluxbox guy, so I can't help you much with this.
 
  


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
USB recognition in Debian, and Canon Powershot A510 help jclu Linux - Hardware 5 05-21-2005 12:49 PM
newbie: usb mass storage, powershot a80 kinderbrunnen Linux - Hardware 3 02-21-2004 08:55 AM
USB mass storage Roy-Svork Linux - Hardware 9 09-24-2003 05:34 PM
USB Mass Storage Zebee Linux - Hardware 2 08-03-2003 09:17 PM
usb mass storage Erwan Linux - Hardware 6 07-08-2003 06:39 PM

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

All times are GMT -5. The time now is 07:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration