Ah, multi-setting interface with isoc endpoint(s)...

EINVAL (-22) is unfortunately the usbfs interface's generic error.  There 
are plenty of different reasons why the kernel would reject a URB with 
that error, so it's very hard to tell what specifically the kernel didn't 
like.  Can you send a full JNI trace to me, and also the output of 
"lsusb -v"?


On Wed, 20 Apr 2005, Charles Chen wrote:

>Dan,
>Here is the trace with urb enabled. Why do i get all those zeros? Thanks for 
>your help.
>
>[default](3) JavaxUsbInterfaceRequest.c.claim_interface[96] Claimed 
>interface 2
>[xfer](2) 
>JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb_nativeDeviceProxy[78]
> 
>Completed Request
>[xfer](2) 
>JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb_nativeDeviceProxy[75]
> 
>Got Request
>[xfer](5) JavaxUsbDeviceProxy.c.submitRequest[127] Submitting Request.
>[xfer](5) JavaxUsbDeviceProxy.c.submitRequest[135] Submitting SetInterface 
>Request.
>[xfer](3) JavaxUsbControlRequest.c.set_interface[177] Setting interface 2 to 
>setting 1
>[xfer](3) JavaxUsbControlRequest.c.set_interface[186] Set interface
>[xfer](2) 
>JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb_nativeDeviceProxy[78]
> 
>Completed Request
>[xfer](2) 
>JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb_nativeDeviceProxy[75]
> 
>Got Request
>[xfer](5) JavaxUsbDeviceProxy.c.submitRequest[127] Submitting Request.
>[xfer](5) JavaxUsbDeviceProxy.c.submitRequest[131] Submitting Pipe Request.
>[xfer](2) JavaxUsbPipeRequest.c.pipe_request[62] Submitting URB
>[urb](2) JavaxUsb.h.debug_urb[273] isochronous_pipe_request : URB endpoint = 
>84 status = 0 signal = 0
>[urb](2) JavaxUsb.h.debug_urb[274] isochronous_pipe_request : URB buffer 
>length = 50 actual length = 0
>[urb](3) JavaxUsb.h.debug_urb[288] isochronous_pipe_request : URB data = 00 
>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>[xfer](1) JavaxUsbPipeRequest.c.pipe_request[73] Could not submit URB (errno 
>-22)
>[xfer](2) 
>JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb_nativeDeviceProxy[78]
> 
>Completed Request
>Error in recording data: Error submitting IRP : Invalid
>[hotplug](3) JavaxUsbTopologyUpdater.c.build_device[112] Building device 
>/proc/bus/usb/001/001
>
>Charles
>
>_________________________________________________________________
>Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: New Crystal Reports XI.
>Version 11 adds new functionality designed to reduce time involved in
>creating, integrating, and deploying reporting solutions. Free runtime info,
>new features, or free trial, at: http://www.businessobjects.com/devxi/728
>_______________________________________________
>javax-usb-devel mailing list
>javax-usb-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>

-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to