Hi, On Wed, Sep 24, 2014 at 4:20 PM, Jehan Pagès <jehan.marmott...@gmail.com> wrote: > Hi, > > On Wed, Sep 24, 2014 at 10:45 AM, Daniel P. Berrange <d...@berrange.com> > wrote: >> On Tue, Sep 23, 2014 at 10:06:35PM +0200, Jehan Pagès wrote: >>> Hi, >>> >>> On Tue, Sep 23, 2014 at 8:33 PM, Daniel P. Berrange <d...@berrange.com> >>> wrote: >>> > On Tue, Sep 23, 2014 at 05:01:22PM +0200, Jehan Pagès wrote: >>> >> On Tue, Sep 23, 2014 at 4:40 PM, Jehan Pagès >>> >> <jehan.marmott...@gmail.com> wrote: >>> >> > Hi again! >>> >> > >>> >> > Well today I still don't have access to my Canon, but I borrowed >>> >> > someone's Nikon D5000. It is in the list of gphoto2 supported cameras, >>> >> > apparently it has all features. Yet when I plug in, my system sees it >>> >> > well and mount it (apparently through gphoto2 even, considering the >>> >> > URI in the file browser). But entangle just won't see it. I refresh >>> >> > and the list is just empty. >>> >> > >>> >> > I feel like there is some mode to enable or something in the camera >>> >> > menus? But I could not find it. Could you guide me? >>> >> >>> >> Also note that as I said, gphoto2 does seem to see it through my file >>> >> browser (Nemo), and I confirmed by command line: >>> >> $ gphoto2 --auto-detect >>> >> Model Port >>> >> ---------------------------------------------------------- >>> >> Nikon DSC D5000 (PTP mode) usb:003,004 >>> >> >>> >> Only entangle won't see it at all. So what's the deal? >>> > >>> > That's very strange - can you post the log from 'entangle >>> > --debug-entangle --debug-gphoto'. >>> > It should have enough info to let us see the problem. >>> >>> Attached the logs. >>> I can't see anything wrong, but I can't see anywhere where the camera >>> would be detected either. Looks like camera detection just detects >>> nothing. Maybe I don't watch the right things though. >>> Thanks. >> >> THe relevant part starts here, where we see libgphoto loading the libraries >> it uses to talk to hardware: >> >>> gp_port_info_list_load: Using ltdl to load io-drivers from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0'... >>> foreach_func: Called for filename >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/disk'. >>> gp_port_library_list: found fstab fsname /dev/mapper/mint--vg-root >>> gp_port_library_list: found fstab fsname >>> UUID=71538e16-ceaa-4c9b-8d39-f565c8701b6b >>> gp_port_library_list: found fstab fsname /dev/mapper/mint--vg-swap_1 >>> gp_port_library_list: found mtab fsname /dev/mapper/mint--vg-root >>> gp_port_library_list: found mtab fsname proc >>> gp_port_library_list: found mtab fsname sysfs >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname udev >>> gp_port_library_list: found mtab fsname devpts >>> gp_port_library_list: found mtab fsname tmpfs >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname /dev/sda1 >>> gp_port_library_list: found mtab fsname binfmt_misc >>> gp_port_library_list: found mtab fsname systemd >>> gp_port_library_list: found mtab fsname gvfsd-fuse >>> foreach_func [gphoto2-port-info-list.c:237]: Error during assembling of >>> port list: 'Unspecified error' (-1). >>> foreach_func: Loaded '' ('^disk:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/disk'. >>> foreach_func: Called for filename >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/ptpip'. >>> foreach_func: Loaded 'PTP/IP Connection' ('ptpip:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/ptpip'. >>> foreach_func: Loaded '' ('^ptpip:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/ptpip'. >>> foreach_func: Called for filename >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 4' ('serial:/dev/ttyS4') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 5' ('serial:/dev/ttyS5') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 6' ('serial:/dev/ttyS6') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 7' ('serial:/dev/ttyS7') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 8' ('serial:/dev/ttyS8') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 9' ('serial:/dev/ttyS9') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 10' ('serial:/dev/ttyS10') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 11' ('serial:/dev/ttyS11') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 12' ('serial:/dev/ttyS12') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 13' ('serial:/dev/ttyS13') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 14' ('serial:/dev/ttyS14') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 15' ('serial:/dev/ttyS15') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 16' ('serial:/dev/ttyS16') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 17' ('serial:/dev/ttyS17') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 18' ('serial:/dev/ttyS18') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 19' ('serial:/dev/ttyS19') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 20' ('serial:/dev/ttyS20') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 21' ('serial:/dev/ttyS21') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 22' ('serial:/dev/ttyS22') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 23' ('serial:/dev/ttyS23') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 24' ('serial:/dev/ttyS24') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 25' ('serial:/dev/ttyS25') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 26' ('serial:/dev/ttyS26') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 27' ('serial:/dev/ttyS27') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 28' ('serial:/dev/ttyS28') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 29' ('serial:/dev/ttyS29') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 30' ('serial:/dev/ttyS30') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 31' ('serial:/dev/ttyS31') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded '' ('^serial:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> gp_port_info_list_load: Using ltdl to load io-drivers from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0'... >>> foreach_func: Called for filename >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/disk'. >>> gp_port_library_list: found fstab fsname /dev/mapper/mint--vg-root >>> gp_port_library_list: found fstab fsname >>> UUID=71538e16-ceaa-4c9b-8d39-f565c8701b6b >>> gp_port_library_list: found fstab fsname /dev/mapper/mint--vg-swap_1 >>> gp_port_library_list: found mtab fsname /dev/mapper/mint--vg-root >>> gp_port_library_list: found mtab fsname proc >>> gp_port_library_list: found mtab fsname sysfs >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname udev >>> gp_port_library_list: found mtab fsname devpts >>> gp_port_library_list: found mtab fsname tmpfs >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname none >>> gp_port_library_list: found mtab fsname /dev/sda1 >>> gp_port_library_list: found mtab fsname binfmt_misc >>> gp_port_library_list: found mtab fsname systemd >>> gp_port_library_list: found mtab fsname gvfsd-fuse >>> foreach_func [gphoto2-port-info-list.c:237]: Error during assembling of >>> port list: 'Unspecified error' (-1). >>> foreach_func: Loaded '' ('^disk:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/disk'. >>> foreach_func: Called for filename >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/ptpip'. >>> foreach_func: Loaded 'PTP/IP Connection' ('ptpip:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/ptpip'. >>> foreach_func: Loaded '' ('^ptpip:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/ptpip'. >>> foreach_func: Called for filename >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 4' ('serial:/dev/ttyS4') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 5' ('serial:/dev/ttyS5') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 6' ('serial:/dev/ttyS6') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 7' ('serial:/dev/ttyS7') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 8' ('serial:/dev/ttyS8') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 9' ('serial:/dev/ttyS9') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 10' ('serial:/dev/ttyS10') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 11' ('serial:/dev/ttyS11') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 12' ('serial:/dev/ttyS12') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 13' ('serial:/dev/ttyS13') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 14' ('serial:/dev/ttyS14') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 15' ('serial:/dev/ttyS15') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 16' ('serial:/dev/ttyS16') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 17' ('serial:/dev/ttyS17') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 18' ('serial:/dev/ttyS18') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 19' ('serial:/dev/ttyS19') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 20' ('serial:/dev/ttyS20') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 21' ('serial:/dev/ttyS21') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 22' ('serial:/dev/ttyS22') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 23' ('serial:/dev/ttyS23') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 24' ('serial:/dev/ttyS24') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 25' ('serial:/dev/ttyS25') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 26' ('serial:/dev/ttyS26') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 27' ('serial:/dev/ttyS27') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 28' ('serial:/dev/ttyS28') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 29' ('serial:/dev/ttyS29') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 30' ('serial:/dev/ttyS30') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded 'Serial Port 31' ('serial:/dev/ttyS31') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >>> foreach_func: Loaded '' ('^serial:') from >>> '/home/jehan/.local/lib/libgphoto2_port/0.12.0/serial'. >> >> >> Notice how no where here does it try to load the USB driver. >> >> On my machine I see this: >> >> gphoto2-port-info-list: Called for filename >> '/usr/lib64/libgphoto2_port/0.10.0/usb1'. >> gphoto2-port-info-list: Loaded '' ('^usb:') from >> '/usr/lib64/libgphoto2_port/0.10.0/usb1'. >> gphoto2-port-info-list: Loaded 'Universal Serial Bus' ('usb:001,004') from >> '/usr/lib64/libgphoto2_port/0.10.0/usb1'. >> gphoto2-port-info-list: Loaded 'Universal Serial Bus' ('usb:001,003') from >> '/usr/lib64/libgphoto2_port/0.10.0/usb1'. >> gphoto2-port-info-list: Called for filename >> '/usr/lib64/libgphoto2_port/0.10.0/usbdiskdirect'. >> gphoto2-port-info-list: Called for filename >> '/usr/lib64/libgphoto2_port/0.10.0/usbscsi'. >> >> >> Given that "/home/jehan/.local/lib/libgphoto2_port" path I guess this is a >> custom libgphoto2 build you've done yourself. It looks like your build did >> not compile USB support - probably you missed the libusb1 development package > > Yes I got a custom build of libgphoto2 only because I had a bug with > my Canon (the preview was not able to come back after a shot, I got an > error, and I had to re-click the preview button each time). Anyway I > wanted to see if a more recent libgphoto2 would fix the problem (and > it did). Which is strange since my Canon is also connected by usb. > Maybe some weird mix happened between the package manager's libgphoto2 > and the custom build? > Anyway I installed the dev package for libusb now, but I can't test > right now with the Nikon, but I'll try later and report back.
Just wanting to report it finally works. Jehan > Jehan > >> Daniel >> -- >> |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| >> |: http://libvirt.org -o- http://virt-manager.org :| >> |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| >> |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| _______________________________________________ Entangle-devel mailing list Entangle-devel@gna.org https://mail.gna.org/listinfo/entangle-devel