Hi,
I have an ricoh rdc7 digitalcam and want to write a linux-usb-driver for it  
with javaxusb. I have the Java 2 Standard Edition (build 1.3.1_04-b02) with 
the latest javaxusb compiled from cvs, and SuSE 8.1 with kernel 2.4.19.

The device has only one interface and one configuration and I can use it 
without any problems.
But it have 4 endpoints: an input+output bulk and a interrupt-in + bulk-out. I 
can use the pipe of the bulk-output-emdpoint and can send a command to the 
camera with syncSubmit(byte[])  (I got that command with usbsnoop).
Ok, the camera reacts, shows me  the last picture on the display, like on 
windows. But according to usbsnoop it sends immediatly an ack, but if I try 
to read it with syncSubmit(byte[]) on the other pipe nothing happens.

I got also an error-msg on /var/log/messages:

Jun  9 21:47:03 Benjamin kernel: usb.c: USB disconnect on device 71
Jun  9 21:47:07 Benjamin kernel: hub.c: USB new device connect on bus1/2, 
assigned device number 72
Jun  9 21:47:07 Benjamin kernel: usb.c: USB device 72 (vend/prod 0x5ca/0x2201) 
is not claimed by any active driver.
Jun  9 21:47:24 Benjamin kernel: usbdevfs: process 4286 (java) did not claim 
interface 0 before use
Jun  9 21:47:24 Benjamin kernel: usbdevfs: process 4286 (java) did not claim 
interface 0 before use
Jun  9 21:47:51 Benjamin kernel: usbdevfs: process 4337 (java) did not claim 
interface 0 before use
Jun  9 21:47:54 Benjamin kernel: usb_control/bulk_msg: timeout
Jun  9 21:47:54 Benjamin kernel: usbdevfs: process 4337 (java) did not claim 
interface 0 before use

But I claimed that interface before and isClaimed() returns true. I tried also 
the other endpoints: on the other bulk-out, I can send what I want, 
the camera shows for a short time a black picture, on the 
interrupt-in-endpoint comes also nothing. 
I tested various combinations of it, and get no vaild data from the 
inputpipes. Is it perhaps a bug in javaxusb or in the kernel? Can anybody help 
me with it? Or perhaps tell me what I can test?

Benjamin Milde, Germany



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
javax-usb-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to