LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Canon PowerShot A60 - Usb mass storage (https://www.linuxquestions.org/questions/linux-hardware-18/canon-powershot-a60-usb-mass-storage-120537/)

atlesn 11-27-2003 03:40 PM

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?

spurious 11-27-2003 09:39 PM

(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).

duelly 11-28-2003 02:59 AM

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

atlesn 11-28-2003 10:54 AM

duelly: yes, but that does not work either

frank2 12-24-2003 05:21 PM

i have the same cam, and the same problem :S

Mike Mehl 12-28-2003 11:51 PM

spurious:

Thanks for the post. It worked perfectly with my Olympus C-5000, another USB Mass Storage Device.

Crito 12-29-2003 01:08 AM

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

maxrussell 10-20-2004 03:47 PM

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?

spurious 10-20-2004 11:48 PM

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.


All times are GMT -5. The time now is 02:33 AM.