Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   gtkam cannot initialize Canon camera in Squeeze Testing (http://www.linux-archive.org/debian-user/466389-gtkam-cannot-initialize-canon-camera-squeeze-testing.html)

Chris Lale 12-16-2010 12:54 PM

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
deprecated.

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,
idProduct=3184
[1133220.383721] usb 2-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[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
2
/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.
--
Chris Lale.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D0A1A0A.2000007@untrammelled.co.uk">http://lists.debian.org/4D0A1A0A.2000007@untrammelled.co.uk


All times are GMT. The time now is 09:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.