Problem retrieving video from GoPro

Solution 1:

I also faced the same problem under UbuntuGnome Xenial and a GoPro Session Hero 4.

Problem comes from a bug in libgphoto2. This library needs to be updated to version 2.5.10 to solve the problem and to get back a full access to your GoPro.

I've explained the needed steps in this article http://bernaerts.dyndns.org/linux/74-ubuntu/347-ubuntu-xenial-gopro-usb-access-bug

Cheers.

Solution 2:

This worked for me in Ubuntu 16.04 (Xenial):

  1. download the following updates from the next ubuntu verison "The Yakkety Yak"

    • libgphoto2-port12_2.5.10-3_amd64.deb
    • libgphoto2-port12_2.5.10-3_i386.deb
    • libgphoto2-6_2.5.10-3_i386.deb
    • libgphoto2-6_2.5.10-3_amd64.deb
  2. install them sudo dpkg -i libgphoto2-port12_2.5.10-3_amd64.deb libgphoto2-port12_2.5.10-3_i386.deb libgphoto2-6_2.5.10-3_i386.deb libgphoto2-6_2.5.10-3_amd64.deb

You can now import videos with Shotwell.

Solution 3:

I have the same issue. Note that with the SDCard inserted in a SDCard reader I can see all files, so I think it is not due to the filesystem.

I have reported the issue to GoPro support. They say that GoPro doesn't give support for Linux, that could lead to think that GoPro do not work with Linux.

Solution 4:

The following is a bit hacky, but works:

  1. Install virtualbox / vagrant
  2. Follow the instructions on http://code-chronicle.blogspot.de/2014/08/connect-usb-device-through-vagrant.html to enable usb in virtualbox.
  3. Setup the vagrant file

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
  config.vm.box = "hashicorp/precise64"

  config.vm.provider "virtualbox" do |vb|
     vb.memory = "1024"
     vb.customize ["modifyvm", :id, "--usb", "on"]
     vb.customize ["modifyvm", :id, "--usbehci", "on"]
     vb.customize ["usbfilter", "add", "0",
                   "--target", :id,
                   "--name", "gopro",
                   "--manufacturer", "GoPro",
                   "--product", "GoPro Hero"]

  config.vm.provision "shell", :inline => "sudo apt-get update; sudo apt-get -y install gphoto2"
  end

end
  1. do vagrant up, vagrant ssh
  2. sudo gphoto2 -L lists your videos and pictures
  3. sudo gphoto2 -P downloads all your files