Quantcast

Canon Powershot S2 IS ... issues w/ PTP driver

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Canon Powershot S2 IS ... issues w/ PTP driver

reuben-10
Hi, I posted some questions to the digikam mailing list regarding the camera, and was directed here to find answers to a couple of them. I am using gphoto 2.1.5, which is the latests available in the ubuntu forums. Can anybody shed any light on the following? 

Thanks
Reuben

2) It cannot use camera provided dates -- they are reset to 1970,
> although on the camera they are correct.
  
this is a driver issue, it is most probably not reading the exif info
from the camera. you can try upgrading to a recent libgphoto2 to see
if it fixes it.
> 3) It cannot download large video files (700MB). Small video files
> (<50MB) download just fine. (This may be a driver issue, as kamera
> cannot cope with the large video files either.)
  
a libgphoto2 issue. it tries to cache the file in memory and obviously
fails. you will need to contact the gphoto2 developers concerning
this.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Canon Powershot S2 IS ... issues w/ PTP driver

Marcus Meissner
On Sun, Sep 04, 2005 at 08:27:56AM -0700, reuben wrote:
> Hi, I posted some questions to the digikam mailing list regarding the
> camera, and was directed here to find answers to a couple of them. I am
> using gphoto 2.1.5, which is the latests available in the ubuntu forums.
> Can anybody shed any light on the following?

He is probably using the 2.6.12 or later kernel.

Tell him to upgrade to libgphoto2 2.1.6.
 
> >2) It cannot use camera provided dates -- they are reset to 1970,
> >>although on the camera they are correct.
> >
> >
> this is a driver issue, it is most probably not reading the exif info
> from the camera. you can try upgrading to a recent libgphoto2 to see
> if it fixes it.

This should work. I think it might be better with 2.1.6 too.
 
> >>3) It cannot download large video files (700MB). Small video files
> >>(<50MB) download just fine. (This may be a driver issue, as kamera
> >>cannot cope with the large video files either.)
> >
> >
> a libgphoto2 issue. it tries to cache the file in memory and obviously
> fails. you will need to contact the gphoto2 developers concerning
> this.

We need exact error messages. But again, this is likely the problem
we fixed for 2.1.6.

Ciao, Marcus


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Canon Powershot S2 IS ... issues w/ PTP driver

reuben-10
Hi, thanks for the response. Installing 2.1.6 just made things worse -- the camera no longer auto-detected. Here's the cli...

~$ gphoto2 -v
gphoto2 2.1.6                                                                 

Copyright (c) 2000-2004 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2           2.1.6        gcc, popt, exif, cdk, no aa, jpeg, readline
libgphoto2        2.1.6        gcc, EXIF, no ltdl, /proc/meminfo
libgphoto2_port   0.5.1        gcc, USB, serial without locking, no ltdl
~$ gphoto2 --auto-detect
Model                          Port                                           
----------------------------------------------------------



~$ gphoto2 -v
gphoto2 2.1.5                                                                 

Copyright (c) 2000-2004 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2           2.1.5        gcc, no popt, exif, cdk, no aa, jpeg, readline
libgphoto2        2.1.5        gcc, EXIF, no ltdl, /proc/meminfo
libgphoto2_port   0.5.1        gcc, USB, serial without locking, no ltdl
~$ gphoto2 --auto-detect
Model                          Port                                           
----------------------------------------------------------
USB PTP Class Camera           usb:           
USB PTP Class Camera           usb:003,006





Using the 2.1.5 drivers, here's the verbose output when trying to download a large AVI:

0.302516 gphoto2-port(2): Reading 352952298=0x15099fea bytes from port...
gp_port_read: Resource temporarily unavailable
8.304616 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffde  -34
8.304673 context(0): PTP I/O error

*** Error ***             
PTP I/O error
8.304747 libgphoto2/gphoto2-filesys.c(2): Download of 'MVI_0628.AVI' from '/store_00010001/DCIM/106CANON' (type 1) failed. Reason: 'Unspecified error'
8.304810 gphoto2-camera(2): Operation failed!
*** Error (-1: 'Unspecified error') ***    
  



Marcus Meissner wrote:
On Sun, Sep 04, 2005 at 08:27:56AM -0700, reuben wrote:
  
Hi, I posted some questions to the digikam mailing list regarding the 
camera, and was directed here to find answers to a couple of them. I am 
using gphoto 2.1.5, which is the latests available in the ubuntu forums. 
Can anybody shed any light on the following? 
    

He is probably using the 2.6.12 or later kernel.

Tell him to upgrade to libgphoto2 2.1.6.
 
  
2) It cannot use camera provided dates -- they are reset to 1970,
      
although on the camera they are correct.
        
      
this is a driver issue, it is most probably not reading the exif info
from the camera. you can try upgrading to a recent libgphoto2 to see
if it fixes it.
    

This should work. I think it might be better with 2.1.6 too.
 
  
3) It cannot download large video files (700MB). Small video files
(<50MB) download just fine. (This may be a driver issue, as kamera
cannot cope with the large video files either.)
        
      
a libgphoto2 issue. it tries to cache the file in memory and obviously
fails. you will need to contact the gphoto2 developers concerning
this.
    

We need exact error messages. But again, this is likely the problem
we fixed for 2.1.6.

Ciao, Marcus


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user


  

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Canon Powershot S2 IS ... issues w/ PTP driver

Marcus Meissner
On Sun, Sep 04, 2005 at 10:08:47AM -0700, reuben wrote:
> Hi, thanks for the response. Installing 2.1.6 just made things worse --
> the camera no longer auto-detected. Here's the cli...

Strange.

> ~$ gphoto2 -v
> gphoto2
> 2.1.6                                                                
> gphoto2           2.1.6        gcc, popt, exif, cdk, no aa, jpeg, readline
> libgphoto2        2.1.6        gcc, EXIF, no ltdl, /proc/meminfo
> libgphoto2_port   0.5.1        gcc, USB, serial without locking, no ltdl
> ~$ gphoto2 --auto-detect
> Model                          
> Port                                          
> ----------------------------------------------------------

What happens if you try gphoto2 --auto-detect as root?

Is gphoto2 --list-cameras showing any cameras at all? And gphoto2 --list-ports?

Ciao, Marcus


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Canon Powershot S2 IS ... issues w/ PTP driver

reuben-10
Marcus Meissner wrote:

>What happens if you try gphoto2 --auto-detect as root?
>
>  
>
Yes, that is the problem:

$~ sudo gphoto2 --auto-detect
Model                          
Port                                          
----------------------------------------------------------
Canon PowerShot S2 IS (PTP mode) usb:          
Canon PowerShot S2 IS (PTP mode) usb:003,009    
reuben@69-12-142-24:~$ gphoto2 --auto-detect
Model                          
Port                                          
----------------------------------------------------------
~$ gphoto2 --auto-detect
Model                          
Port                                          
----------------------------------------------------------


How can I workaround this? I don't want to have to run this as root on a
regular basis.

>Is gphoto2 --list-cameras showing any cameras at all? And gphoto2 --list-ports?
>
>  
>
Both.

Thanks



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Canon Powershot S2 IS ... issues w/ PTP driver

Marcus Meissner
On Sun, Sep 04, 2005 at 11:37:06AM -0700, reuben wrote:

> Marcus Meissner wrote:
>
> >What happens if you try gphoto2 --auto-detect as root?
> >
> >
> >
> Yes, that is the problem:
>
> $~ sudo gphoto2 --auto-detect
> Model                          
> Port                                          
> ----------------------------------------------------------
> Canon PowerShot S2 IS (PTP mode) usb:          
> Canon PowerShot S2 IS (PTP mode) usb:003,009    
> reuben@69-12-142-24:~$ gphoto2 --auto-detect
> Model                          
> Port                                          
> ----------------------------------------------------------
> ~$ gphoto2 --auto-detect
> Model                          
> Port                                          
> ----------------------------------------------------------
>
>
> How can I workaround this? I don't want to have to run this as root on a
> regular basis.

You need a correct permission setup.

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

Ciao, Marcus


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Canon Powershot S2 IS ... issues w/ PTP driver

Hub Figuière-2
In reply to this post by reuben-10
reuben wrote:
> Hi, thanks for the response. Installing 2.1.6 just made things worse --
> the camera no longer auto-detected. Here's the cli...
>

How did you install it ?

Because what I would do is download the package source from Breezy and
build it on you current system, to install that package.


Hub


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Loading...