Menu

#141 Timeout when polling interrupt for events

None
open
None
5
2017-05-28
2017-05-23
Sam Shapiro
No

Hi All,

I'm trying to implement tethered capture for a camlib that I'm building, but can't seem to effectively read from the interrupt endpoint from within gphoto. All calls to gp_port_check_int() time out. I've also attempted to call libusb_bulk_transfer() and libusb_interrupt_transfer() on the GPort's underlying libusb_device object and got the same results (timeout).
All of the code which I'm using in my camlib was developed and tested outside of the gphoto context, so I have confirmed that the desired functionality is possible to acheive with the camera I'm developing for.

Discussion

  • Marcus Meissner

    Marcus Meissner - 2017-05-28
    • assigned_to: Marcus Meissner
    • Group: -->
     
  • Marcus Meissner

    Marcus Meissner - 2017-05-28

    This would mean you are not getting interrupts.

    is the interriupt endpoint correctly reported and set?

    the --debug output should probably show it

     

Log in to post a comment.