Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kodak camera not seen by gphoto2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mad_ady
n00b
n00b


Joined: 14 Jul 2004
Posts: 54

PostPosted: Sat Nov 06, 2004 9:04 am    Post subject: Reply with quote

Here's what I did:

Code:

frost root # CAMERA="ptp2"
frost root # emerge libgphoto2 > libgphoto2.txt
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
./configure: line 13303: ABOUT-NLS: command not found
./configure: line 14407: ABOUT-NLS: command not found
libtool: install: warning: remember to run `libtool --finish /usr/lib'
libtool: install: warning: relinking `libgphoto2_port_serial.la'
libtool: install: warning: remember to run `libtool --finish /usr/lib/gphoto2_port/0.5.1'
libtool: install: warning: relinking `libgphoto2_port_usb.la'
libtool: install: warning: remember to run `libtool --finish /usr/lib/gphoto2_port/0.5.1'
libtool: install: warning: relinking `libgphoto2.la'
libtool: install: warning: remember to run `libtool --finish /usr/lib'
>>> Regenerating /etc/ld.so.cache...
frost root # gphoto2 --list-cameras
Number of supported cameras: 0
Supported cameras:


libgphoto2.txt is quite large, so I sent it to you in an e-mail.

I spotted some errors, but I don't know if they were handled in the end (libtool warnings)
Back to top
View user's profile Send private message
dushkin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 94
Location: Your network

PostPosted: Sat Nov 06, 2004 10:14 am    Post subject: Reply with quote

That's the reason why I stick to EOS.
These cameras work great with linux, all the EOS cameras that I touched, they synchronize real nice. Plus it's SLR.
I don't know about your Kodak camera, but it seems like you got your driver unloaded when you need it. Find how to compile the driver and then things should clear up.
_________________
http://www.dushkin.org/ - Think different!
Back to top
View user's profile Send private message
mad_ady
n00b
n00b


Joined: 14 Jul 2004
Posts: 54

PostPosted: Sat Nov 06, 2004 8:37 pm    Post subject: Reply with quote

Thinking outloud...

What if I remove libgphoto2 & gtkam and I install them (with my own hand) from source?
Maybe I'll try this (when I have time).
Back to top
View user's profile Send private message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Sun Nov 07, 2004 12:28 pm    Post subject: Reply with quote

Have you tried USB Mass Storage driver? Maybe your camera isn't a PTP one. I have Sony DSC-V1, it's listed by gphoto2 supported, but it doesn't work with that driver, but with USB Mass storage driver only. I use Digikam frontend.
Back to top
View user's profile Send private message
mad_ady
n00b
n00b


Joined: 14 Jul 2004
Posts: 54

PostPosted: Sun Nov 07, 2004 7:41 pm    Post subject: Reply with quote

I tried that allready. My camera (Kodak CX4200) works only with PTP

The other solution would be buying a card adaptor and using it to transfer my pictures... But I want to succeed with the cheap way: make things work in the first place! :)
Back to top
View user's profile Send private message
Kabuto
l33t
l33t


Joined: 01 Aug 2002
Posts: 701

PostPosted: Mon Nov 08, 2004 9:45 pm    Post subject: Reply with quote

Well, looks good except for the line:
Quote:
checking which drivers to compile...


Something is getting hosed. Have you updated portage yet? I think the new version will now spit out the configure line to the log too. Also libgphoto2-2.1.4-r1 is out. Also per the email I sent, set CAMERAS. So..
1) emerge sync
2) update portage
3) export CAMERAS="ptp2" (with S)
4) emerge libgphoto2 and send me another log if still not working.
Back to top
View user's profile Send private message
mad_ady
n00b
n00b


Joined: 14 Jul 2004
Posts: 54

PostPosted: Tue Nov 09, 2004 12:10 pm    Post subject: Reply with quote

Finally!!!! IT WORKS!!!! Thank you verry much (I am in your debt)!

I updated my system and... here are bits and pieces of the output:

Code:

root@frost # CAMERAS="ptp2"
root@frost # emerge libgphoto2
....

>>> md5 src_uri ;-) libgphoto2-2.1.4.tar.bz2
>>> Unpacking source...
>>> Unpacking libgphoto2-2.1.4.tar.bz2 to /var/tmp/portage/libgphoto2-2.1.4/work
 * Applying libgphoto2-2.1.2-norpm.patch ...                                [ ok ]
 * Applying libgphoto2-2.1.4-blink2.patch ...                               [ ok ]
 * Applying libgphoto2-2.1.4-gcc2_fixes.patch ...                           [ ok ]
>>> Source unpacked.
ptp2
 * ptp2
 * Patching ${S}/libgphoto2_port/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying relink-1.4.3.patch ...
 *   Applying sed-1.4.3.patch ...
 *   Applying tmp-1.3.5.patch ...
 * Patching ${S}/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying relink-1.4.3.patch ...
 *   Applying sed-1.4.3.patch ...
 *   Applying tmp-1.3.5.patch ...
 * Applying uClibc/libtool patches ...
 *  Fixing ${S}/configure...                                                [ ok ]
 *  Fixing ${S}/libgphoto2_port/configure...                                [ ok ]
jpeg
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-drivers=ptp2 --with-exif-prefix=/usr --enable-nls --disable-docs
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk

....


Configuration (libgphoto2_port)

        Source code location:    .
        Compiler:                gcc

        SERIAL support:          yes

        Locking mechanism (for serial ports):
        Use resmgr:              no
        Use baudboy:             no
        Use ttylock:             no
        Use lockdev:             no

        USB support:             yes, from /usr

        Build API documentation: no (not requested)
        Use ltdl.h:              no



Configuration (libgphoto2):

        Source code location:      .
        Version:                   2.1.4
        Compiler:                  gcc

        Build API documentation:   no (not requested)
        pkg-config:                yes
        EXIF support:              yes (version 0.5.12 from /usr), (>= 0.5.4)
        JPEG mangling support:     yes
        Use ltdl.h:                no
        /proc/meminfo:             available

....



Now, I was happy to see:
Code:

frost root # gphoto2 --list-cameras
Number of supported cameras: 81
Supported cameras:
        "Canon Digital IXUS 2 (PTP mode)"
        "Canon Digital IXUS 400 (PTP mode)"
        "Canon Digital IXUS i (PTP mode)"
        "Canon Digital IXUS v3 (PTP mode)"
        "Canon EOS 300D (PTP mode)"
        "Canon EOS Digital Rebel (PTP mode)"
        "Canon EOS Kiss Digital (PTP mode)"
        "Canon PowerShot A60 (PTP)"
        "Canon PowerShot A70 (PTP)"
        "Canon PowerShot A80 (PTP)"
        "Canon PowerShot G3 (PTP mode)"
        "Canon PowerShot G5 (PTP mode)"
        "Canon PowerShot S230 (PTP mode)"
        "Canon PowerShot S45 (PTP mode)"
        "HP PhotoSmart 120 (PTP mode)"
        "HP PhotoSmart 318 (PTP mode)"
        "HP PhotoSmart 320 (PTP mode)"
        "HP PhotoSmart 43x (PTP mode)"
        "HP PhotoSmart 612 (PTP mode)"
        "HP PhotoSmart 620 (PTP mode)"
        "HP PhotoSmart 715 (PTP mode)"
        "HP PhotoSmart 720 (PTP mode)"
        "HP PhotoSmart 735 (PTP mode)"
        "HP PhotoSmart 812 (PTP mode)"
        "HP PhotoSmart 850 (PTP mode)"
        "HP PhotoSmart 935 (PTP mode)"
        "Kodak CX4200"
        "Kodak CX4210"
        "Kodak CX4230"
        "Kodak CX4300"
        "Kodak CX6200"
        "Kodak CX6230"
        "Kodak CX6330"
        "Kodak DC240 (PTP mode)"
        "Kodak DC4800"
        "Kodak DX3215"
        "Kodak DX3500"
        "Kodak DX3600"
        "Kodak DX3700"
        "Kodak DX3900"
        "Kodak DX4330"
        "Kodak DX4530"
        "Kodak DX4900"
        "Kodak DX6340"
        "Kodak DX6440"
        "Kodak DX6490"
        "Kodak LS420"
        "Kodak LS443"
        "Kodak LS663"
        "Kodak MC3"
        "Nikon Coolpix 2000 (PTP mode)"
        "Nikon Coolpix 2100 (PTP mode)"
        "Nikon Coolpix 2500 (PTP mode)"
        "Nikon Coolpix 3100 (PTP mode)"
        "Nikon Coolpix 3500 (PTP mode)"
        "Nikon Coolpix 4300 (PTP mode)"
        "Nikon CoolPix 4500 (PTP mode)"
        "Nikon Coolpix 5000 (PTP mode)"
        "Nikon Coolpix 5400 (PTP mode)"
        "Nikon Coolpix 5700 (PTP mode)"
        "Nikon Coolpix 885 (PTP mode)"
        "Nikon Coolpix SQ (PTP mode)"
        "Nikon DSC D100 (PTP mode)"
        "Olympus C-350Z"
        "Olympus D-560Z"
        "Olympus X-250"
        "Sony DSC-F707V (PTP mode)"
        "Sony DSC-P30 (PTP mode)"
        "Sony DSC-P31 (PTP mode)"
        "Sony DSC-P32 (PTP mode)"
        "Sony DSC-P5 (PTP mode)"
        "Sony DSC-P50 (PTP mode)"
        "Sony DSC-P52 (PTP mode)"
        "Sony DSC-P72 (PTP mode)"
        "Sony DSC-P92 (PTP mode)"
        "Sony DSC-S75 (PTP mode)"
        "Sony DSC-S85 (PTP mode)"
        "Sony DSC-U20 (PTP mode)"
        "Sony DSC-V1 (PTP mode)"
        "Sony MVC-CD300 (PTP mode)"
        "USB PTP Class Camera" (TESTING)



My camera is listed! :P

Time to try it on...

It works like a charm...

Now, I can put an end to this thread... I've been trying to get the thing to work ever since I installed gentoo (almost 6 months ago)... Now It's working!
Now I can turn to more usefull things (trying to get lirc to work -- kidding! ) :)

Thanks! I owe you one!
Back to top
View user's profile Send private message
Kabuto
l33t
l33t


Joined: 01 Aug 2002
Posts: 701

PostPosted: Tue Nov 09, 2004 5:14 pm    Post subject: Reply with quote

YEA!

Have fun...
Back to top
View user's profile Send private message
daten
n00b
n00b


Joined: 11 Jun 2004
Posts: 11
Location: Maryland, USA

PostPosted: Thu Apr 26, 2007 12:31 pm    Post subject: Reply with quote

CAMERAS="ptp2" is what I needed as well. I was trying with CAMERAS="kodak" and that didn't work (different driver).

Someone should add [SOLVED] to the topic.
Back to top
View user's profile Send private message
IsPeter
n00b
n00b


Joined: 05 Apr 2006
Posts: 14

PostPosted: Sat Apr 28, 2007 11:44 am    Post subject: Reply with quote

Same problem, took me a while to realise I needed ptp2 for the CAMERAS variable.

A use-flag description would help. I'd like to see:

equery uses libgphoto2
[ Searching for packages matching libgphoto2... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-libs/libgphoto2-2.3.1-r4 ]
U I
- - cameras_kodak : Unless it's one of those easyshare jobbies.
- - cameras_konica : <unknown>
- - cameras_ptp2 : I know, I know, it doesn't say Kodak, but trust me on this one.
Back to top
View user's profile Send private message
Element Dave
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 82

PostPosted: Thu May 17, 2007 10:50 pm    Post subject: Reply with quote

IsPeter wrote:
Same problem, took me a while to realise I needed ptp2 for the CAMERAS variable.

A use-flag description would help. I'd like to see:

<snip>


Or better, group the cameras by manufacturer like they're supposed to be. What is the purpose of burying certain cameras under the protocol (and version? ptp2) through which its accessed? A warning is emitted when building libgphoto2 without setting the CAMERA environment variable. Set the variable to the camera's manufacturer and the application won't work properly. This is precisely the sort of thing that costs a lot of people a lot of time, and could easily be avoided.
Back to top
View user's profile Send private message
Kabuto
l33t
l33t


Joined: 01 Aug 2002
Posts: 701

PostPosted: Fri May 18, 2007 3:53 pm    Post subject: Reply with quote

The problem with using USE flags is the amount of them that would be needed. Look at the libgphoto2 ebuild and I think it still lists all the CAMERAS variables.

The problem with grouping my manufacturer is that it changes. My Canon G2 can only do Canon protocol. Some newer ones could do Canon or PTP. Most of the newer only do PTP.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum