jUSB: Java USB

jUSB是一个开源的Java USB API,允许开发者用Java编写驱动USB设备的应用。目前主要针对开发者,提供了基本工具如jPhoto。它在GNU/Linux系统上运行,支持2.4及更高版本的Linux内核。项目包含一个服务提供者接口(SPI),抽象了实现细节,使得在其他操作系统上的适配只需编写新的SPI实现。已有Linux和初步的RMI提供者,也有部分Win32提供商的代码。此外,还提到了对USB 2.0设备的支持。
导读:
   About jUSB
  This project provides a Free Software (and Open Source) Java API for USB, supporting applications using Java host-side software to drive USB devices. Right now it's of most interest to developers, but some basic tools (including jPhoto) have been developed. Read the API FAQ (and other links at left) for more information.
  Although the bulk of this code works on any Java platform, access to USB devices currently requires that they be connected to a GNU/Linux host system. Your clients can be on other systems, if you like. The USB Host implementation works on most recent GNU/Linux distributions, either with the Linux 2.4 kernel support, or a backport of that into 2.2.18 kernel (and later). Of course, the 2.5 kernel works too. As one data point, the RedHat 7 distribution has worked without needing any patches or other upgrades.
  The usb.coreApplications Programming Interface(API) is supported by a Service Provider Interface (SPI) that abstracts implementation details from applications. Getting this software to work on another operating system should just mean writing new code implementing the SPI. Right now, there are two providers: the Linux one, and a preliminary RMI provider. Portions of a Win32 provider have also been written (but not submitted to the project).
  News, 17 September 2003OK, well the jUSB RPMs still aren't updated -- shoot me! But for all of you wanting jUSB/Windows support, there'ssoftware(source + binaries)available from Mike Stahl.(The content here isn't yet updated to use that code.)
  News, 3 April 2003We should be getting some updates soon, like an RH 9 RPM. Meanwhile, take a look atjSyncManager, an application using jUSB to synchronize with Palm PDAs.
  News, 24 July 2002Two interesting CVS updates. Win2K/XP starts; first code from Wayne Westerman (of Fingerworks). Adds usb.windowspackage; its javadoc is online (see link at left). Makefile now calls "uname -s" instead of relying on predefined symbol du-jour, so it builds on RedHat 7.3 and presumably many other systems (SuSE too).
  News, 22 March 2002Nothing much new to report, except that after a year or so the 2.4.19 prepatches (and 2.5.7 of course :) have the EHCI driver needed to support USB 2.0 device access. And yes, USB 2.0 devices are finally happening!
  News, 14 February 2001New 0.4.4 release from CVS, including initial USB 2.0 support.
  News, 3 January 2001CVS has some bugfixes to the RMI support, and also fixes some bugs in accessing interface descriptors.

本文转自
http://jusb.sourceforge.net/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值