Unix Technical Forum

Using gphoto2 with a Canon Optura 20

This is a discussion on Using gphoto2 with a Canon Optura 20 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I am trying to get my Canon Optura 20 to be recognized by gphoto2 on my Slackware 10.2 box. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 02:38 PM
Augustus SFX van Dusen
 
Posts: n/a
Default Using gphoto2 with a Canon Optura 20

I am trying to get my Canon Optura 20 to be recognized by gphoto2 on my
Slackware 10.2 box. When I plug it into a USB port, the kernel prints the
following in my messages file:

Feb 15 21:16:39 MyBox kernel: usb 3-2: new full speed USB device
using uhci_hcd and address 4

whereas in syslog I have

Feb 15 21:16:40 MyBox kernel: usb 3-2: khubd timed out on ep0in

After this, if I do cat /proc/bus/usb/devices, one of the entries printed
out is

T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=04a9 ProdID=307f Rev= 0.01
S: Manufacturer=CANON Inc.
S: Product=Canon DVC
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=96ms

I guess this means that the device has been recognized all right.
In addition, gphoto2 --list-ports returns

Devices found: 1
Path Description
--------------------------------------------------------------
usb: Universal Serial Bus

However, gphoto2 --auto-detect can't recognize the camera. What I am
missing? The syslog entry does not look good, but I have no clue of its
meaning. I am running a 2.6.11 kernel.

Suggestions, anyone?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 02:38 PM
seb666fr2@yahoo.fr
 
Posts: n/a
Default Re: Using gphoto2 with a Canon Optura 20

to be able to use (lib)gphoto2 the following steps must be
accomplished :

+ ensure that the hotplug is able to recognize the supported cameras.
This step must be achieved with the following command :

$ /usr/lib/libgphoto2/print-usb-usermap >
/etc/hotplug/usb/usbcam.usermap

+ if necessary, create the group 'camera' with the command below. This
is needed to
be able to restrict the access to the cameras which will be
connected to the workstation :

$ groupadd -g 222 camera

+ add to the group 'camera' all the users who will be authorized to
access to
the cameras who will be used.

+ Copy the script usbcam.group (which is in
/usr/share/doc/libgphoto2/linux-hotplug/
directory) in /etc/hotplug/usb/usbcam and make this one executable
:

$ cp /usr/share/doc/libgphoto2/linux-hotplug/usbcam.group
/etc/hotplug/usb/usbcam
$ chmod +x /etc/hotplug/usb/usbcam

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 02:38 PM
TuxRaider
 
Posts: n/a
Default Re: Using gphoto2 with a Canon Optura 20

http://www.gphoto.org/doc/manual/permissions-usb.html

give this a carefull read

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com