Commit graph

28 commits

Author SHA1 Message Date
drochner
3c2c0ffdd8 Make usb_control_msg() return the number of bytes actually transferred
rather than the requested transfer length (USBD_SHORT_XFER_OK is
set, so this may happen). This is the documented behaviour, and it is
appearently what the Linux version does. Bump PKGREVISION. From
Erik Berls per PR pkg/37053.
2007-10-11 18:25:19 +00:00
joerg
5eed2d6e5f Fix path names to USB devices on DragonFly. Bump revision.
Based on patch from Joe Talbott.
2006-05-26 10:06:13 +00:00
adam
44efee0a9e Changes 0.1.12:
Fix structure padding issues on some architectures
Fix compile warnings with newer versions of gcc
Fix memory leak when continuously rescanning for devices
Check for device nodes in /dev/usb under Linux
Fix compile problem with Darwin/Mac OS X port
Add support for Darwin/Mac OS X 10.4
Fix error when transactions are aborted
Requery endpoints when switching alternate settings
Support more BSD based distributions
Fix problem with short control messages in BSD port
Various other minor fixes
2006-03-11 08:34:12 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
heinz
bb0333b34c Enabled tests through appropriate TEST_TARGET. 2005-10-25 15:52:33 +00:00
reed
b786344c23 Add DragonFly support. (Okayed by drochner@.)
This needs testing under DragonFly.
2005-08-22 17:15:23 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
drochner
88fc228837 require gcc 3.3; should fix build on NetBSD-1.6
(PR pkg/29456 by diro@nixsys.bz)
2005-02-24 18:46:49 +00:00
adam
97f3544536 Changes 0.1.10:
* Fix various compile warnings
* Require newer autotools
* Switch from QT to STL for C++ extensions
* Linux:
  * Speed up small bulk and interrupt transfers to previous speeds
  * Fix case where bulk and interrupt transfers could block forever
  * Fix tree heirarchy building code (undocumented)
2005-02-14 09:50:18 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
wiz
a7be60e252 Bump PKGREVISION for patch-ad (usb_bulk_read() bugfix by mycroft). 2004-06-23 08:45:59 +00:00
grant
450eaed550 libusb is only for Darwin, FreeBSD, Linux, NetBSD and OpenBSD. 2004-06-06 02:22:15 +00:00
adam
87d9d5e8fa Changes 1.0.8:
New Features:
* Synchronous Interrupt read support.
* Added new usb_get_descriptor_by_endpoint() function. Properly prototyped
  existing usb_get_descriptor() function.
* (Linux) Check for usbdevfs in /sys/bus/usb (2.6 kernel).
* (Linux) Added usb_get_driver_np() function to get driver bound to interface.
* (Linux) Added usb_detach_kernel_driver_np() function to detach kernel driver
  from interface.

Bug Fixes:
* Many return values are starting to become normalized (consistent across ports)
* Various bug fixes in Darwin port.
* Fix usb_string() to fetch language index correctly.
* More documentation updates and fixes.
2004-05-03 08:45:44 +00:00
cube
251136c311 bl3ify 2004-02-21 22:54:04 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +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
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
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
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
3bce6f5e39 user level USB access library, used by Linux apps mostly 2001-03-28 10:11:41 +00:00