Re: Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE

2005-03-07 Thread Ramiro Aceves
Chris Hill wrote:
On Sun, 6 Mar 2005, Roland Smith wrote:
On Sun, Mar 06, 2005 at 07:48:16PM +0100, Olivier Certner wrote:
I've tried to download a few pics from my Canon Ixus v2 camera with
libgphoto2 (frontends: kamera and gphoto2) without success. The 
camera is
supported though, I even used libgphoto2 successfully on a Linux 
system with
an older version of the lib (which I don't remember!).

In dealing with digital cameras, I've always found it easier to try and
mount them as a USB drive (via umass / da), which a lot of them
support. If you hook up the camera, is there any mention of a umass
device in dmesg? If so you can just mount it as a harddisk.

Thanks.
As far as I know, my Canons D-30 and A80 do not work as umass storage 
devices, so I need gphoto2 software in order to get the pictures :-(

Ramiro.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE

2005-03-06 Thread Olivier Certner
Hi there,

I've tried to download a few pics from my Canon Ixus v2 camera with 
libgphoto2 (frontends: kamera and gphoto2) without success. The camera is 
supported though, I even used libgphoto2 successfully on a Linux system with 
an older version of the lib (which I don't remember!).

I've tried to add several traces to libgphoto2 to see where the problem 
was 
happening. I get as deep as usb_bulk_read but I haven't investigated further 
at the moment. libusb, libgphoto2 and gphoto2 have all been compiled from the 
ports collection, one time with and the other time without optimization 
flags, leading to the same result. Below is the output of gphoto2 --debug -l, 
in which there are some extra traces left (beginning with Olivier:). I see a 
strange 'Canon:PowerShot S200' at some point, but have not made anything of 
that.

I've no special tweaks for usb. FreeBSD version is 5.3-STABLE, compiled 
with 
the following for usb (in case it would help):

# USB support
device  uhci# UHCI PCI-USB interface
#device ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
#device urio# Diamond Rio 500 MP3 player
#device uscanner# Scanners

Feel free to ask if you would like more information! Thanks for reading.

Regards,

Olivier

PS: This post has been submitted to both the freebsd-questions and 
gphoto-devel mailing lists because it might interest both. No follow-up nor 
reply to!




0.33 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG 
MESSAGES TO THE MAILING LIST:
0.001896 main(2): gphoto2 2.1.5
0.002171 main(2): gphoto2 has been compiled with the following options:
0.002470 main(2):  + cc (C compiler used)
0.002728 main(2):  + popt (for handling command-line parameters)
0.003014 main(2):  + exif (for displaying EXIF information)
0.003292 main(2):  + no cdk (for accessing configuration options)
0.003579 main(2):  + aa (for displaying live previews)
0.003852 main(2):  + jpeg (for displaying live previews in JPEG format)
0.004147 main(2):  + readline (for easy navigation in the shell)
0.004443 main(2): libgphoto2 2.1.5
0.004698 main(2): libgphoto2 has been compiled with the following options:
0.004996 main(2):  + cc (C compiler used)
0.005254 main(2):  + EXIF (for special handling of EXIF files)
0.005537 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.005846 main(2):  + no /proc/meminfo (adapts cache size to memory available)
0.006158 main(2): libgphoto2_port 0.5.1
0.006420 main(2): libgphoto2_port has been compiled with the following 
options:
0.006723 main(2):  + cc (C compiler used)
0.007058 main(2):  + USB (for USB cameras)
0.007319 main(2):  + serial (for serial cameras)
0.007582 main(2):  + no resmgr (serial port access and locking)
0.007864 main(2):  + no baudboy (serial port locking)
0.008131 main(2):  + no ttylock (serial port locking)
0.008403 main(2):  + no lockdev (serial port locking)
0.008669 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.009132 main(2): The user has not specified both a model and a port. Try to 
figure them out.
0.009496 gp-port-info-list(2): Loading io-drivers from 
'/usr/local/lib/gphoto2_port/0.5.1'...
0.010304 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'...
0.013833 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'...
0.014186 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'...
0.014505 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'...
0.014822 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'...
0.015138 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'...
0.015456 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'...
0.015771 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'...
0.016088 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'...
0.016406 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'...
0.016725 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'...
0.017041 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'...
0.017360 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'...
0.017676 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'...
0.017992 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'...
0.018307 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'...
0.019431 gphoto2-port-core(2): Loaded '' (^serial) from 
'libgphoto2_port_serial.so'
0.042286 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 
'libgphoto2_port_usb.so'
0.042929 gphoto2-port-core(2): Loaded 'Universal Serial 
Bus' (usb:/dev/usb1,/dev/ugen0) 

Re: Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE

2005-03-06 Thread Ramiro Aceves
Hello Olivier
I have a Canon D-30 that works out of the box with gphoto2.
Just
#gphoto2 -P
is enough for downloading the pictures.
But I have a Canon A80 that refuses to do it without commandline tweaking.
#gphoto2 --camera Canon PowerShot A80 (PTP) --port usb: -P
If I use the simple command gphoto2 -P with the A80 it fails and I 
have to restart the computer again to make it work (cause it fails to 
recognice any usb device).

So, I suggest you to to try this command as root:
#gphoto2 --camera Canon Digital IXUS v2 --port usb: -P
You can list supported cameras with
#gphoto2 --list-cameras
and try .
Tell us your experience.
Ramiro.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE

2005-03-06 Thread Roland Smith
On Sun, Mar 06, 2005 at 07:48:16PM +0100, Olivier Certner wrote:
   Hi there,
 
   I've tried to download a few pics from my Canon Ixus v2 camera with 
 libgphoto2 (frontends: kamera and gphoto2) without success. The camera is 
 supported though, I even used libgphoto2 successfully on a Linux system with 
 an older version of the lib (which I don't remember!).

In dealing with digital cameras, I've always found it easier to try and
mount them as a USB drive (via umass / da), which a lot of them
support. If you hook up the camera, is there any mention of a umass
device in dmesg? If so you can just mount it as a harddisk.

Another option is a memory card reader that you can mount as a drive.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpQlYxqeT7pJ.pgp
Description: PGP signature


Re: Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE

2005-03-06 Thread Chris Hill
On Sun, 6 Mar 2005, Roland Smith wrote:
On Sun, Mar 06, 2005 at 07:48:16PM +0100, Olivier Certner wrote:
I've tried to download a few pics from my Canon Ixus v2 camera with
libgphoto2 (frontends: kamera and gphoto2) without success. The camera is
supported though, I even used libgphoto2 successfully on a Linux system with
an older version of the lib (which I don't remember!).
In dealing with digital cameras, I've always found it easier to try and
mount them as a USB drive (via umass / da), which a lot of them
support. If you hook up the camera, is there any mention of a umass
device in dmesg? If so you can just mount it as a harddisk.
Agreed. I've never even attempted to use gphoto or anything like it. I 
just plug in the USB cable and copy files from the camera. Quick and 
easy, no special software needed. Once the pictures are off the camera, 
you can have your evil way with them :^)

Another nice thing is that I can cd to the directory on the camera's 
drive where the pictures are stored, and manipulate them from a shell 
prompt, instead of having to deal with the camera's menu buttons. To 
make life easier, I have an entry in /etc/fstab:

/dev/da0s1   /camera msdos   rw,noauto   0 0
...and a symlink:
lrwxr-xr-x   1 chris chris 21 Mar  6 16:59 camera - /camera/dcim/101msdcf
(this is for a Sony camera, but you get the idea.)
--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]