Commit graph

12 commits

Author SHA1 Message Date
Trevor Johnson
3bca696b10 Add size data, approved by maintainers. 2004-03-18 18:01:13 +00:00
Andreas Klemm
00dcb052a3 - fix for PR 58925
solves problem of hanging usb sessions with cams using gphoto2 ptp2 driver
- bumped port revision
- tested by different people under -current and -stable, no ill side
  effects and really cures the problem.

The author of bsd.c clearly states out in the sources, that he
has ported codee from linux 1:1 and he "kind of hopes" that it is ok.
But it wasn't.

This patch fixes hang that happens after the 1st read because the USB
driver tries to read more bytes than are available.

0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................
1.240828 gphoto2-port(2): Reading 512=0x200 bytes from port...
gp_port_read: Operation timed out
9.267455 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffde
-34
9.267819 context(0): PTP I/O error

PR:		58925
Submitted by:	Mariusz Woloszyn <emsi@ipartners.pl>
Reviewed by:	John Reynolds <johnjen@reynoldsnet.org> and some tester
Approved by:	portmgr@ (Joe Marcus Clarke <marcus@marcuscom.com>)
2003-11-25 19:35:43 +00:00
Akinori MUSHA
65dac0040a De-pkg-comment. 2003-02-21 11:23:04 +00:00
Josef Karthauser
4837a9b0ad Update to 0.1.7.
PR:	ports/46059
2002-12-08 23:35:41 +00:00
Kevin Lo
a33196df5e Update to 0.1.6a
PR: 39945
Submitted by: MAINTAINER
2002-06-28 07:54:14 +00:00
Josef Karthauser
fa038b6553 Fix a typo in the last patch.
Spotted by:	John Reynolds~ <jreynold@sedona.ch.intel.com>
2002-03-12 16:05:11 +00:00
Josef Karthauser
8a1046673f Only use the new usb structure names if the version of FreeBSD being
used to compile libusb has them, otherwise use the old names.
2002-03-11 13:46:09 +00:00
Josef Karthauser
634e326ac0 Some structures in usb.h have changed recently.
Submitted by:	John Reynolds <jreynold@sedona.ch.intel.com>
2002-03-11 00:29:13 +00:00
Vanilla I. Shu
68f3125be5 Upgrade to 0.1.5
PR:		ports/35232
Submitted by:	maintainer
2002-02-23 14:33:04 +00:00
Patrick Li
a0ec8340a8 Update maintainer's email address
PR:		33554
Submitted by:	maintainer
2002-01-04 22:44:13 +00:00
Patrick Li
a953e2dfa8 Update to 0.1.4 and add patch-ltmain.sh to prevent installing
useless .la files (bows to sobomax)

PR:		32245
Submitted by:	maintainer
2001-11-24 09:16:16 +00:00
Mikhail Teterin
447c09cd04 Add libusb 0.1.3b,
library giving userland programs access to USB devices.

PR:		24703
Submitted by:	John Reynolds <jjreynold@home.com>
2001-02-26 21:45:05 +00:00