LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2005, 08:48 PM   #1
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Rep: Reputation: 30
canon power shot a95 not recognized


I am using a Canon POwer Shot A95 Digital Camera.
Linux hebrews 2.6.12 #11 Fri Sep 23 21:18:06 EDT 2005 i686 GNU/Linux
It doesn't show up in cat /proc/bus/usb/devices
but in
tail /var/log/messages
Sep 23 21:31:56 hebrews gconfd (epjh-1074): starting (version 2.10.1), pid 1074 user 'epjh'
Sep 23 21:31:57 hebrews gconfd (epjh-1074): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Sep 23 21:31:57 hebrews gconfd (epjh-1074): Resolved address "xml:readwrite:/home/epjh/.gconf" to a writable configuration source at position 1
Sep 23 21:31:57 hebrews gconfd (epjh-1074): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2

Do you need more info? Can you suggest anything?
 
Old 09-24-2005, 05:04 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Please say what you are doing to access the camera, what you expected to happen, ... and so forth.

From your post, you have attempted to use it as a mass storage device.
So you need the mass storage drivers installed - and you must make sure the camera is in the correct "mode".

lsmod | grep usb

It is not clear what the last few messages have to do with the camera - it's not identified there either.

Most of these cameras also have pictbridge and PTP modes. If you set PTP mode, you can use the camera with a frontend like gPhoto. Looking through the HCL (did you do this?), your camera is not present, but almost all the canon cameras will not be detected as a usb mass-storage device... however all of them will work under gPhoto2.

If the camera has removable media - you can easily use a media reader to retrieve your photos, even automating the process with a script.

When you have this going, add it to the HCL list under cameras > canon
 
Old 09-24-2005, 12:48 PM   #3
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
I have the camera turned on , and connected to a USB port.
I installed libgphoto2-2; libgphoto2-2-dev; and libgphoto2-port0.
I chose PTP mode, and I got no message when I clicked "Detect Camera" on gtkam. When I tried to "Apply" it said that it couldn't initialize the camera.
cat /proc/bus/usb/devices still shows no camera.
 
Old 09-24-2005, 03:44 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
That's what I get (for reference):
Code:
Sep 24 22:45:05 mara kernel: usb 1-1: new full speed USB device using address 3
Sep 24 22:45:07 mara usb.agent[29218]:      libgphoto2: loaded successfully
Which modules you have loaded? List especially usb-related ones.

What do you have in /etc/hotplug/usb? I have libgphoto2 (short script) and libgphoto2.usermap
 
Old 09-24-2005, 04:48 PM   #5
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
canon power shot a95

Why do you suppose that lsmod reveals nothing?
hebrews:/etc/hotplug/usb$ ls
libgphoto2 libgphoto2.usermap
 
Old 09-24-2005, 07:57 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Why do you suppose that lsmod reveals nothing?
Since nobody is supposing that lsmod reveals nothing, I guess you must be trying to tell us that you type /sbin/lsmod and get no output?

This is not exactly impossible (all the modules could have been compiled into the kernel I guess...) but very unlikely for any Linux that is running.

Perhaps you mean to say that /sbin/lsmod | grep usb returns nothing? In this case, it means you do not have usb drivers loaded - thus you cannot detect any usb systems. (Do you have any other usb thingies at all, besides the camera?)

I'll give you an example:

Code:
[~]$ /sbin/lspci | grep USB
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller

[~]$ /sbin/lsmod | grep usb
usb_storage            73865  0
scsi_mod              148617  2 sd_mod,usb_storage

[~]$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usb 1-3: new high speed USB device using ehci_hcd and address 3
usb 3-1: new full speed USB device using ohci_hcd and address 2
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
usb-storage: device scan complete

[~]$ dmesg | grep USB
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
PCI0 USB0 USB1 USB2 AMR0 UAR1 UAR2
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:03.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
usb 1-3: new high speed USB device using ehci_hcd and address 3
usb 3-1: new full speed USB device using ohci_hcd and address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
USB Mass Storage support registered.

[~]$ ls /etc/hotplug/usb
libsane.usermap  libusbscanner  usbcam

[~]$
Note how ls was used? Your use: hebrews:/etc/hotplug/usb$ ls - seems odd to me.

Finally: plaese put your distro and location in your profile, so it shows on the left (like mine). Thanx.

Last edited by Simon Bridge; 09-24-2005 at 08:07 PM.
 
Old 09-24-2005, 08:51 PM   #7
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
hebrews:~$ uname -a
Linux hebrews 2.6.12 #1 Sat Sep 24 21:16:50 EDT 2005 i686 GNU/Linux

I put .config in a safe place; did a make mrproper; and then recompiled the kernel.

I have an HP officejet 5510 printer on a USB port. (turned on)

hebrews:~$ /sbin/lspci | grep USB
bash: /sbin/lspci: No such file or directory

hebrews:~$ /sbin/lsmod | grep usb
hebrews:~$ (NO OUTPUT)

hebrews:~$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbmon: debugs is not available
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller
usb usb1: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb1: SerialNumber: 0000:00:02.2
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: no power switching (usb 1.0)
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb usb2: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb2: SerialNumber: 0000:00:02.3
usb usb2: adding 2-0:1.0 (config #1, interface 0)
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: no power switching (usb 1.0)
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new driver usb-storage
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: ep0 maxpacket = 8
usb 1-1: default language 0x0409
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: officejet 5500 series
usb 1-1: Manufacturer: hp
usb 1-1: SerialNumber: MY381B202Q96
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usbserial_generic 1-1:1.0: usb_probe_interface
usbserial_generic 1-1:1.0: usb_probe_interface - got id
usb 1-1: adding 1-1:1.1 (config #1, interface 1)
usblp 1-1:1.1: usb_probe_interface
usblp 1-1:1.1: usb_probe_interface - got id
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3A11
drivers/usb/core/file.c: looking for a minor, starting at 0
usb 1-1: adding 1-1:1.2 (config #1, interface 2)
usbserial_generic 1-1:1.2: usb_probe_interface
usbserial_generic 1-1:1.2: usb_probe_interface - got id

hebrews:~$ dmesg | grep USB
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:02.2: Silicon Integrated Systems [SiS] USB 1.0 Controller
ohci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.2: supports USB remote wakeup
usb usb1: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller
hub 1-0:1.0: USB hub found
ohci_hcd 0000:00:02.3: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
ohci_hcd 0000:00:02.3: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.3: supports USB remote wakeup
usb usb2: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
hub 2-0:1.0: USB hub found
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
usb 1-1: new full speed USB device using ohci_hcd and address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3A1

hebrews:~$ ls /etc/hotplug/usb
libgphoto2 libgphoto2.usermap
 
Old 09-24-2005, 09:03 PM   #8
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
This is with the Canon camera hooked up and turned on.

hebrews:~$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbmon: debugs is not available
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller
usb usb1: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb1: SerialNumber: 0000:00:02.2
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: no power switching (usb 1.0)
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb usb2: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb2: SerialNumber: 0000:00:02.3
usb usb2: adding 2-0:1.0 (config #1, interface 0)
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: no power switching (usb 1.0)
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new driver usb-storage
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: ep0 maxpacket = 8
usb 1-1: default language 0x0409
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: officejet 5500 series
usb 1-1: Manufacturer: hp
usb 1-1: SerialNumber: MY381B202Q96
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usbserial_generic 1-1:1.0: usb_probe_interface
usbserial_generic 1-1:1.0: usb_probe_interface - got id
usb 1-1: adding 1-1:1.1 (config #1, interface 1)
usblp 1-1:1.1: usb_probe_interface
usblp 1-1:1.1: usb_probe_interface - got id
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3A11
drivers/usb/core/file.c: looking for a minor, starting at 0
usb 1-1: adding 1-1:1.2 (config #1, interface 2)
usbserial_generic 1-1:1.2: usb_probe_interface
usbserial_generic 1-1:1.2: usb_probe_interface - got id
usb 1-2: new full speed USB device using ohci_hcd and address 3
usb 1-2: ep0 maxpacket = 32
usb 1-2: default language 0x0409
usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2: Product: Canon Digital Camera
usb 1-2: Manufacturer: Canon Inc.
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
usbserial_generic 1-2:1.0: usb_probe_interface
usbserial_generic 1-2:1.0: usb_probe_interface - got id
usb 1-2: USB disconnect, address 3
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface 1-2:1.0
usb 1-2: unregistering device

hebrews:~$ dmesg | grep USB
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:02.2: Silicon Integrated Systems [SiS] USB 1.0 Controller
ohci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.2: supports USB remote wakeup
usb usb1: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller
hub 1-0:1.0: USB hub found
ohci_hcd 0000:00:02.3: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
ohci_hcd 0000:00:02.3: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.3: supports USB remote wakeup
usb usb2: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
hub 2-0:1.0: USB hub found
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
usb 1-1: new full speed USB device using ohci_hcd and address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3A11
usb 1-2: new full speed USB device using ohci_hcd and address 3
usb 1-2: USB disconnect, address 3
 
Old 09-24-2005, 10:00 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
hmmm ... try that lsmod without the grep - lets see all those modules.

Basically, it should show the usbhid (usb keyboard and mouse?) as well as usblp (for the printer). It may be saying that /sbin/lsmod does not exist?

lspci and lsmod are basic linux tools - see their man pages. You must find these. If they are not in your system, then your system may be broken!? Or maybe you just have to install them. (Also see if you have modprobe.)

When I plug my camera in I get:
usb 1-1: new high speed USB device using ehci_hcd and address 4
... added to dmesg.

When I unplug it again I get:
usb 1-1: USB disconnect, address 4
... added to dmesg.

You get:
usb 1-2: new full speed USB device using ohci_hcd and address 3
usb 1-2: USB disconnect, address 3
... from plugging the camera in (you didn't disconnect it before doing dmesg did you?)

This is telling you that the machine is disconnecting your camera right after connecting it. It may be getting confused... have you tried (a) without the printer or (b) under normal mode?
 
Old 09-24-2005, 10:05 PM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
hebrews:~$ uname -a
Linux hebrews 2.6.12 #1 Sat Sep 24 21:16:50 EDT 2005 i686 GNU/Linux

"hebrews" is the computer name
2.6.12 is the kernel version

but what is the distro you are using?

eg. for me, uname -a gives:
[~]$ uname -a
Linux indigo-prime 2.6.12-1.1447_FC4 #1 Fri Aug 26 20:29:51 EDT 2005 i686 i686 i386 GNU/Linux

But my distro is Fedora Core 4.

You should put this and your location in your profile: helps people help you.
 
Old 09-25-2005, 10:06 AM   #11
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
This morning I did an update, and upgrade. Now, when I hook up the Camera (off or on) to the USB port, I lose control of the mouse; and the keyboard.(They freeze up)
 
Old 09-25-2005, 12:19 PM   #12
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
I installed the Canon software on Windows (I have a dual-boot system); and after some trial and error; plus loading a driver for it; I got it to work. I remembered reading that having another USB hooked up might foul things up (I disconnected the printer).

Now, I get this
hebrews:~$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbmon: debugs is not available
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller
usb usb1: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb1: SerialNumber: 0000:00:02.2
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: no power switching (usb 1.0)
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb usb2: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb2: SerialNumber: 0000:00:02.3
usb usb2: adding 2-0:1.0 (config #1, interface 0)
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: no power switching (usb 1.0)
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: ep0 maxpacket = 8
usb 1-1: default language 0x0409
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: officejet 5500 series
usb 1-1: Manufacturer: hp
usb 1-1: SerialNumber: MY381B202Q96
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1: adding 1-1:1.1 (config #1, interface 1)
usb 1-1: adding 1-1:1.2 (config #1, interface 2)
usblp 1-1:1.1: usb_probe_interface
usblp 1-1:1.1: usb_probe_interface - got id
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3A11
drivers/usb/core/file.c: looking for a minor, starting at 0
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new driver usb-storage
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbserial_generic 1-1:1.0: usb_probe_interface
usbserial_generic 1-1:1.0: usb_probe_interface - got id
usbserial_generic 1-1:1.2: usb_probe_interface
usbserial_generic 1-1:1.2: usb_probe_interface - got id
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
usb 1-1: USB disconnect, address 2
usb 1-1: usb_disable_device nuking all URBs
usb 1-1: unregistering interface 1-1:1.0
usb 1-1: unregistering interface 1-1:1.1
drivers/usb/core/file.c: removing 0 minor
drivers/usb/class/usblp.c: usblp0: removed
usb 1-1: unregistering interface 1-1:1.2
usb 1-1: unregistering device
usb 1-1: new full speed USB device using ohci_hcd and address 3
usb 1-1: ep0 maxpacket = 32
usb 1-1: default language 0x0409
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: Canon Digital Camera
usb 1-1: Manufacturer: Canon Inc.
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usbserial_generic 1-1:1.0: usb_probe_interface
usbserial_generic 1-1:1.0: usb_probe_interface - got id

However gtkam still cannot initialize the camera.
 
Old 09-26-2005, 01:12 AM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
drivers/usb/class/usblp.c: usblp0: removed
usb 1-1: unregistering interface 1-1:1.2
usb 1-1: unregistering device
usb 1-1: new full speed USB device using ohci_hcd and address 3
usb 1-1: ep0 maxpacket = 32
usb 1-1: default language 0x0409
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: Canon Digital Camera
usb 1-1: Manufacturer: Canon Inc.
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usbserial_generic 1-1:1.0: usb_probe_interface
usbserial_generic 1-1:1.0: usb_probe_interface - got id

Great - there did seem to be a conflict between the camera and the printer.
You can see it unload the usblp module (printer ain't there)
Then register a new device - and read it's product name correctly.
The usb-serial driver successfully connects.

Something to try first.
Stick the camera in normal mode.
modprobe usb-storage
# mount -t vfat /dev/sda1 /media/camera

(or sdb1 or whatever the camera is on)

However - it looks like usb hotplugging may be enabled in your computer.
So you may find your camera automounted nicely.

If this don't work and you havn't found the camera with a manual mount,
then check gtkam list of supported cameras ... remember, I don't know that gtkam will detect this camera, but I'm fairly sure that gphoto2 will.

(You'll basically have to try different camera software, or remove the media card and read it directly.)
 
Old 09-26-2005, 02:33 PM   #14
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
What is the camera's "normal mode".
 
Old 09-26-2005, 04:16 PM   #15
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
hebrews:~$ modprobe usb-storage
bash: modprobe: command not found

hebrews:~$ /sbin/modprobe usb-storage
FATAL: Error inserting usb_storage (/lib/modules/2.6.12/kernel/drivers/usb/storage/usb-storage.ko): Operation not permitted

hebrews:~$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon PowerShot A95 (normal mode) usb:

hebrews:~$ gphoto2 --summary

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --summary

Please make sure there is sufficient quoting around the arguments.


hebrews:~$ gphoto2 --list-ports
Devices found: 1
Path Description
--------------------------------------------------------------
usb: Universal Serial Bus

hebrews:~$ gphoto2 --debug
0.000089 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.010532 main(2): gphoto2 2.1.6
0.016220 main(2): gphoto2 has been compiled with the following options:
0.021932 main(2): + gcc (C compiler used)
0.027439 main(2): + popt (for handling command-line parameters)
0.035135 main(2): + exif (for displaying EXIF information)
0.040704 main(2): + cdk (for accessing configuration options)
0.046277 main(2): + no aa (for displaying live previews)
0.051862 main(2): + jpeg (for displaying live previews in JPEG format)
0.057435 main(2): + readline (for easy navigation in the shell)
0.063038 main(2): libgphoto2 2.1.6
0.068565 main(2): libgphoto2 has been compiled with the following options:
0.074190 main(2): + gcc (C compiler used)
0.079686 main(2): + EXIF (for special handling of EXIF files)
0.085239 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.090839 main(2): + /proc/meminfo (adapts cache size to memory available)
0.096453 main(2): libgphoto2_port 0.5.1
0.104394 main(2): libgphoto2_port has been compiled with the following options:
0.110130 main(2): + gcc (C compiler used)
0.118105 main(2): + USB (for USB cameras)
0.123734 main(2): + serial (for serial cameras)
0.131385 main(2): + no resmgr (serial port access and locking)
0.137101 main(2): + no baudboy (serial port locking)
0.142662 main(2): + no ttylock (serial port locking)
0.148187 main(2): + no lockdev (serial port locking)
0.156136 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.162294 gp-camera(2): Freeing camera...
0.168013 gphoto2-port(2): Freeing port...
0.173660 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.179247 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.184888 gphoto2-filesystem(2): Internally deleting all folders from '/'...
 
  


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
gphoto2 can't detect canon powershot a95 $in Slackware 11 11-30-2005 04:58 AM
Canon S300 and GPL drivers from canon.jp flashf1re Linux - Hardware 1 02-27-2005 07:57 AM
cups, 2.6.7, lp0, canon s600, not recognized mipia Debian 5 12-30-2004 11:35 AM
problem with Canon LASER SHOT PRINTER makkintosh Linux - Hardware 6 10-24-2004 02:35 PM
s10sh - Cannon Power Shot Program ryanpsmith Linux - Newbie 2 12-14-2001 06:07 AM


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