Re: [javax-usb-devel] problem compiling javax-usb-ri-linux

2004-09-28 Thread Roger Lindsjö
On Tue, 28 Sep 2004 [EMAIL PROTECTED] wrote: > I'm having problem compiling javax-usb-ri-linux. One of the problems is > because there is no file stdio.h . A part of the messages that appear are: > [exec] JavaxUsbLog.h:15: stdio.h: No such file or directory > [exec] JavaxUsbLog.h:16:

[javax-usb-devel] problem compiling javax-usb-ri-linux

2004-09-28 Thread ricardop
I'm having problem compiling javax-usb-ri-linux. One of the problems is because there is no file stdio.h . A part of the messages that appear are: [echo] Compiling JNI library. [exec] gcc -I/home/kurumin/j2sdk1.4.2_05/include -I/home/kurumin/j2sdk1.4.2_05/include/linux -Wall -c Jav

Re: [javax-usb-devel] help in using UsbPipeListener

2004-09-28 Thread Dan Streetman
to get data in, you have to provide a buffer. You're talking to devices at the raw USB level, and nothing is done for you. Adding a listener does not do anything, the listener is just sees data transfers, but you have to perform the data transfer. For an in-direction bulk pipe, you should cr

Re: [javax-usb-devel] HID and JSR80

2004-09-28 Thread Dan Streetman
If using the event/evdev interface is easier, definitely use that. Going directly to the USB interface will be much, much more work for you. The kernel does a lot of work to translate USB, HID, etc. into evdev. If you use evdev, you can (or should be able to) transparently support any butto

Re: [javax-usb-devel] Re: Error submitting IRP :Invalid

2004-09-28 Thread Dan Streetman
What data specifically are you sending to the device? Did you rebuilt the native library or just the jar? You need to rebuild the native library (i.e. "ant all" or "ant clean jars"). Getting a JNI trace will help too, you can enable it either by editing the javax.usb.properties file to enabl