Hello.

I realized that the jar javax-usb-ri-linux_0.10.6 can't compile for
2.5.x and 2.6.x kernel because the change of some struct in the
usbdevice_fs.h header.

usbdevfs_ctrltransfer was redefined to 

struct usbdevfs_ctrltransfer {
        __u8 bRequestType;
        __u8 bRequest;
        __u16 wValue;
        __u16 wIndex;
        __u16 wLength;
        __u32 timeout;  /* in milliseconds */
        void __user *data;
};

all its fields was renamed but in JavaxUsbActive.c are the old names
still.

When I tried to fix it I found that in JavaUsbKernel we are determining
the kernel version at runtime by setKernelVersion. Why doesn't we
determine it at compile time with linux/version.h and the 
LINUX_VERSION_CODE and KERNEL_VERSION macros?

Could I help with that ?

Thanks in advance.

Gabriel.



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to