我在用JUSB向U盘的ENDPOINT写如数据的时候,报如下错如:
java.io.IOException: NonJusb.writeBulk()   >>> NO JUSB DRIVER SUPPORT! Install jusb driver for that device to use this method.我的U盘有两个ENDPOINT 
写入代码如下:
............
for(int l=0;l<interfaces.getNumEndpoints();l++)
{
Endpoint endpoint = interfaces.getEndpoint(l);
System.out.println("Endpoint (" + l  + ")  Input:" +  endpoint.isInput());
if(endpoint.isInput())
{
    InputStream inputstream;
    inputstream = endpoint.getInputStream();
    inputstream.close();
          }
          else
{ byte[] CBW = new byte[32];
CBW[0] = (byte)0x80;
OutputStream outputstream;
outputstream = endpoint.getOutputStream();
outputstream.write(CBW);
outputstream.close();
}
}
........
好像国内用JUSB的不多,有那位兄弟用过的,能指点一下