📄 changelog
字号:
libusb_get_device_list() can return negative error codecommit 45413101b78298e9332b22a34bc6bc159000ad8aAuthor: Daniel Drake <dsd@gentoo.org>Date: Thu May 8 23:09:21 2008 +0100 Linux: fix clear_halt implementation The ioctl expects an integer. Bug found with the assistance of Soumen Mondalcommit 10d4e427cc171dfd6ad7f43a33ce3cfebcd7aa04Author: Daniel Drake <dsd@gentoo.org>Date: Thu May 8 23:04:52 2008 +0100 Documentation work Partially based on some libusb-devel discussionscommit ded0a249322571a075e3ed3528021864247dfa55Author: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 22:57:48 2008 +0100 Linux: enumerate devices and descriptors from sysfs Suggested by Alan Stern. This avoids waking up any suspended USB devices. sysfs is not available on all systems, so the usbfs mechanism is still in place as a fallback.commit 885c2a5de69d6b7d8902bb55d6d83680a5a1a6e5Author: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 21:34:31 2008 +0100 documentation touchupscommit 59c205d542b43d79fe28622dbe8f03a3a3300b6fAuthor: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 21:17:03 2008 +0100 more error code sanitizationcommit 88055d4b5913102a90ff666f75fd922c74860dc5Author: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 20:57:43 2008 +0100 Isochronous transfer helper functionscommit a95c943ed301dcd20e92b0b3b255568899a4c42eAuthor: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 17:54:33 2008 +0100 free open devices on exitcommit b27fff633843824744df7d334cb89ece329cafa6Author: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 17:47:49 2008 +0100 move descriptor parsing into main library OS modules now provide functionality for fetching device/config descriptorscommit a304eca71f22c6df7d70a901483b30f1b8e93378Author: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 16:22:33 2008 +0100 Detect endpoint halts and unsupported control requestscommit 7da521954ba661d3f537440c31a84b66e974d56bAuthor: Daniel Drake <dsd@gentoo.org>Date: Mon May 5 01:00:31 2008 +0100 Linux: fix logical URB allocation We were allocating the wrong number of URBs for transfers of size multiples of 16k.commit 470b1bc42bf53373ce678fc76bab9160a54d6881Author: Daniel Drake <dsd@gentoo.org>Date: Sun May 4 16:51:23 2008 +0100 add functionality for querying and detaching kernel drivercommit 17ecfb0ecc833596c43755c80d461cddb9b3b0d7Author: Daniel Drake <dsd@gentoo.org>Date: Sun May 4 16:20:46 2008 +0100 Descriptor reading functionalitycommit bdce367d1bd8691465844b2411c85215498f517dAuthor: Daniel Drake <dsd@gentoo.org>Date: Sun May 4 14:22:16 2008 +0100 sanitized error returns from synchronous I/O functionscommit bfe74e9cd9c17a40fff042ea0647326f51cfecaeAuthor: Daniel Drake <dsd@gentoo.org>Date: Sun May 4 14:10:19 2008 +0100 implement libusb_reset_device()commit c01f744ce07bbeccbe353e956479f0cc5a811a6fAuthor: Daniel Drake <dsd@gentoo.org>Date: Sun May 4 13:46:41 2008 +0100 Add functionality to clear endpoint halt conditionscommit 5878daa85e3364bb3885190425d4f9deaa2d8c36Author: Daniel Drake <dsd@gentoo.org>Date: Sun May 4 00:51:59 2008 +0100 Fix libusb_get_device_list return value It was documented to return the list length, but was returning 0.commit a74106a9b48b88bae0e099be34a18d653a8f1238Author: Daniel Drake <dsd@gentoo.org>Date: Sat May 3 16:50:58 2008 +0100 Well-defined error codes for some operations Also renamed set_interface_altsetting to set_interface_alt_setting for better consistencycommit 0f463fe671455670efcf4a93e526b2a9082b0afeAuthor: Daniel Drake <dsd@gentoo.org>Date: Sat May 3 16:24:11 2008 +0100 Add libusb_set_configuration()commit e65608994f795f97e4d6adac20329ca08709db2dAuthor: Daniel Drake <dsd@gentoo.org>Date: Sat May 3 15:40:23 2008 +0100 rename LIBUSB_ERROR_NOMEM to LIBUSB_ERROR_NO_MEM improves consistencycommit 5384bbf300779e7936eac9ebd33ee38f5b533f8eAuthor: Daniel Drake <dsd@gentoo.org>Date: Sat May 3 14:34:54 2008 +0100 Linux: better EACCES handlingcommit 1936eeeba3f933a078df1005cc7c1533a8ec2bacAuthor: Daniel Drake <dsd@gentoo.org>Date: Sat May 3 14:26:56 2008 +0100 Rename reference counting API This improves consistency with the naming style of other functionscommit e2f822b4f17342f614ab2455179a80975fca6cb0Author: Daniel Drake <dsd@gentoo.org>Date: Sat May 3 14:24:40 2008 +0100 Linux: use read-only access to enumerate devices and descriptors Write access is not needed until later. Also fix handling of open() error code.commit 81204eed3d0a7744b89b68bd90d567b68d191a91Author: Daniel Drake <dsd@gentoo.org>Date: Fri May 2 17:45:23 2008 +0100 document pollfd notifierscommit e20f8281fb7da32587f81b5eea5818af1eab0fe0Author: Daniel Drake <dsd@gentoo.org>Date: Fri May 2 17:33:52 2008 +0100 Allow multiple interfaces to be claimedcommit 66685ff25d81a1f1a2a3dbda882d407638d00672Author: Daniel Drake <dsd@gentoo.org>Date: Fri May 2 16:55:36 2008 +0100 Documentation improvementscommit 55bce39cbe0c9746a428b66751d1afe551d86381Author: Daniel Drake <dsd@gentoo.org>Date: Fri May 2 12:55:34 2008 +0100 detect short descriptor readscommit f3f17846dcced6b2dc40f899ed6a2aba151c264bAuthor: Daniel Drake <dsd@gentoo.org>Date: Fri May 2 12:32:46 2008 +0100 remove "references" and "referenced by" listings in documentationcommit fbb017dd9a26ce449578482b95157b3c850fa446Author: Daniel Drake <dsd@gentoo.org>Date: Fri May 2 12:32:08 2008 +0100 Use typedef ptr types in parameters and return types This is passed through to the docscommit 3675e978fb7a1042f8601931255658bcd14a2298Author: Daniel Drake <dsd@gentoo.org>Date: Fri May 2 12:28:31 2008 +0100 Expose bus number and device addresscommit 2012898ffc492317cb428d97077bf5ee0e98e1daAuthor: Daniel Drake <dsd@gentoo.org>Date: Tue Apr 29 15:26:46 2008 +0100 standardised error codescommit 0269c75ae3de7acb2dc555e45928750e35fdb320Author: Daniel Drake <dsd@gentoo.org>Date: Tue Apr 29 13:34:26 2008 +0100 Fix descriptor handling memory leakscommit d3ab4e3bd4068cba41c1e12c4b175018dc3cb343Author: Daniel Drake <dsd@gentoo.org>Date: Sun Apr 27 23:50:01 2008 +0100 Rename endpoint_type to transfer_type Matches the USB specs more closelycommit 379e90e0fdcef6f4db1849fa0a7fd524407cf564Author: Daniel Drake <dsd@gentoo.org>Date: Sun Apr 27 23:41:24 2008 +0100 Remove a FIXME comment it can't.commit 2ddf81420557d016bbcbf28dda0d8d1c64d16264Author: Daniel Drake <dsd@gentoo.org>Date: Sun Apr 27 23:30:34 2008 +0100 Fix unlocked flying_transfers list accesscommit 7ac0a405b4c57db42e88cbcba5f135697f03b646Author: Daniel Drake <dsd@gentoo.org>Date: Sun Apr 27 23:27:04 2008 +0100 Remove libusb_cancel_transfer_sync This wasn't a particularly nice API. Cancellation should be handled by the completion handler.commit a5006fd7b9dae6f1db7969c8744086ba3a7c027bAuthor: Daniel Drake <dsd@gentoo.org>Date: Sun Apr 27 19:56:02 2008 +0100 remove extra timeout check If select() didn't timeout then don't check for more timeoutscommit 3bdafaa359d9c65e1af360b5338e1f25528a8066Author: Daniel Drake <dsd@gentoo.org>Date: Sun Apr 27 19:53:51 2008 +0100 Documentation touchups Detail that interrupt polling interval is fixed to endpoint bInterval, and that data may be transferred even on a timeout condition.commit e12618c79d520955b1abf80a277e881d91907162Author: Daniel Drake <dsd@gentoo.org>Date: Sat Apr 19 16:17:53 2008 +0100 add threaded example programcommit 1fcdb0678b759569db7cd530457dbc0a5f86fb1dAuthor: Daniel Drake <dsd@gentoo.org>Date: Fri Apr 18 23:58:54 2008 +0100 libusb_device mutex protectioncommit 0efd2efa65d5513e5754d717d522b2c5c45332e2Author: Daniel Drake <dsd@gentoo.org>Date: Fri Apr 18 23:42:40 2008 +0100 mutex protection for device and handle listscommit d2ff2b14a15e5099ff0214502944de30f141a39cAuthor: Daniel Drake <dsd@gentoo.org>Date: Fri Apr 18 20:00:31 2008 +0100 lock flying_transfers during transfer removalcommit 2569980762cb66804da31e54bef243702da8dfe9Author: Daniel Drake <dsd@gentoo.org>Date: Fri Apr 18 19:59:56 2008 +0100 pollfds mutex protectioncommit f5a33e08ec0da51ccb5e95a5adec50c5211a9bf5Author: Daniel Drake <dsd@gentoo.org>Date: Thu Apr 17 18:24:54 2008 +0100 flying_transfers mutex protection This marks the beginnings of thread safetycommit 85e1994123545125ce0653415d122f9790f8d041Author: Daniel Drake <dsd@gentoo.org>Date: Thu Apr 17 17:44:28 2008 +0100 Linux: fix control transfer cancellationcommit cf9b831f7bfd97ba88721c1d934aeda522f3692cAuthor: Daniel Drake <dsd@gentoo.org>Date: Mon Apr 14 20:03:27 2008 +0100 set correct endpoint type for isochronous transfers Pointed out by Felix Domkecommit ad6e2b712c5b54af44424e58a2776686314e26b7Author: Daniel Drake <dsd@gentoo.org>Date: Fri Apr 11 21:40:07 2008 +0100 Linux: fire multiple URBs at once for split transfers This results in a significant performance increase for bulk transfers larger than 16kb, and fixes a bug where data would be spliced and mixed between two simultaneously submitted transfers to the same endpoint. It also allows isochronous transfers larger than 16kb to be submitted. This commit also improves cancellation - the library now understands what is going on.commit d9b2ce2894ed43d34de6850f2dac50ccabf1db55Author: Daniel Drake <dsd@gentoo.org>Date: Tue Apr 1 23:28:32 2008 +0100 Constify some return data Make it clear that apps should not mess with these structurescommit 8d809854e2b19c2b7c27ab05e5d76b34e2a5ceadAuthor: Daniel Drake <dsd@gentoo.org>Date: Sun Mar 30 22:19:00 2008 +0100 Rename libusb_poll() to libusb_handle_events()commit 211f80c9f2a4a58cd2bbf5b7751f45089c8961e7Author: Daniel Drake <dsd@gentoo.org>Date: Tue Mar 25 16:24:30 2008 +0000 Isochronous endpoint I/O Due to variable-sized structures, this involved changing allocation mechanism. All transfers must now be allocated and freed through libusb. A synchronous function is missing, and I could do with writing a few more helper functions to simplify things.commit b1ade6fca668d8aa156d5b5bf3a933f116144dc2Author: Daniel Drake <dsd@gentoo.org>Date: Sun Mar 23 21:17:32 2008 +0000 distcheck fix for docscommit 62077b7fa5b222e1bb9dea3467585aed69d596e2Author: Daniel Drake <dsd@gentoo.org>Date: Sun Mar 23 21:13:14 2008 +0000 Support for changing altsetting
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -