From: Samuel Audet <samuel.audet@gm...> - 2009-07-28 01:27:53
I found a simple way to detect whether we can use speed S800 or not.. I
was just testing my 1394b cameras from PGR on a 1394a controller and the
following works just great to "detect" whether S800 can be used (remains
to be seen if this also works well for hubs and such):
- setup camera at S800, and start transmission or get one shot
- use poll() on the file descriptor...
- if after a few seconds poll() times out, then stop, and restart at S400
BTW, can we use poll() on Mac OS X?