Commit graph

24 commits

Author SHA1 Message Date
schmonz
39b20fc8a4 The USB API found in FreeBSD originated in NetBSD. Correct the
publicity statement in the configure script.
2002-11-18 07:05:06 +00:00
schmonz
6a714831d8 Update to 0.1.7. Changes from 0.1.6a:
Fix up error codes for darwin port.
Make sure short transfers are allowed on BSD port.
Fix bug when finding new busses during usb_find_busses().
Added two new functions: usb_get_string() and usb_get_string_simple().
Documentation updates.
Added LICENSE file.
Various other cleanups.
2002-11-18 06:25:51 +00:00
drochner
6f304b1505 forcibly disable building docs, otherwise it tries if jade is found
and fails
2002-10-22 16:00:33 +00:00
wiz
18a9131dfb Unused. 2002-10-08 20:09:14 +00:00
jlam
47f5a05b84 buildlink1 -> buildlink2 2002-08-26 17:54:34 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
wiz
9d531a1780 Make PKGNAME's version number part numeric. 2002-08-21 11:05:28 +00:00
mycroft
cddd6cc3cd Update to 0.1.6a. There is no documentation included on the changes, but a
cursory inspection suggests that they are mostly build related, and some minor
bug fixes to the platform-dependent code.
2002-08-19 19:07:19 +00:00
drochner
e13e16922d LTCONFIG_OVERRIDE->LIBTOOL_OVERRIDE 2002-05-08 17:43:40 +00:00
veego
0dd156e68a Bump version to 0.1.5nb1 after the -current usb fix. 2002-03-03 15:26:58 +00:00
veego
426f42b249 Add patch-ad. 2002-03-03 15:23:10 +00:00
veego
8904212a03 Patch to build it on -current systems after the renaming in usb.h.
Use the same logic as in usbutil.
2002-03-03 15:22:28 +00:00
veego
c33c399381 Patch from sourceforge (revision 1.12 of bsd.c):
Patch from seagull at aracnet.com:

Some time ago, I identified a problem with libusb under FreeBSD.  The issue
is that the current implementation of bsd.c assumes that a particular
endpoint is unidirectional.  If you write, for example, to endpoint 2,
you can't later on read from that same endpoint and visa-versa.  Although
USB pipes are unidrectional, they can be "stacked" on the same endpoint.
Endpoint 2, for example, has two pipes: 0x02 and 0x82, with the high bit
representing the transfer direction of the pipe.

Since the BSD USB stack does not let you open two descriptors for the same
endpoint, and it does not let you close and reopen an endpoint in the middle
of a "session", I had originally proposed that the endpoint always be opened
O_RDWR so that bidirectional communication would be supported.

However, it was later pointed out that a device which really did only have a
unidrectional pipe on an endpoint would fail on ENXIO if you tried to open
it O_RDWR, so I went back to the drawing board and came up with a patch
for bsd.c which should solve the issue for both cases.  What it does is
first attempt to open the endpoint O_RDWR.  If that fails on ENXIO, then it
attempts to open the pipe in the direction appropriate for the operation
that you were committing.
2002-03-03 15:20:10 +00:00
martti
ed75fb0577 Updated libusb to 0.1.5 (provided by Amitai Schlair in pkg/15516).
This version of libusb is required by the soon-to-be-released gphoto2.

- Add support for MacOS X (Darwin)
- Fix endianess correctly where applicable on all OS'
- Return bytes written/read for control message (BSD)
- Tweak documentation build
- Fix bug when usb_find_devices was called multiple times (Linux)
- Fetch descriptors for all devices when we can and parse them
2002-02-07 07:31:48 +00:00
martti
372298fd92 Updated to 0.1.4. List of changes is unknown (ChangeLog was not updated). 2002-01-03 10:42:49 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV.  We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well.  Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
2001-08-17 21:14:00 +00:00
jlam
c4ed1fa339 Mark as USE_BUILDLINK_ONLY and add a buildlink.mk file for use by other
package Makefiles.
2001-07-24 11:17:46 +00:00
drochner
64abe2546e patch from Havard Eidnes: correct handling of "mode" argument to
ensure_ep_open()
2001-06-15 16:36:51 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
drochner
7267f98c11 one more control endpoint hack 2001-03-28 16:43:56 +00:00
drochner
3bce6f5e39 user level USB access library, used by Linux apps mostly 2001-03-28 10:11:41 +00:00