最終更新:2014-11-12 (水) 14:50:23 (1048d)  

libusb-win32 はてなブックマークを見る
Top / libusb-win32

a port of the USB library libusb-0.1

http://libusb-win32.sourceforge.net/

http://www.libusb.org/wiki/libusb-win32

libusb-0.1Windowsへの移植版

バージョン

  • Windows 98/Windows Meは0.1.12.2まで
  • 0.1.12.2の次は1.1.14.0
  • 1.2.0.0からドライバデジタル署名?されたのでx64版のWindowsでも動作する
  • 1.2.2.0からGUIのフィルタウィザードを提供

メモ

  • INFを作成するウィザードが付属

対応OS

  • Vista/7/2008/2008R2 64 bit are supported from version 1.2.0.0 since a Microsoft KMCS accepted digital signature is embedded in the kernel driver libusb0.sys. Moreover, libusb-win32 based device drivers can also be submitted for Microsoft WHQL testing. Several companies have successfully finished the WHQL testing with their libusb-win32 based driver package. This will allow the customers to install the driver without a warning under current 32bit/64bit Windows.

Features:

  • Can be used as a filter driver for existing, already installed devices. This feature allows libusb-win32 to communicate with many installed USB device. The filter driver may cause problems for certain device, including potential BSODs for certain setup. Therefore it should not be used by inexperienced end users. We recommend that it not to be redistributed to end users. Rather it should be considered more as a development tool for developers or power users of Windows.
  • Starting with v1.2.2.0, a GUI (filter wizard) is provided and it is only to attach the filter driver to particular USB device of interests. So this should be safer to use than the older behavior which tries to attach the filter to all USB device (acting as class filters to all possible device class). It is still possible to do that by using the console version of install-filter.exe but this is only recommended to be used by developers and power users.
  • Can be used as a normal device driver for devices for which no driver exists (self build/developed USB hardware, etc). You can also replace the existing device driver with libusb-win32 device driver if desired. This is the preferred way to use libusb-win32.
  • The two methods described above can be used in parallel. However, the device driver mode is the preferred way to use libusb-win32.
  • 100% API and functional compatible with the libusb 0.1 project.
  • Supports all USB transfer: Control, Bulk, Interrupt and Isochronous transfers. Take note the original libusb 0.1 does not support Isochronous Transfer under other Operating Systems like Linux. libusb-win32 also has its own asynchronous API which is not available to libusb-0.1 under Linux or other OS.
  • Supports all Standard Device Requests (control messages) described in chapter 9 of the USB specification.
  • Supports vendor specific control messages. The libusb-1.0 project will integrate libusb0.sys (libusb-win32 kernel driver) to the Windows backend. When this is done, then libusb-1.0 API will be supported. After that, it is recommended that libusb-win32 users try to port their application to use libusb-1.0 API

メモ

libusbがVistaに対応していないとのこと。しかも無理にインストールしようとするとUSBデバイスを始めとした各種デバイスのドライバに悪さをしてしまいます。キーボードやマウスがダメになってOS再インストール、という例も見受けられました(私も一歩手前まで行きました)。手探りって怖い。

http://blog.livedoor.jp/tapiokasan/archives/51944830.html

関連