文件名称:基于windows平台java for usb开发
文件大小:286KB
文件格式:RAR
更新时间:2013-05-11 10:50:55
java usb 源代码 jsr80 jusb
1,执行InstallationFiles\JusbDriver下的jusb.reg,将必要信息导入注册表 2,将InstallationFiles\JusbDll下的两个文件复制到system32文件夹下面 JavaSources里面是源代码 直接执行RunUSBControllerTest.java即可 以下是我的执行结果 >>> RunUSBControllerTest: Observation Time = 1s <<< No Configuration Descriptor Builded for that device >>> USB Device Stack at the End: <<< Bus[ 5 ] [ 0 ] : [ROOT] numOfPort:2 Address:0 [ 1 ] : [NULL] [ 2 ] : [NULL] [ 3 ] : [NULL] [ 4 ] : [NULL] Bus[ 2 ] [ 0 ] : [ROOT] numOfPort:2 Address:0 [ 1 ] : [NULL] [ 2 ] : [NULL] [ 3 ] : [NULL] [ 4 ] : [NULL] Bus[ 1 ] [ 0 ] : [ROOT] numOfPort:10 Address:0 [ 1 ] : [USB DEVICE] on Port 1 Address : 1 uniqueID : USB/Adr_1&Port_1&Vid_04e8&Pid_6708&Rev_0101&Ver_0200&DevClass_00&DevSubClass_00&NumC_01 driverKeyName : {36FC9E60-C465-11CF-8056-444553540000}\0015 friendlyDeviceName: USB Mass Storage Device Object Type : Device, DeviceImpl, NonJUSB Device Descriptor: bcdUSB : 2.0 Device Class : 0 ( device ) Device Subclass : 0 Device Protocol : 0 Max Packet Size : 64 idVendor : 1256 0x4e8 idProduct : 26376 0x6708 bcdDevice release number : 1.01 iManufacturer : 1 iProduct : 2 iSerialNumber : 3 NumConfiguration : 1 [ 2 ] : [NULL] [ 3 ] : [NULL] [ 4 ] : [NULL] Bus[ 4 ] [ 0 ] : [ROOT] numOfPort:2 Address:0 [ 1 ] : [USB DEVICE] on Port 1 Address : 1 uniqueID : USB/Adr_1&Port_1&Vid_08ff&Pid_2580&Rev_0623&Ver_0110&DevClass_ff&DevSubClass_ff&NumC_01 driverKeyName : {53D29EF7-377C-4D14-864B-EB3A85769359}\0000 friendlyDeviceName: AuthenTec Inc. AES2501A Object Type : Device, DeviceImpl, NonJUSB Device Descriptor: bcdUSB : 1.1 Device Class : 255 ( vendor-specific ) Device Subclass : 255 Device Protocol : 255 Max Packet Size : 8 idVendor : 2303 0x8ff idProduct : 9600 0x2580 bcdDevice release number : 6.23 iManufacturer : 0 iProduct : 1 iSerialNumber : 0 NumConfiguration : 1 [ 2 ] : [NULL] [ 3 ] : [NULL] [ 4 ] : [NULL] Bus[ 6 ] [ 0 ] : [ROOT] numOfPort:2 Address:0 [ 1 ] : [NULL] [ 2 ] : [NULL] [ 3 ] : [NULL] [ 4 ] : [NULL] Bus[ 3 ] [ 0 ] : [ROOT] numOfPort:2 Address:0 [ 1 ] : [USB DEVICE] on Port 1 Address : 1 uniqueID : USB/Adr_1&Port_1&Vid_046d&Pid_c062&Rev_3100&Ver_0200&DevClass_00&DevSubClass_00&NumC_01 driverKeyName : {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}\0015 friendlyDeviceName: Logitech USB LS1 Laser Mouse Object Type : Device, DeviceImpl, NonJUSB Device Descriptor: bcdUSB : 2.0 Device Class : 0 ( device ) Device Subclass : 0 Device Protocol : 0 Max Packet Size : 8 idVendor : 1133 0x46d idProduct : 49250 0xc062 bcdDevice release number : 31.0 iManufacturer : 1 iProduct : 2 iSerialNumber : 0 NumConfiguration : 1 [ 2 ] : [NULL] [ 3 ] : [NULL] [ 4 ] : [NULL]
【文件预览】:
java for usb
----InstallationFiles()
--------JusbDriver()
--------JusbDll()
----ReadMe.txt(4KB)
----JavaSources()
--------usb()
--------RunUSBControllerTest.java(18KB)