Dear Roger and javax-usb users . I managed to get the required information with
 
> "getDescriptor+getConfiguration"

> bmRequestType 10000000B
> bRequest  GET_DESCRIPTOR
> wvalue 0x0200 /*Configuration*/
> windex 0
> wvalue  256 bytes (old was only 9 bytes).
 
It returns 32 bytes , 9 for configuration , 9 for interface and 7+7 for endpoints(which are DATA endpoints) , everything is fine with the specification . The printer is USB1.1
 
However two problems remain .
The first is that HP1000Laserjet does respond to
 
GET_DEVICE_ID , GET_PORT_STATUS class-specific requests
 
with
 
> "getPortStatus"

> bmRequestType 10100001B
> bRequest  0x01
> wvalue 0x0000 /*Configuration*/
> windex 1 or 0
> wvalue 1 byte .
 
I get a device busy exception . (maybe I do something wrong , so I will keep trying for a while)
 
The second is that I cannot claim the interface .
 
Vasileios Anagnostopoulos

Reply via email to