Commit Graph

  • d5f82893fa Overflow handling Daniel Drake 2008-06-20 23:04:53 -05:00
  • 546dee211e a fix for SIGSEGV in handle_bulk_completion() Artem Egorkine 2008-06-17 18:27:38 -05:00
  • 947ba80564 Refine configuration selection again Daniel Drake 2008-06-16 22:50:50 -05:00
  • e7a7a49d03 docs update Daniel Drake 2008-06-15 15:29:38 -05:00
  • 217534e4b3 round up poll timeout Daniel Drake 2008-06-15 15:23:29 -05:00
  • 5ad79b324b fix doc about libusb_open() Felipe Balbi 2008-06-08 12:34:48 +03:00
  • 2d3a1111ca Temporary workaround for event handling serialization issue Daniel Drake 2008-05-29 17:26:26 +01:00
  • 514bb8790c Refine libusb_set_configuration() semantics Daniel Drake 2008-05-29 12:35:01 +01:00
  • d1292f8e73 v0.9.0 release v0.9.0 Daniel Drake 2008-05-25 23:42:42 +01:00
  • 4cd249388e Take lock before raising event waiters condition Daniel Drake 2008-05-25 22:59:09 +01:00
  • 7c525480ab Implement serialization of event handlers Daniel Drake 2008-05-23 15:57:07 +01:00
  • ff0660a415 allow LIBUSB_DEBUG env var to control message verbosity at runtime Daniel Drake 2008-05-24 21:28:31 +01:00
  • 4d788967e3 don't print messages by default Daniel Drake 2008-05-23 15:58:11 +01:00
  • bef33bb9eb Fix memory leak in libusb_control_transfer Daniel Drake 2008-05-19 15:43:27 +01:00
  • a345bacb6f Linux: fix handling of ioctl failure David Engraf 2008-05-19 15:16:32 +01:00
  • e44396a458 critical memory leak in handle_events David Engraf 2008-05-19 15:13:38 +01:00
  • eb25630f52 More informative libusb_open() return code Daniel Drake 2008-05-16 23:50:20 +01:00
  • 2b2e9c40b1 Fix endianness with descriptor handling Daniel Drake 2008-05-16 22:37:56 +01:00
  • 1298c51f51 Backend documentation for porting efforts Daniel Drake 2008-05-12 18:46:37 +01:00
  • ade26afc42 Linux: fix caching of guessed configuration Daniel Drake 2008-05-12 15:43:30 +01:00
  • e25d590a91 Linux: fix bulk transfer early completion Rob Walker 2008-05-11 21:14:18 +01:00
  • fec7c84163 Handle hot-unplugging Daniel Drake 2008-05-11 20:31:58 +01:00
  • aeb905fa5d Documentation work Daniel Drake 2008-05-11 16:04:35 +01:00
  • ba5d9a45c0 Endianness of control setup packets Daniel Drake 2008-05-11 15:36:24 +01:00
  • 7bedc3b268 Document that releasing interface causes SET_INTERFACE control request Daniel Drake 2008-05-11 15:11:59 +01:00
  • f2ede9876c Support unconfigured devices Daniel Drake 2008-05-10 21:45:42 +01:00
  • 8ebb4ccdfa Linux: fix caching of active configuration for non-sysfs Daniel Drake 2008-05-10 20:56:44 +01:00
  • c3844f7aeb Fetch configurations by index (not value) Daniel Drake 2008-05-10 14:42:43 +01:00
  • d77052c0d6 Linux: comprehensive sysfs vs usbfs access Daniel Drake 2008-05-10 00:12:53 +01:00
  • 74bc842bac Linux: no need to store usbfs node path Daniel Drake 2008-05-09 19:38:13 +01:00
  • fe4adcc99e Rework configuration handling Daniel Drake 2008-05-09 14:34:31 +01:00
  • 5741bfe01a libusb_get_device_list() can return negative error code Daniel Drake 2008-05-09 14:36:14 +01:00
  • 45413101b7 Linux: fix clear_halt implementation Daniel Drake 2008-05-08 23:09:21 +01:00
  • 10d4e427cc Documentation work Daniel Drake 2008-05-08 23:04:52 +01:00
  • ded0a24932 Linux: enumerate devices and descriptors from sysfs Daniel Drake 2008-05-05 22:57:48 +01:00
  • 885c2a5de6 documentation touchups Daniel Drake 2008-05-05 21:34:31 +01:00
  • 59c205d542 more error code sanitization Daniel Drake 2008-05-05 21:17:03 +01:00
  • 88055d4b59 Isochronous transfer helper functions Daniel Drake 2008-05-05 20:57:43 +01:00
  • a95c943ed3 free open devices on exit Daniel Drake 2008-05-05 17:54:33 +01:00
  • b27fff6338 move descriptor parsing into main library Daniel Drake 2008-05-05 17:47:49 +01:00
  • a304eca71f Detect endpoint halts and unsupported control requests Daniel Drake 2008-05-05 16:22:33 +01:00
  • 7da521954b Linux: fix logical URB allocation Daniel Drake 2008-05-05 01:00:31 +01:00
  • 470b1bc42b add functionality for querying and detaching kernel driver Daniel Drake 2008-05-04 16:51:23 +01:00
  • 17ecfb0ecc Descriptor reading functionality Daniel Drake 2008-05-04 16:20:46 +01:00
  • bdce367d1b sanitized error returns from synchronous I/O functions Daniel Drake 2008-05-04 14:22:16 +01:00
  • bfe74e9cd9 implement libusb_reset_device() Daniel Drake 2008-05-04 14:10:19 +01:00
  • c01f744ce0 Add functionality to clear endpoint halt conditions Daniel Drake 2008-05-04 13:46:41 +01:00
  • 5878daa85e Fix libusb_get_device_list return value Daniel Drake 2008-05-04 00:51:59 +01:00
  • a74106a9b4 Well-defined error codes for some operations Daniel Drake 2008-05-03 16:50:58 +01:00
  • 0f463fe671 Add libusb_set_configuration() Daniel Drake 2008-05-03 16:24:11 +01:00
  • e65608994f rename LIBUSB_ERROR_NOMEM to LIBUSB_ERROR_NO_MEM improves consistency Daniel Drake 2008-05-03 15:40:23 +01:00
  • 5384bbf300 Linux: better EACCES handling Daniel Drake 2008-05-03 14:34:54 +01:00
  • 1936eeeba3 Rename reference counting API Daniel Drake 2008-05-03 14:26:56 +01:00
  • e2f822b4f1 Linux: use read-only access to enumerate devices and descriptors Daniel Drake 2008-05-03 14:24:40 +01:00
  • 81204eed3d document pollfd notifiers Daniel Drake 2008-05-02 17:45:23 +01:00
  • e20f8281fb Allow multiple interfaces to be claimed Daniel Drake 2008-05-02 17:33:52 +01:00
  • 66685ff25d Documentation improvements Daniel Drake 2008-05-02 16:55:36 +01:00
  • 55bce39cbe detect short descriptor reads Daniel Drake 2008-05-02 12:55:34 +01:00
  • f3f17846dc remove "references" and "referenced by" listings in documentation Daniel Drake 2008-05-02 12:32:46 +01:00
  • fbb017dd9a Use typedef ptr types in parameters and return types Daniel Drake 2008-05-02 12:32:08 +01:00
  • 3675e978fb Expose bus number and device address Daniel Drake 2008-05-02 12:28:31 +01:00
  • 2012898ffc standardised error codes Daniel Drake 2008-04-29 15:26:46 +01:00
  • 0269c75ae3 Fix descriptor handling memory leaks Daniel Drake 2008-04-29 13:34:26 +01:00
  • d3ab4e3bd4 Rename endpoint_type to transfer_type Daniel Drake 2008-04-27 23:50:01 +01:00
  • 379e90e0fd Remove a FIXME comment Daniel Drake 2008-04-27 23:41:24 +01:00
  • 2ddf814205 Fix unlocked flying_transfers list access Daniel Drake 2008-04-27 23:30:34 +01:00
  • 7ac0a405b4 Remove libusb_cancel_transfer_sync Daniel Drake 2008-04-27 23:27:04 +01:00
  • a5006fd7b9 remove extra timeout check Daniel Drake 2008-04-27 19:56:02 +01:00
  • 3bdafaa359 Documentation touchups Daniel Drake 2008-04-27 19:53:51 +01:00
  • e12618c79d add threaded example program Daniel Drake 2008-04-19 16:17:53 +01:00
  • 1fcdb0678b libusb_device mutex protection Daniel Drake 2008-04-18 23:58:54 +01:00
  • 0efd2efa65 mutex protection for device and handle lists Daniel Drake 2008-04-18 23:42:40 +01:00
  • d2ff2b14a1 lock flying_transfers during transfer removal Daniel Drake 2008-04-18 20:00:31 +01:00
  • 2569980762 pollfds mutex protection Daniel Drake 2008-04-18 19:59:56 +01:00
  • f5a33e08ec flying_transfers mutex protection Daniel Drake 2008-04-17 18:24:54 +01:00
  • 85e1994123 Linux: fix control transfer cancellation Daniel Drake 2008-04-17 17:44:28 +01:00
  • cf9b831f7b set correct endpoint type for isochronous transfers Daniel Drake 2008-04-14 20:03:27 +01:00
  • ad6e2b712c Linux: fire multiple URBs at once for split transfers Daniel Drake 2008-04-11 21:40:07 +01:00
  • d9b2ce2894 Constify some return data Daniel Drake 2008-04-01 23:28:32 +01:00
  • 8d809854e2 Rename libusb_poll() to libusb_handle_events() Daniel Drake 2008-03-30 22:19:00 +01:00
  • 211f80c9f2 Isochronous endpoint I/O Daniel Drake 2008-03-25 16:24:30 +00:00
  • b1ade6fca6 distcheck fix for docs Daniel Drake 2008-03-23 21:17:32 +00:00
  • 62077b7fa5 Support for changing altsetting Daniel Drake 2008-03-23 21:13:14 +00:00
  • 0499e9f418 it's called bmRequestType Daniel Drake 2008-03-20 21:10:01 +00:00
  • 88884ae4bb Save transfer flags before invoking callback Daniel Drake 2008-03-20 21:07:00 +00:00
  • ead09cde68 API documentation Daniel Drake 2008-03-15 16:35:12 +00:00
  • 285724cc14 Fix get_device_list for realloc case Vasily Khoruzhick 2008-03-15 13:50:53 +02:00
  • c0c9432d38 Beginnings of cross-platform abstraction Daniel Drake 2008-03-13 12:36:56 +00:00
  • de4c5341d1 Add transfer flags Daniel Drake 2008-03-10 18:38:15 +00:00
  • aae05f688d Simplify libusb_fill_control_transfer() Daniel Drake 2008-03-10 11:32:15 +00:00
  • 7c5ea95297 get_device fixup Daniel Drake 2008-03-10 11:29:24 +00:00
  • 9e89d1aa82 Rename descriptor-getting functions Daniel Drake 2008-03-09 16:27:06 +00:00
  • 283ae96c3c Simplify cancellation API Daniel Drake 2008-03-09 16:15:02 +00:00
  • ebad1c7968 Rename libusb_dev_handle to libusb_device_handle Daniel Drake 2008-03-09 16:12:08 +00:00
  • 1ac0a7d88f Move synchronous I/O implementation to its own file Daniel Drake 2008-03-09 01:01:57 +00:00
  • 66348c90ea Separate transfer allocation and submission Daniel Drake 2008-03-09 00:58:09 +00:00
  • d21ebe47ce Rework URB API naming Daniel Drake 2008-03-08 12:48:35 +00:00
  • fd6fb3cc09 Add fallback on /proc/bus/usb Daniel Drake 2008-03-08 11:53:33 +00:00
  • f3fdf44791 Persistent libusb_device storage Daniel Drake 2008-03-08 00:10:16 +00:00
  • 23f8fb8baf Add convenience function to find and open a device by USB VID+PID Daniel Drake 2008-03-06 23:43:57 +00:00