Commit graph

9 commits

Author SHA1 Message Date
Stefan Walter
6e12912dea - Add usb_clear_halt implementation.
- Bump PORTREVISION.

PR:		100718
Submitted by:	Robert Nilsson <rnilsson@mac.com>
Approved by:	maintainer
		arved (mentor)
2006-07-30 11:48:24 +00:00
Pav Lucistnik
afe42a7a0a - Update to 0.1.12
PR:		ports/94428
Submitted by:	Pedro F. Giffuni <giffunip@asme.org>
Approved by:	maintainer timeout (14 days)
2006-03-29 06:53:06 +00:00
Joerg Wunsch
66845e0a35 Oops, forgot to actually cvs add the patch in previous commit...
(Set USBD_SHORT_XFER_OK when reading strings.)
2005-10-28 09:36:19 +00:00
Yen-Ming Lee
7fdd27b92c - update to libusb-0.1.10a
- bump library version to all ports that depends on libusb

PR:		79084
Submitted by:	John Reynolds <johnjen@reynoldsnet.org>
2005-04-13 10:22:22 +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
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