General TC > Remasters / Remixes - Unofficial
64 bit gphoto2 thread
aus9:
this is a drift off topic from this libgphoto2 update request thread
http://forum.tinycorelinux.net/index.php/topic,22236.msg139261.html#msg139261
I have built and just tested....but testing may need more work....a command line tool to interact with libgphoto2
I could not find gphoto2 in our repo so forgive me, it there is a better package.
Based on the manual here
http://www.gphoto.org/doc/manual/using-gphoto2.html
here are some code snippets.
--- Code: ---gphoto2 --get-all-files
Saving file as DSCF1456.JPG
Saving file as DSCF1457.JPG
Saving file as DSCF1458.JPG
Saving file as DSCF1459.JPG
Saving file as DSCF1460.JPG
Saving file as DSCF1461.JPG
--- End code ---
Before I grabbed them I did some tests such as
--- Code: --- gphoto2 --list-ports
Devices found: 9
Path Description
--------------------------------------------------------------
ptpip: PTP/IP Connection
serial:/dev/ttyS0 Serial Port 0
serial:/dev/ttyS1 Serial Port 1
serial:/dev/ttyS2 Serial Port 2
serial:/dev/ttyS3 Serial Port 3
serial: Serial Port Device
usb:001,004 Universal Serial Bus
usbdiskdirect:/dev/sdc USB Mass Storage direct IO
usbscsi:/dev/sg3 USB Mass Storage raw SCSI
tc@box:~$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
tc@box:~$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
USB PTP Class Camera usb:001,007
tc@box:~$ gphoto2 --summary
Camera summary:
Manufacturer: FUJIFILM
Model: FinePix T500
Version: Digital Camera FinePix T500 Ver1.00
Serial Number: 592D323135333313092722C53UK03103
Vendor Extension ID: 0x6 (1.0)
Vendor Extension Description: fujifilm.co.jp: 1.0;
Capture Formats:
Display Formats: JPEG, JFIF, Unknown(b002)
Supported MTP Object Properties:
JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc87/Width dc88/Height dcd3/ImageBitDepth
JFIF/3808: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name
Unknown(b002)/b002: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc87/Width dc88/Height dcd3/ImageBitDepth
Device Capabilities:
File Download, File Deletion, File Upload
No Image Capture, No Open Capture, No vendor specific capture
Storage Devices Summary:
store_00010001:
StorageDescription: External Memory
VolumeLabel: 000000000000000000000000000000000000000000000000
Storage Type: Removable RAM (memory card)
Filesystemtype: Digital Camera Layout (DCIM)
Access Capability: Read Only with Object deletion
Maximum Capability: 15468593152 (14752 MB)
Free Space (Bytes): 15455354880 (14739 MB)
Free Space (Images): 3804
Device Property Summary:
Battery Level(0x5001):(read only) (type=0x2) Range [0 - 3, step 1] value: 3% (3)
Property 0xd303:(read only) (type=0x2) 1
Perceived Device Type(0xd407):(read only) (type=0x6) 1
Session Initiator Info(0xd406):(readwrite) (type=0xffff) ''
tc@box:~$ gphoto2 --list-files
There is no file in folder '/'.
There is no file in folder '/store_00010001'.
There is no file in folder '/store_00010001/DCIM'.
There are 6 files in folder '/store_00010001/DCIM/101_FUJI'.
#1 DSCF1456.JPG rd 1119 KB 1920x1080 image/jpeg
#2 DSCF1457.JPG rd 731 KB 1920x1080 image/jpeg
#3 DSCF1458.JPG rd 808 KB 1920x1080 image/jpeg
#4 DSCF1459.JPG rd 779 KB 1920x1080 image/jpeg
#5 DSCF1460.JPG rd 829 KB 1920x1080 image/jpeg
#6 DSCF1461.JPG rd 1538 KB 4608x3440 image/jpeg
--- End code ---
the first fail for auto detect...showing above.....I had to power cycle the camera YMMV
cbookou:
maybe I'm missing something, but how would I get ahold of this commandline tool? Not seeing it in the 9.X repo.
Rich:
Hi cbookou
It's possible the extension was never submitted to the repo.
Juanito:
gphoto2 now posted
cbookou:
Thanks again!
Navigation
[0] Message Index
[#] Next page
Go to full version