Linux GOPRO pics and vids under kodi
#1
I plugin gopro hero 4 to computer through USB(Ubuntu, Xbuntu, Kodi14.2)
It shows up in linux file manager as "Stillimage" however it does not show up in Kodi at all.
Is there any solution to that? (I am not looking for wireless streaming)
Goal is to plug gopro to HTPC with USB cable and watch videos/pics directly from it.

thx
Reply
#2
you will need to add the stillimage directory (or a subdirectory) as a video and picture source. It is most likely mounted under /media
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
Yeah , found it under /run/user/1000/gvfs but ...
I still have to mount it first outside of Kodi.

Kodi seems to take over the device because when its running and I connect the camera I go to file manager in ubuntu and I got error message that device is already in use (or something like that)
When I quit Kodi then I can mount it manually , turn on Kodi , addnew Video folder and watch files. But again this is backwards.
There is got to be a better way to do it.
Some type of automount to given folder.
dmesg gives me this:
Code:
[   20.022029] usb 1-3: new high-speed USB device number 9 using xhci_hcd
[   20.151360] usb 1-3: New USB device found, idVendor=2672, idProduct=000d
[   20.151366] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   20.151369] usb 1-3: Product: StillImage
[   20.151371] usb 1-3: Manufacturer: GoPro
[   20.151373] usb 1-3: SerialNumber: C3131125512345
Reply
#4
I googled that device number (2672:000d) and found this:

http://s.natalian.org/2014-12a04/lsusb-gopro.txt

It looks like the device is interpreted as a camera rather than as a flash/hard drive containing videos/photos.

Is any /dev/sd* device created?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#5
No I dont think so.
Code:
mp@mp-Panther:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 13d3:3393 IMC Networks
Bus 001 Device 009: ID 2672:000d  
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
mp@mp-Panther:~$ ls -la /dev/sd*
brw-rw---- 1 root disk 8, 0 Apr 19 20:28 /dev/sda
brw-rw---- 1 root disk 8, 1 Apr 19 20:28 /dev/sda1
brw-rw---- 1 root disk 8, 2 Apr 19 20:28 /dev/sda2
brw-rw---- 1 root disk 8, 5 Apr 19 20:28 /dev/sda5

--
BTW I cannot read link you mention
I got:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
And some XML code that follows.
Reply
#6
I assume sda is your main hard drive, and no other is shown, so it is not being detected as a drive.

That's weird about that link. If I click it from this forum it gives the same result as you got, if I do it from my google search it works. Here is the content anyway:
Quote:Bus 002 Device 004: ID 2672:000d
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2672
idProduct 0x000d
bcdDevice 0.01
iManufacturer 1 GoPro
iProduct 2 StillImage
iSerial 3 C3131124712099
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 6 Imaging
bInterfaceSubClass 1 Still Image Capture
bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 4
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
You will see it is detected as a ptp camera (which is probably is as well as a storage device)
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#7
Its a chromebox that I am currenty using with single ssd.
So yes sda its only storage device I have on that htpc.

This is how it shows up under file manager in xbuntu: gphoto2://[usb:001,009]/

How would I generate a report like you pasted?


---

Code:
(parted) print                                                            
Model: ATA SanDisk SSD U110 (scsi)
Disk /dev/sda: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
1      1049kB  13.9GB  13.9GB  primary   ext4            boot
2      13.9GB  16.0GB  2084MB  extended
5      13.9GB  16.0GB  2084MB  logical   linux-swap(v1)

(parted) quit                                                            
mp@mp-Panther:~$ sudo ls -la /dev/sd*
brw-rw---- 1 root disk 8, 0 Apr 19 22:24 /dev/sda
brw-rw---- 1 root disk 8, 1 Apr 19 20:28 /dev/sda1
brw-rw---- 1 root disk 8, 2 Apr 19 20:28 /dev/sda2
brw-rw---- 1 root disk 8, 5 Apr 19 20:28 /dev/sda5
Reply
#8
OK, I don't think kodi knows about the gphoto2:// protocol.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#9
Have you tried taking the SD card out of the gopro and using an SD card reader?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
GOPRO pics and vids under kodi0