I am having trouble using --port on my TS-7800 from Technologic systems.
Autodetect works fine like:
./gphoto2 --capture-image-and-download --force-overwrite
but this hangs:
./gphoto2 --capture-image-and-download --debug --debug-logfile=debug.txt --force-overwrite --port=usb:002,002
List of ports reports:
./gphoto2 --list-ports
Devices found: 10
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:/dev/ttyS4 Serial Port 4
serial:/dev/ttyS5 Serial Port 5
serial:/dev/ttyS6 Serial Port 6
serial:/dev/ttyS7 Serial Port 7
usb:002,002 Universal Serial Bus
I tried this on Ubuntu, and no problems there, but on the TS-7800 it hangs here:
0.419291 gphoto2-port(2): Setting settings...
0.419584 gphoto2-port-info-list(2): Getting info of entry 9 (14 available)...
0.421073 gphoto2-port(2): Setting timeout to 5000 milliseconds...
0.421317 gphoto2-port(2): Setting settings...
0.421518 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.421710 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.429179 libusb1(1): Looking for USB device (vendor 0x4a9, product 0x3218)... found.
0.431922 libusb1(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.432160 gphoto2-abilities-list.c(2): Found 'Canon EOS 600D' (0x4a9,0x3218)
0.432415 gphoto2-port(2): Freeing port...
0.432659 gphoto2-port(2): Closing port...
0.433343 gphoto2-camera(2): Setting abilities ('Canon EOS 600D')...
0.433582 gphoto2-setting(2): Setting key 'model' to value 'Canon EOS 600D' (gphoto2)
0.433785 gphoto2-setting(2): Saving 3 setting(s) to file "/root/.gphoto/settings"
0.434911 gphoto2-port-info-list(2): Looking for path 'usb:002,002' (14 entries available)...
0.435155 gphoto2-port-info-list(2): Getting info of entry 9 (14 available)...
0.435395 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:002,002'...
I also tried with a Canon 40D, and the same problem there.