[sane-devel] Getting Clever CAM 360 working

Martin martinh at ix.netcom.com
Thu Sep 15 01:40:00 UTC 2005


First off, I noticed that when I execute "gphoto2" it is running from 
2.1.0 version.
After doing make and make install of version 2.1.6, where is the 
executable of gphoto2 installed that I can run from that version?
Maybe if I run with the 2.1.6 version, this will finally work.

Secondly, I noticed the debug line,
2.193950 gphoto2-camera(2): Initializing camera...
2.194862 gphoto2-port(0): The supplied vendor or product id (0x0,0x0) is 
not valid.
2.195469 context(0): An error occurred in the io-library ('Bad 
parameters'): The supplied vendor or product id (0x0,0x0) is
not valid.

But perhaps this is happening because I'm not running against version 2.1.6?

Thirdly, just for giggles, I copied the new,

/usr/local/lib/gphoto2/2.1.6/libgphoto2_polaroid_pdc640.so
to,
/usr/lib/gphoto2/2.1.0/

but that didn't work either.

So I ran it debug mode and here is the debug output.
Thanks for any ideas on this.

[root at oldpc 2.1.0]# env LANG=C gphoto2 --debug --camera "Polaroid PDC 
640" --capture-image --port "usb:"

*******************************************************
0.002768 main(2): ALWAYS INCLUDE THE FOLLOWING LINE WHEN SENDING DEBUG 
MESSAGES TO THE MAILING LIST:
0.003323 main(2): gphoto2 2.1.0
0.003447 main(2): Setting port to 'usb:'...
0.003613 main(2): Setting camera model to 'Polaroid PDC 640'...
0.004123 gphoto2-filesystem(2): Internally appending folder /...
0.004571 gphoto2-port(2): Creating new device...
0.005044 gphoto2-abilities-list(2): Loading camera libraries in 
'/usr/lib/gphoto2/2.1.0'...
0.005301 gphoto2-abilities-list(2): Note that failing to load *.a and 
*.la is NOT an error!
0.008013 gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.1.0/libgphoto2_barbie.so'...
<snip>
1.391992 gp-port-info-list(2): Loading io-drivers from 
'/usr/lib/gphoto2_port/0.5.0'...
1.394710 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
1.418621 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
<snip>
2.135533 gphoto2-port-core(2): Loaded 'Serial Port 0' 
(serial:/dev/ttyS0) from 'libgphoto2_port_serial.so'
2.136482 gphoto2-port-core(2): Loaded 'Serial Port 1' 
(serial:/dev/ttyS1) from 'libgphoto2_port_serial.so'
<snip>
2.169005 gphoto2-port-core(2): Loaded '' (^serial) from 
'libgphoto2_port_serial.so'
2.173646 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 
'libgphoto2_port_usb.so'
2.175443 gphoto2-camera(2): Setting abilities ('Polaroid PDC 640')...
2.176363 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
2.178246 setting/gphoto2-setting.c(2): Loading settings from file 
"/root/.gphoto/settings"
2.179376 gphoto2-setting(2): Setting key 'model' to value 'Polaroid PDC 
640' (gphoto2)
2.180274 gphoto2-setting(2): Saving 2 setting(s) to file 
"/root/.gphoto/settings"
2.182198 gphoto2-port-info-list(2): Looking for path 'usb:' (34 entries 
available)...
2.183101 gphoto2-port-info-list(2): Getting info of entry 32 (34 
available)...
2.183902 gphoto2-camera(2): Setting port info for port 'Universal Serial 
Bus' at 'usb:'...
2.189318 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
2.189979 gphoto2-port(2): Setting settings...
2.190849 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
2.191555 gphoto2-setting(2): Saving 2 setting(s) to file 
"/root/.gphoto/settings"
2.193950 gphoto2-camera(2): Initializing camera...
2.194862 gphoto2-port(0): The supplied vendor or product id (0x0,0x0) is 
not valid.
2.195469 context(0): An error occurred in the io-library ('Bad 
parameters'): The supplied vendor or product id (0x0,0x0) is
not valid.

*** Error ***
An error occurred in the io-library ('Bad parameters'): The supplied 
vendor or product id (0x0,0x0) is not valid.
ERROR: Could not capture.
*** Error ('Bad parameters') ***

*******************************************************




More information about the sane-devel mailing list