[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gtkam cannot initialize Canon camera in Squeeze Testing

gtkam has stopped working after a dist upgrade in Squeeze (Testing). It
still works on my laptop. Both are running amd64 packages. The computer
with the problem is running software raid on two hard drives.

The camera used to work and is still detected correctly as "Canon
Digital IXUS 80 IS", but gtkam now halts with the error message "Could
not initialize camera." Running as root doesn't help. I installed
digikam which also detected the camera ("Canon Digital IXUS 80 IS - PTP
mode, autodetected") but failed to connect ("Failed to connect to the
camera. Please make sure it is connected properly and turned on. Would
you like to try again?")

I'm pretty sure that it is nothing to do with gtkam. Both computers are
running gtkam version 0.1.17-1. The version of libgphoto2-2 on the
working laptop is 2.4.6-1+b1, and the version on the computer not
working is 2.4.6-3.

I suspect it is something to do with libgphoto2-2 or USB mounting - udev
or HAL, perhaps? I'm not sure how to test these ideas.

This blog post [1] suggests mounting usbfs to /proc/bus/usb, but this is

The problem may have started after an upgrade in which there was an
irreversible step - I think it was the introduction of UUID for disc
drives. I don't know whether this could be significant.

dmesg shows this

[1133220.248076] usb 2-3: new high speed USB device using ehci_hcd and
address 22
[1133220.383712] usb 2-3: New USB device found, idVendor=04a9,
[1133220.383721] usb 2-3: New USB device strings: Mfr=1, Product=2,
[1133220.383728] usb 2-3: Product: Canon Digital Camera
[1133220.383733] usb 2-3: Manufacturer: Canon Inc.
[1133220.383737] usb 2-3: SerialNumber: 7A43A1E47EA744B69537151148EEA179
[1133220.383962] usb 2-3: configuration #1 chosen from 1 choice

and a zero length file /dev/bus/usb/07/22 is created.

My /etc/fstab looks like this:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/mapper/vg00-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/md0 during installation
UUID=6d98ba56-b396-4651-affe-62795fa98a8e /boot           ext4
defaults     $
/dev/mapper/vg00-home /home           ext4    defaults        0       2
/dev/vg00/home-backup /home-backup           ext4    defaults        0
/dev/mapper/vg00-swap none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0

Any suggestions would be appreciated.

[1] http://manwe.elfove.cz/~brill/blog/

Chris Lale.

Reply to: