Re: [javax-usb-devel] jni error with javax.usb on ubuntu karmic koala

2009-12-10 Thread Dan Streetman
~/Downloads/javax-usb-ri-linux-102/jni$ make > gcc -I/include -I/include/linux -Wall -fPIC -c JavaxUsbKernel.c > In file included from JavaxUsbKernel.c:11: > JavaxUsb.h:14:44: error: com_ibm_jusb_os_linux_JavaxUsb.h: No such file or > directory > In file included from JavaxUsb.h:15

Re: [javax-usb-devel] jni error with javax.usb on ubuntu karmic koala

2009-12-10 Thread Lee M Surprenant
-I/include/linux  -Wall -fPIC   -c JavaxUsbKernel.c In file included from JavaxUsbKernel.c:11: JavaxUsb.h:14:44: error: com_ibm_jusb_os_linux_JavaxUsb.h: No such file or directory In file included from JavaxUsb.h:15, from JavaxUsbKernel.c:11: JavaxUsbLog.h:14:17: error: jni.h: No

[javax-usb-devel] jni error with javax.usb on ubuntu karmic koala

2009-12-09 Thread Lee M Surprenant
I'm having some trouble trying to run the javax-usb-ri-linux package on a fairly new linux (2.6.31.1). After manually mounting /proc/bus/usb I seem to be hitting the same problem with both my client and the sample swing client. Filesystem info and trace messages below: i...@ubuntu:/proc/bus/us

Re: [javax-usb-devel] error with JavaxUsb

2009-09-30 Thread NGUYEN Cong Kinh
nh > wrote: > > Hello Dan, > > I am using Java 6 et eclipse Galileo 3.5. I have changed the > libJavaxUsb.so library to the 1.0.1 version. The program can find > the usb devices. Now I execute some code, I see the error below: > > [default](0) Java

Re: [javax-usb-devel] error with JavaxUsb

2009-09-29 Thread Dan Streetman
find the usb devices. Now I > execute some code, I see the error below: > > [default](0) JavaxUsbChecks.h.debug_exception[75] !! JNI Exception : file > (JavaxUsbPipeRequest.c) function (pipe_request) line (41) > > [default](0) JavaxUsbChecks.h.debug_exception[76] ! Failure

Re: [javax-usb-devel] error with JavaxUsb

2009-09-29 Thread NGUYEN Cong Kinh
Hello Dan, I am using Java 6 et eclipse Galileo 3.5. I have changed the libJavaxUsb.so library to the 1.0.1 version. The program can find the usb devices. Now I execute some code, I see the error below: [default](0) JavaxUsbChecks.h.debug_exception[75] !! JNI Exception : file

Re: [javax-usb-devel] error with JavaxUsb

2009-09-28 Thread Dan Streetman
ervices = UsbHostManager.getUsbServices(); > virtualRootUsbHub = services.getRootUsbHub(); > > System.out.println(virtualRootUsbHub.getUsbDeviceDescriptor().toString()); > > } catch (UsbException uE) { > throw new RuntimeException("Error : " +

[javax-usb-devel] error with JavaxUsb

2009-09-28 Thread NGUYEN Cong Kinh
{ services = UsbHostManager.getUsbServices(); virtualRootUsbHub = services.getRootUsbHub(); System.out.println(virtualRootUsbHub.getUsbDeviceDescriptor().toString()); } catch (UsbException uE) { throw new RuntimeException("

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-02-03 Thread Sumeet Chakraborty
Hello Roger, The USB Modem which I am using is from Sentar Wireless Technology and the model number is ST860U. Following is the link for the same. http://www.sentarwireless.com/rdr/?lang=english&mod=products&fileid=st860u_en.php On Tue, Feb 3, 2009 at 9:36 PM, Sumeet Chakraborty < sumeet.chakra

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-02-03 Thread Sumeet Chakraborty
Hello Roger, First of all my apologies for the delayed response. I went through the PSTN120.pdf and I would like to sincerely thank you for providing me such a nice document which has cleared my queries. However I am still left with a few queries. 1) How do I recognise which interface corresponds

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-29 Thread Roger Lindsjö
Sumeet Chakraborty wrote: > Hello Roger, > > Thanks for providing more insight to my problem. When we look into the > output of the "testlibusb-win32.exe" do we need to look at the key by > the name "*bmAttributes*". In the key bmAttributes key I could see > values as "02h", "03h", so do these

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-29 Thread Sumeet Chakraborty
Hello Roger, Thanks for providing more insight to my problem. When we look into the output of the "testlibusb-win32.exe" do we need to look at the key by the name "*bmAttributes*". In the key bmAttributes key I could see values as "02h", "03h", so do these values correspond to the values that is

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-28 Thread Roger Lindsjö
Sumeet Chakraborty wrote: > Hello Roger, > > Thanks for providing some insight into my problem however the manual > that came along with the USB Modem that I purchased does not provide > any kind of documentation as to what it supports. The machine on which > I am running this code does not have

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-28 Thread Sumeet Chakraborty
Hello Roger, Thanks for providing some insight into my problem however the manual that came along with the USB Modem that I purchased does not provide any kind of documentation as to what it supports. The machine on which I am running this code does not have a serial port it just has 4 USB ports.

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-28 Thread Roger Lindsjö
Sumeet Chakraborty wrote: > Hello Mike, > > Thanks a lot for providing some insight to my problem. Can you please > tell me whether it would be possible for me to send "AT" commands to > the USB Modem. Another thing which I wanted to ask you is you said > that there are 3 interfaces > Interface

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-28 Thread Sumeet Chakraborty
ave put the > > DLL in the path for JRE to recognise it. > > 2) I have downloaded the LibUSB-Win32 package for the Windows > > implementation after which I generated the "Mydevice.inf" and > > "Mydevice.cat" files using the inf-wi

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-27 Thread Mike Crowe
ydevice.cat" files using the inf-wizard.exe > 3) In my Java code firstly I traverse the RootHub to get > access to all my USB Devices after which I try putting > something to the console for each of the devices that I find. > 4) I also set the

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-27 Thread Dan Streetman
the USBConfiguration to 1 and then I traverse through all the > USB Interfaces after which I try to claim the interface, it works fine till > now but when I try to access the endpoints it gives me an error. > > > > log4j:WARN No appenders could be found for logger > (com.mc

Re: [javax-usb-devel] Javax USB Endpoint Error

2009-01-27 Thread Sumeet Chakraborty
that I find. > 4) I also set the USBConfiguration to 1 and then I traverse through all the > USB Interfaces after which I try to claim the interface, it works fine till > now but when I try to access the endpoints it gives me an error. > > > > log4j:WARN No appenders could

[javax-usb-devel] Javax USB Endpoint Error

2009-01-27 Thread Sumeet Chakraborty
es that I find. 4) I also set the USBConfiguration to 1 and then I traverse through all the USB Interfaces after which I try to claim the interface, it works fine till now but when I try to access the endpoints it gives me an error. log4j:WARN No appenders could be found for logger (com.mcreations.

Re: [javax-usb-devel] jsr80_ri_linux.jar/error concern

2008-09-03 Thread Dan Streetman
t; I build it on Eclipse, and this is the error that I receive. > > Exception in thread "main" java.lang.RuntimeException: Error : The UsbServices > implementation class com.ibm.jusb.os.linux.LinuxUsbServices was not found : > com.ibm.jusb.os.linux.LinuxUsbServices >

[javax-usb-devel] jsr80_ri_linux.jar/error concern

2008-09-03 Thread Philip Andrada
it on Eclipse, and this is the error that I receive. Exception in thread "main" java.lang.RuntimeException: Error : The UsbServices implementation class com.ibm.jusb.os.linux.LinuxUsbServices was not found : com.ibm.jusb.os.linux.LinuxUsbServices at ShowTopology.getVi

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-29 Thread Dan Streetman
gt; Jun 29 00:51:27 gilmour kernel: [113474.692905] usb 2-3: usbdev_ioctl: > REAPURBDELAY > Jun 29 00:51:27 gilmour kernel: [113474.693920] usb 2-3: usbdev_ioctl: > REAPURBDELAY > Jun 29 00:51:27 gilmour kernel: [113474.694934] usb 2-3: usbdev_ioctl: > REAPURBDELAY > ... > >

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-28 Thread Gabriel Queiroz
Thanks a lot for your patience! Best regards, -- Gabriel Queiroz Silva E-mail: [EMAIL PROTECTED] Tel: +55 61 9604.1412 On Sat, Jun 28, 2008 at 12:03 PM, Dan Streetman <[EMAIL PROTECTED]> wrote: > Ah, the error is on the interrupt in pipe. You're going to need a usb > bus trace to see

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-28 Thread Dan Streetman
Ah, the error is on the interrupt in pipe. You're going to need a usb bus trace to see what's going on. On Fri, Jun 27, 2008 at 7:47 PM, Gabriel Queiroz <[EMAIL PROTECTED]> wrote: > Hi Dan, > > Sorry, hadn't get ya. I don't need to send any command. The device

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Gabriel Queiroz
Hi Dan, Sorry, hadn't get ya. I don't need to send any command. The device is enumerated, and after it waits for the user to push a button... If a button is pressed, then the device sends a command. But nothing is being sent before the error, just the normal setup routine. Cheers,

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Dan Streetman
Yes, of course it happens after a submit, what I meant was what command are you sending that causes the error? On Fri, Jun 27, 2008 at 6:59 PM, Gabriel Queiroz <[EMAIL PROTECTED]> wrote: > Hi Dan, > > Inside LinuxPipeOsImp.java, method void asyncSubmit( UsbIrpImp i

[javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Gabriel Queiroz
again! -- Gabriel Queiroz Silva E-mail: [EMAIL PROTECTED] Tel: +55 61 9604.1412 On Fri, Jun 27, 2008 at 7:16 PM, Dan Streetman <[EMAIL PROTECTED]> wrote: > No hint unfortunately. You may be able to track down where in the > kernel it's generating the error, which might help, but ul

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Dan Streetman
No hint unfortunately. You may be able to track down where in the kernel it's generating the error, which might help, but ultimately it may be a device problem. What command are you getting the error for? On Fri, Jun 27, 2008 at 5:27 PM, Gabriel Queiroz <[EMAIL PROTECTED]> wrot

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Gabriel Queiroz
mplete output from MouseDriver.java: Found 1 HID-type interfaces. Found mouse by SubClass/Protocol Found mouse by Usage Page/Usage ID Found HID mouse. Driving HID mouse, move mouse to see movement events. Press Enter when done. Unable to submit data buffer to HID mouse : Error submitting IRP : Error

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Dan Streetman
According to my Linux errno.h file, 62 is "Timer expired". I have no idea where that would come from, but it's almost certainly coming from Linux, not javax.usb - all the generic "Error N" errors come from failed ioctls into Linux. If you are adventurous you could loo

[javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-26 Thread Gabriel Queiroz
the mouse pointer move around the screen.I I've got this device to work under windows and linux with the default hid drivers, but when i let the MouseDriver example drive it I'm getting the following error: Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62 I've

[javax-usb-devel] Error while loading shared library LibusbJNI.dll

2007-02-04 Thread Dmytro Bablinyuk
I got error: "Error while loading shared library LibusbJNI.dll : C:\Program Files\Java\jdk1.6.0\jre\bin\LibusbJNI.dll: The operating system cannot run %1" I have installed libusb-win32 but it didn't work - java app just exits after UsbHostManager.getUsbServices(). Then I copied

Re: [javax-usb-devel] Error in topology updater

2006-08-23 Thread Søren Mathiasen
On Wed, 23 Aug 2006 08:18:18 +0200, Søren Mathiasen wrote: This is on windows using libusb win32 from CVS > Hi, > > When running the SwingUsbView exmaple/test it fails. First it discover > all the devices correctly, all good. > Then it appears that some topology updater is executed in a thread, a

[javax-usb-devel] Error in topology updater

2006-08-22 Thread Søren Mathiasen
Hi, When running the SwingUsbView exmaple/test it fails. First it discover all the devices correctly, all good. Then it appears that some topology updater is executed in a thread, and then my devices disappears from the list :o( Is it me that is doing something wrong, or is this indeed a bug ? B

Re: [javax-usb-devel] HELP: Error : Properties file javax.usb.properties not found!

2006-05-29 Thread Dan Streetman
Well you mentioned several problems in your first email. What problem exactly are you having now? On Sat, 27 May 2006, ahmad al-ansary wrote: > >Please I still get the same error, even after installing the common >implementation. > >Sorry for bothering you, but I really n

Re: [javax-usb-devel] HELP: Error : Properties file javax.usb.properties not found!

2006-05-27 Thread ahmad al-ansary
Please I still get the same error, even after installing the common implementation. Sorry for bothering you, but I really need to overcome this problem. HELP HELP HELP !!! From:  Dan Streetman <[EMAIL PROTECTED]>Reply-To:  [EMAIL PROTECTED]To:  ahmad al-ansary <[EMAIL PROTECTED]&g

Re: [javax-usb-devel] HELP: Error : Properties file javax.usb.properties not found!

2006-05-22 Thread Dan Streetman
nloaded the RPMs javax-usb-1.0.1-1.i386.rpm >and javax-usb-ri-linux-1.0.1-1.i386.rpm, and installed them both, then I >downloaded the examples, but every time I try to run the project (one of the >examples), I get the error: > >Error : Properties file javax.usb.properties not found

[javax-usb-devel] HELP: Error : Properties file javax.usb.properties not found!

2006-05-21 Thread ahmad al-ansary
try to run the project (one of the examples), I get the error: Error : Properties file javax.usb.properties not found I tried to do some troubleshooting, and here is my story: First of all I can't import javax.usb, it keeps telling me that "can't find symbol", I then copied

Re: [javax-usb-devel] The version is :javax.usb.UsbException: Error while loading shared library libJavaxUsb.so : no JavaxUsb in java.library.path

2006-03-06 Thread Dan Streetman
rvices servee=UsbHostManager.getUsbServices(); > > } > catch(Exception e) { System.out.println("The version is :" +e);} > > } > } > > The above program gets compiled but it doesnot run and gives the error > message

[javax-usb-devel] The version is :javax.usb.UsbException: Error while loading shared library libJavaxUsb.so : no JavaxUsb in java.library.path

2006-03-05 Thread Aravindakshan M R
trial */ public static void main(String args[]) { try {       UsbServices servee=UsbHostManager.getUsbServices();   } catch(Exception e) { System.out.println("The version is :" +e);}     } } The above program gets compiled but it doesnot run and gives the error message shown in t

Re: [javax-usb-devel] hi all. am new bie to this list.. am facing error..plz anyone help me..

2005-09-21 Thread Dan Streetman
You need to implement the entire USB mass storage protocol in Java if you want to access a mass storage device (which your memory stick is). I haven't looked at it but I think it's pretty big! Also, if you actually want to get files off of the stick, you'll need to implement a FAT32 driver (

Re: [javax-usb-devel] hi all. am new bie to this list.. am facing error..plz anyone help me..

2005-09-21 Thread siva balan
y it out...On Mon, 12 Sep 2005, siva balan wrote:>hi all. am new bie to this list.. > i have to devlop some USB API based application in linux platform.. for USB devices(mobile,Camera,memory stick,mouse) for uploading and downloading files thru USB port..> first i start with example file Mouse

Re: [javax-usb-devel] hi all. am new bie to this list.. am facing error..plz anyone help me..

2005-09-19 Thread Dan Streetman
a,memory stick,mouse) for uploading and downloading files > thru USB port.. > first i start with example file MouseDriver.java.. i am facing some error.. > when i xecute it.. >then i devlop my own simple program.. stil

[javax-usb-devel] hi all. am new bie to this list.. am facing error..plz anyone help me..

2005-09-12 Thread siva balan
hi all. am new bie to this list..  i have to devlop some USB API based application in linux platform.. for USB devices(mobile,Camera,memory stick,mouse) for uploading and downloading files thru USB port..  first i start with example file MouseDriver.java.. i am facing some error.. when i xecute

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

2005-05-09 Thread Dan Streetman
face %d claimed " "while '%s' sets config #%d\n", actconfig->interface[i] ->cur_altsetting -

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

2005-04-26 Thread Dan Streetman
s = 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

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

2005-04-22 Thread Charles Chen
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

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

2005-04-22 Thread Dan Streetman
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.

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

2005-04-20 Thread Charles Chen
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

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

2005-04-20 Thread Dan Streetman
. >[xfer](5) JavaxUsbDeviceProxy.c.submitRequest[131] Submitting Pipe Request. >[xfer](2) JavaxUsbPipeRequest.c.pipe_request[62] Submitting URB >[xfer](1) JavaxUsbPipeRequest.c.pipe_request[73] Could not submit URB (errno >-22) >[xfer](2) >JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb_nati

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

2005-04-19 Thread Charles Chen
. [xfer](2) JavaxUsbPipeRequest.c.pipe_request[62] Submitting URB [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

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

2005-04-18 Thread Dan Streetman
Dan, >Thanks for the help with SetInterface, and I really appreciate it. I can >claim the interface setting and open the pipe now. But when I try to submit >data using sysncSubmit, I got Error submitting IRP: Invalid. I searched the >mailing list, and found that it is a problem with

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

2005-04-17 Thread Charles Chen
I tried add export $CINCLUDES before rebuilding jar and so too, but the problem is still there. The data transfer type is Isochronous. Thanks Charles Chen _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.cl

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

2005-04-17 Thread Charles Chen
Dan, Thanks for the help with SetInterface, and I really appreciate it. I can claim the interface setting and open the pipe now. But when I try to submit data using sysncSubmit, I got Error submitting IRP: Invalid. I searched the mailing list, and found that it is a problem with Fedora 2, which

[javax-usb-devel] claim error- device busy

2004-10-08 Thread ricardop
Hello, When I try to "claim" using javax.usb appears the following error: javax.usb.UsbException: Could not claim interface : Device or resource busy at com.ibm.jusb.os.linux.LinuxInterfaceOsImp.claim(LinuxInterfaceOsImp.ja va:88)

[javax-usb-devel] claim error- device busy

2004-10-08 Thread ricardop
Hello, When I try to "claim" using javax.usb appears the following error: javax.usb.UsbException: Could not claim interface : Device or resource busy at com.ibm.jusb.os.linux.LinuxInterfaceOsImp.claim(LinuxInterfaceOsImp.ja va:88)

[javax-usb-devel] claim error- device busy

2004-10-08 Thread ricardop
Hello, When I try to "claim" using javax.usb appears the following error: javax.usb.UsbException: Could not claim interface : Device or resource busy at com.ibm.jusb.os.linux.LinuxInterfaceOsImp.claim(LinuxInterfaceOsImp.ja va:88)

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

2004-10-07 Thread henrique
> > export CINCLUDES=-I/usr/src/linux-2.6.1/include >>>> > ant clean jars >>>> > >>>> > >>>> > >>>> > and use the jar built this way. >>>> > >>>> > On Thu, 2004-09-23 at 19:20, Andre Net

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

2004-10-06 Thread Dan Streetman
rique Martins >>> >>> > Build javax-usb-ri-linux using this option: >>> > >>> > export CINCLUDES=-I/usr/src/linux-2.6.1/include >>> > ant clean jars >>> > >>> > >>> > >>> > and use the jar buil

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

2004-10-06 Thread Dan Streetman
to wrote: > > > > > Hello, > > > > > > I have exactly the same problem, it all works fine with RedHat > > > 9.0(kernel version 2.4), but i get the same error with Fedora Core > > > release 2, kernerl version(2.6). > > > Did some one ma

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

2004-10-06 Thread henrique
nd use the jar built this way. > > On Thu, 2004-09-23 at 19:20, Andre Neto wrote: > > > Hello, > > > > I have exactly the same problem, it all works fine with RedHat > > 9.0(kernel version 2.4), but i get the same error with Fedora Core > > release 2, kern

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

2004-09-28 Thread Dan Streetman
/, >and rebuilt the jar. I've actualized the jar and the libJavaxUsb.so, and tried >to run the my code again, but I still get the same error in my 2.6.5 kernel. > >javax.usb.UsbException: Error submitting IRP : Invalid >at >com.ibm.jusb.os.linux.LinuxP

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

2004-09-24 Thread Dan Streetman
Really a pain. But that is not done yet, so for now, compile against the specific kernel headers for the kernel you want to run against. On Fri, 24 Sep 2004, Andre Neto wrote: >Hello, > >I have exactly the same problem, it all works fine with RedHat >9.0(kernel version 2.4), b

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

2004-09-23 Thread Andre Neto
Hello, I have exactly the same problem, it all works fine with RedHat 9.0(kernel version 2.4), but i get the same error with Fedora Core release 2, kernerl version(2.6). Did some one manage to get a solution to this problem? Regards, André Very strange. Can you try editing your

Re: [javax-usb-devel] Help - Error submitting IRP : Submission aborted

2004-09-20 Thread Dan Streetman
are you sure you are setting >configuration 0? Becasue config 0 disables (un-configures) the device. >Once you do that you shouldn't be able to use it at all, so I assume you >meant config 1. > >The error is -ENOENT which basically means "there is no endpoint 2" whic

Re: [javax-usb-devel] Help - Error submitting IRP : Submission aborted

2004-09-20 Thread Dan Streetman
Well before looking into anything else - are you sure you are setting configuration 0? Becasue config 0 disables (un-configures) the device. Once you do that you shouldn't be able to use it at all, so I assume you meant config 1. The error is -ENOENT which basically means "t

[javax-usb-devel] Help - Error submitting IRP : Submission aborted

2004-09-18 Thread Jenks, Robert
leted Request javax.usb.UsbException: Error submitting IRP : Submission aborted     at com.ibm.jusb.os.linux.LinuxPipeRequest.completeUsbIrp(LinuxPipeRequest.java:84)     at com.ibm.jusb.os.linux.LinuxPipeRequest.setCompleted(LinuxPipeRequest.java:74)     …   Any ideas???   -Robert

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

2004-09-10 Thread Dan Streetman
that block to remove it from the __KERNEL__ define (i.e. remove the #ifdef and #endif lines) everything should work ok. I have no idea why I didn't get this error before...I will see if I can get it fixed. On Fri, 10 Sep 2004, Susheel Yadav wrote: >Dan, >I tried the CINCLUDES optio

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

2004-09-10 Thread Susheel Yadav
, [exec] from JavaxUsbLog.c:11: [exec] /usr/src/linux/include/linux/mod_devicetable.h:21: error: syntax error before "kernel_ulong_t" [exec] /usr/src/linux/include/linux/mod_devicetable.h:21: warning: no semicolon at end of struct or union [exec] /usr/src/lin

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

2004-09-09 Thread Dan Streetman
] >Submitting Pipe Request. >LOG:[xfer](4) JavaxUsbPipeRequest.c.pipe_request[63] >Submitting URB >LOG:[xfer](1) JavaxUsbPipeRequest.c.pipe_request[74] >Could not submit URB (errno -22) >LOG:[xfer](4) >JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb

[javax-usb-devel] For scanner - Error submitting IRP: Invalid

2004-09-09 Thread Susheel Yadav
bmitRequest[131] Submitting Pipe Request. LOG:[xfer](4) JavaxUsbPipeRequest.c.pipe_request[63] Submitting URB LOG:[xfer](1) JavaxUsbPipeRequest.c.pipe_request[74] Could not submit URB (errno -22) LOG:[xfer](4) JavaxUsbDeviceProxy.c.Java_com_ibm_jusb_os_linux_JavaxUsb_nativeDeviceProxy[78] Completed Request Exception

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

2004-07-29 Thread Dan Streetman
rogram works perfectly fine when I execute it in Mandrake linux 9.1, >kernel version 2.4. But when I try to execute the same program for Fedora >Core release 2, kernel version 2.6.5, it fails. I get the error Error >submitting IRP :Invalid, which is as follows: > >javax.usb.UsbException: Err

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

2004-07-29 Thread Sathya Peri
Hello, Iam trying to submit data to a device (Card reader) suing syncSubmit(). Now this program works perfectly fine when I execute it in Mandrake linux 9.1, kernel version 2.4. But when I try to execute the same program for Fedora Core release 2, kernel version 2.6.5, it fails. I get the error

Re: [javax-usb-devel] Error submitting IRP : Device or resource busy

2004-07-15 Thread Dan Streetman
ubmit a control IRP packet to an USB device (UsbDevice. >asyncSubmit(UsbControlIrp irp)) and I get the following Exception: > >javax.usb.UsbException: Error submitting IRP : Device or resource busy > at >com.ibm.jusb.os.linux.LinuxPipeRequest.completeUsbIrp(Linu

Re: [javax-usb-devel] Error submitting IRP : Device or resource busy

2004-07-15 Thread Dan Streetman
ubmit a control IRP packet to an USB device (UsbDevice. >asyncSubmit(UsbControlIrp irp)) and I get the following Exception: > >javax.usb.UsbException: Error submitting IRP : Device or resource busy > at >com.ibm.jusb.os.linux.LinuxPipeRequest.completeUsbIrp(Linu

[javax-usb-devel] Error submitting IRP : Device or resource busy

2004-07-15 Thread Tomaz Hutter
Hello, I am trying to submit a control IRP packet to an USB device (UsbDevice. asyncSubmit(UsbControlIrp irp)) and I get the following Exception: javax.usb.UsbException: Error submitting IRP : Device or resource busy at com.ibm.jusb.os.linux.LinuxPipeRequest.completeUsbIrp

Re: [javax-usb-devel] error when building javax-usb-ri_0.10.2

2004-06-15 Thread Scott Trafford
--- Begin Message --- Roger The javac -J-version command gives "java version 1.4.2_04". Thanks, Scott On Jun 13, 2004 01:45 AM, Roger Lindsjà <[EMAIL PROTECTED]> wrote: > Could it be that you are running the kaffe compiler included with most > dristributions? > > What does 'javac -J-version'

Re: [javax-usb-devel] error when building javax-usb-ri_0.10.2

2004-06-12 Thread Roger Lindsjö
Could it be that you are running the kaffe compiler included with most dristributions? What does 'javac -J-version' give? //Roger --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, Insta

Re: [javax-usb-devel] error when building javax-usb-ri_0.10.2

2004-06-12 Thread Dan Streetman
ete] /usr/java142/javax-usb/javax-usb-ri/docs/jdoc not found. > >compile: > [echo] Compiling class files. >[javac] Compiling 46 source files to /usr/java142/javax-usb/javax-usb-ri/src >[javac] > /usr/java142/javax-usb/javax-usb-ri/src/com/ibm/jusb/tools/swing/UsbControlI

[javax-usb-devel] error when building javax-usb-ri_0.10.2

2004-06-12 Thread Scott Trafford
jusb/tools/swing/UsbControlIrpPanel.java:221: error: Type `JTextArea' not found in declaration of field `packetDataTextArea'. [javac] protected JTextArea packetDataTextArea = new JTextArea(3, 25); [javac] ^ [javac] /usr/java142/javax-usb/javax-usb-ri/sr

Error

2004-02-11 Thread javax-usb-devel
The message contains Unicode characters and has been sent as a binary attachment. <>