You are not logged in.

#1 2006-05-22 20:33:49

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Canon IXUS 60 [SOLVED] [FIXED IN CVS]

I bought myself a ${subj} today and can't connect it. dmesg says it's usb device, but /dev/sd* don't appear, digikam can detect it but refuses to connect. Any ideas?

P.S. Will all-in-one card reader solve my problem easier? How do they work on linux?


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#2 2006-05-22 22:52:13

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

Hi,

you have to use libgphoto2 to connect to your camera. There are serveral frontends for this library, for example digikam. This is the only way to connect to the camera.

Did you tried it as root,too? Are you in the group "camera"?

Greets

dojo

Offline

#3 2006-05-23 04:38:37

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

[stalwart@angel ~]$ cat /etc/group | grep cam
camera:x:97:stalwart

digikam refuses with strange error


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#4 2006-05-23 06:52:43

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

I have a IXUS 50 and needed libgphoto2 2.1.99 version with this patch applied to connect via f-spot (gtkam worked however with the 2.1.6 version roll, don't know about digikam). You might want to try it.

Offline

#5 2006-05-23 07:20:59

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

As you can see here you camera ist not supported. So you have to modify the source code. In some cases it is sufficient to add the manufacturer id and the device id to the relevant header file. This works for me after buying a Ixus 430, which was not supported at this time.

Greets

dojo

Offline

#6 2006-05-23 09:08:12

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

Thanks, i'll try roll


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#7 2006-05-23 10:42:02

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

12:25:05 --> Stalwart (n=stalwart@our.uninet.lv) зашёл на канал #gphoto
<12>> i bought canon ixus 60 yesterday and it doesn't work in digikam (gphoto powered)
12:26:38 Stalwart >> can i help adding support of my cam?
<12>> can you run "lsusb" so we have the id for our DB?
12:59:58 Stalwart >> [stalwart@angel usb]$ lsusb
12:59:59 Stalwart >> Bus 003 Device 001: ID 0000:0000
12:59:59 Stalwart >> Bus 002 Device 002: ID 04fc:0013 Sunplus Technology Co., Ltd
12:59:59 Stalwart >> Bus 002 Device 001: ID 0000:0000
13:00:00 Stalwart >> Bus 001 Device 004: ID 04a9:311c Canon, Inc.
13:00:00 Stalwart >> Bus 001 Device 001: ID 0000:0000
<13>> marcusmeissner * r8814 /trunk/libgphoto2/camlibs/ptp2/library.c: added IXUS 60.
<13>> thank you all
13:28:29 _Marcus_ >> no worries. smile


Patched udev rules a bit and now it works big_smile

P.S. In next gphoto release ixus60 will work out-of-box

P.P.S. UTF-8 support on forum is broken? roll


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#8 2006-05-23 10:48:23

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

If the camera is working in "PTP" or "normal" mode (since digikam can see it it's very possible) you should try finding vendor and product IDs for your cam and add it to udev rules.

In PTP/normal mode there is no /dev/sd* link because it works directly through /dev/bus/usb/... and not as an usb storage device.

Plug-in your camera and run lsusb. It should list product and vendor ids next to the camera name.

Install libgphoto2 with pacman and make sure you're using latest udev.

Go to /etc/udev/rules/libgphoto.rules and add another line for your cam with proper vendor and product id from lsusb. Unplug the cam and run as root /etc/udevstart. Add your user to the camera group and plug the camera in again.

Run lsusb again and check which usb bus is the camera connected to. Then go to /dev/usb/bus/X/Y and check if it has root:camera permissions.

If everything works fine run digikam and rescan for your camera. You shold be able to run it as a regular user now.

It's important to have latest udev and libgphoto packages because they now work with /dev (previosuly they worked with /proc) and the udev rules are different.

Offline

#9 2006-05-23 10:53:09

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Canon IXUS 60 [SOLVED] [FIXED IN CVS]

Thanks. Did it just before the post. ixus60 id added to gphoto library in cvs big_smile


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

Board footer

Powered by FluxBB