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

2018-05-11 Thread Trygve Laugstøl
on., 09.05.2018 kl. 18.06 +0200, skrev Peter Stoiber: > Hello, > > I sucessfully build the Library and wrote some Lines to search for > connected devices in Java, but the program cant find anything. The > low level api works with the prebuiled jar files and I can find the > connected devices. The

[javax-usb-devel] Javax-USB

2018-05-09 Thread Peter Stoiber
Hello, I sucessfully build the Library and wrote some Lines to search for connected devices in Java, but the program cant find anything. The low level api works with the prebuiled jar files and I can find the connected devices. The system is Linux Mint 18.3 64bit. Regards, Peter -

[javax-usb-devel] Javax-usb

2018-05-06 Thread Peter Stoiber
Finally I solved to rebuild the 3 Libs (Javxx-usb Javax-usb-ri Javax-usb-ri-linux) with ant (64bit) and could load the Javax-usb sucessful to my project -- Check out the vibrant tech community on one of the world's mos

Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No usbfs!!!

2013-05-08 Thread Anson, Gary
Just where is USBDEVFS_DEVICES_NEW? Regards, Gary Anson Senior Software Engineer From: Tim Noell [mailto:[email protected]] Sent: Wednesday, May 08, 2013 10:48 AM To: Klaus Reimer Cc: [email protected] Subject: Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel

Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No usbfs!!!

2013-05-08 Thread Tim Noell
enior Software Engineer* > > *** > > ** ** > > *From:* Tim Noell [mailto:[email protected]] > *Sent:* Wednesday, May 08, 2013 10:48 AM > *To:* Klaus Reimer > *Cc:* [email protected] > *Subject:* Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel

Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No usbfs!!!

2013-05-08 Thread Tim Noell
Changing USBDEVFS_DEVICES_NEW to /sys/kernel/debug/usb/devices allows javax-usb-ri-linux to work for me. Hooray! Also, thanks for the suggestions ... FYI, T. On Wed, May 8, 2013 at 11:41 AM, Tim Noell wrote: > I found that in our deployment of the 3.5 kernel, we mount the debugfs > under /s

Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No usbfs!!!

2013-05-08 Thread Tim Noell
I found that in our deployment of the 3.5 kernel, we mount the debugfs under /sys/kernel/debug, which has the devices file under usb/devices. So, I might just be able to change #define USBDEVFS_DEVICES_NEW "/sys/kernel/debug/usb/devices" and it may "just work". Gonna give that a try - will report

Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No usbfs!!!

2013-05-07 Thread Tim Noell
Thanks for that link! Unfortunately, they require java 6 and I am stuck on Java 1.4 for other reasons ... (sigh), T. On Tue, May 7, 2013 at 3:01 PM, Klaus Reimer wrote: > On 07.05.2013 20:32, Tim Noell wrote: > > PS: I have already found this: > > http://trygvis.dyndns.org/~**trygvis/wiki/Imp

Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No usbfs!!!

2013-05-07 Thread Klaus Reimer
On 07.05.2013 20:32, Tim Noell wrote: > PS: I have already found this: > http://trygvis.dyndns.org/~trygvis/wiki/Implement_javax.usb_with_libusb > which looks interesting, but I don't know how baked it is. > Still exploring options ... If you need another option then you may want to check out

[javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No usbfs!!!

2013-05-07 Thread Tim Noell
Hi javax-usb-devel : We have a framework that has used javax-usb(-ri(-linux)) for years. Can't get rid of the API. But our kernel is being upgraded to >=3.5 and usbfs has gone away ( ;-( ) Meanwhile, looking at javax-usb-linux-ri 1.0.3 (latest) source, it still wants to find usbfs under either

[javax-usb-devel] javax-usb-ri-windows

2010-03-07 Thread Dirk Niemeier
Hallo, ist there any body out there who has an compiled/linked version of the Windows specific version? I know that the project is abandoned, but perhaps? I tried to compile it myself, but with no success. I uesed the actual WindowsDriverKit. There are so many errors so I don't know if it will work

[javax-usb-devel] javax-usb on Windows XP?

2009-11-24 Thread NGUYEN Cong Kinh
Hello everybody, I'm using javax-usb to exchange data between PC & USB in Java. I have successfully configured javax-usb with Debian. In fact, I want to deploy my application on Windows; but I see the line "This is an *ABANDONED* Windows implementation. it does not work, it needs a kernel drive

Re: [javax-usb-devel] javax-usb on Windows

2009-09-29 Thread Dan Streetman
On Tue, Sep 29, 2009 at 3:19 AM, Andre Juffer wrote: > > Dan Streetman wrote: >> >> I did not write the libusb implementation (which I think is the imp you are >> trying).  I am not sure if the libusb imp author is still on this list... > > That's right. The errors related to these 'void CALLBACK

Re: [javax-usb-devel] javax-usb on Windows

2009-09-29 Thread Andre Juffer
Dan Streetman wrote: > I did not write the libusb implementation (which I think is the imp > you are trying). I am not sure if the libusb imp author is still on > this list... That's right. The errors related to these 'void CALLBACK(...)' methods are all in usb.h. The other errors are in *.c f

Re: [javax-usb-devel] javax-usb on Windows

2009-09-28 Thread Dan Streetman
I did not write the libusb implementation (which I think is the imp you are trying). I am not sure if the libusb imp author is still on this list... I may be getting time to work on javax.usb again (or, maybe pass it along to someone else...), and I think finalizing a libusb implementation should

Re: [javax-usb-devel] javax-usb on AMD64

2009-09-28 Thread Dan Streetman
Re: the permissions, I reviewed the usbfs interface again and I think it should be possible to get the device info in read-only mode, i.e. so write access isn't needed. If I get the JNI updated I will let you know. On Sun, Sep 27, 2009 at 9:46 AM, Andre Juffer wrote: > Hi Dan, > > thanks for t

[javax-usb-devel] javax-usb on Windows

2009-09-27 Thread Andre Juffer
I am now trying to get the javax-usb running on a WIndows box. I experience quite a number of issue. This is the configuration: swig 1.3.36 java 1.6.0_16_b01 ant 1.7.1 libUSB-Win32 0.1.12.2 cyswig When trying to compile in the swig directory, usb.h causes a syntax error in 4 places. Each line

Re: [javax-usb-devel] javax-usb on AMD64

2009-09-27 Thread Andre Juffer
Hi Dan, thanks for the reply. I changed the permissions to ensure rw access to the nodes. That is, I have not changed w permissions for /dev or /dev/bus as this may result in all kinds of undesirable side effects, but but only for usb in /dev/bus: cd /dev/bus chmod -R a+w usb This affected th

Re: [javax-usb-devel] javax-usb on AMD64

2009-09-27 Thread Andre Juffer
I should add to my previous message, I need to issue cd /dev/bus chmod -R a+w usb each time I connect some USB device to one of the ports, so that FindUsbDevice actually finds it. Dan Streetman wrote: > The library requires read-write access to the USB nodes, so try either > running the progr

Re: [javax-usb-devel] javax-usb on AMD64

2009-09-25 Thread Dan Streetman
The library requires read-write access to the USB nodes, so try either running the program as root or change the permissions on the /dev/bus/usb/NNN/NNN nodes. On Wed, Sep 23, 2009 at 5:31 PM, Andre Juffer wrote: > Hello, > > I was wondering whether the JavaxUsb library would properly work on a

[javax-usb-devel] javax-usb on AMD64

2009-09-23 Thread Andre Juffer
Hello, I was wondering whether the JavaxUsb library would properly work on an AMD64 Linux box (running Lenny Debian). I have successfully compiled and installed the library, compiled all java sources from scratch (with Java 1.6) and everything seems to work. On the Linux box, 'lsusb -t' give

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
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 0 - No Endpoints Interface 1 - one Endpoi

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

2009-01-27 Thread Mike Crowe
On Tue, 2009-01-27 at 21:02 +0530, Sumeet Chakraborty wrote: > Hello Techies, > > Following is the output that I am able to see when I execute the > sample TestLibUsb.exe which is provided along with the "LibUSB-Win32" > package. > > > > DLL version:0.1.12.1 > Driver version:0.1.12.1 >

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

2009-01-27 Thread Dan Streetman
I'm not very familiar with the details of the libusb implementation. Can anyone else on the list who has used the libusb imp help? On Tue, Jan 27, 2009 at 6:00 AM, Sumeet Chakraborty wrote: > Hello Techies, > > I have a USB Modem and I want to send some AT Commands to the Modem Using my > Java Ap

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

2009-01-27 Thread Sumeet Chakraborty
Hello Techies, Following is the output that I am able to see when I execute the sample TestLibUsb.exe which is provided along with the "LibUSB-Win32" package. DLL version:0.1.12.1 Driver version:0.1.12.1 bus/device idVendor/idProduct bus-0/\\.\libusb0-0001--0x0471-0x1201 0471/1201

[javax-usb-devel] Javax USB Endpoint Error

2009-01-27 Thread Sumeet Chakraborty
Hello Techies, I have a USB Modem and I want to send some AT Commands to the Modem Using my Java Application. I have done the following so far. 1) I have downloaded the package javax usb and have put the DLL in the path for JRE to recognise it. 2) I have downloaded the LibUSB-Win32 package for th

Re: [javax-usb-devel] JAVAX usb under windows

2009-01-08 Thread Dan Streetman
http://sourceforge.net/projects/libusb-win32/ On Thu, Jan 8, 2009 at 1:22 AM, vaibhav joshi wrote: > > > From where i have to download libusb API's for windows ... > Thanx > >

Re: [javax-usb-devel] JAVAX usb under windows

2009-01-07 Thread vaibhav joshi
>From where i have to download libusb API's for windows ... Thanx -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell servic

Re: [javax-usb-devel] JAVAX usb under windows

2009-01-07 Thread Dan Streetman
Unfortunately there is no completely working implementation for Windows. I created the current, partial, Windows implementation, but nobody has ever helped me finish it. The libusb implementation is farther along, and is what you should try. If you have any problems with the libusb implementatio

[javax-usb-devel] JAVAX usb under windows

2009-01-07 Thread vaibhav joshi
Hello, I am required to access the files from the usb port under windows I tried my hand but couldn't make it then i saw the FAQ for this API's they say that these are cetified for linux and BSD ...Now how i be able to use this API's under windows I am working in Company and desper

Re: [javax-usb-devel] [javax-usb-jcp-tck] libusb-win32 working with interrupt data, now what

2008-08-12 Thread Dan Streetman
Also, I think I am getting the original TCK hardware back, so hopefully I can run the TCK test cases once I get it. But still, it should be easier to run the TCK without all the specific requirements. On Thu, Aug 7, 2008 at 2:16 PM, Roger Lindsjö <[EMAIL PROTECTED]> wrote: > Dan Streetman wrote:

Re: [javax-usb-devel] javax-usb-ri-linux compile problems

2007-11-10 Thread David Sere
Hello, first of all, thanks for your help, I really appreciate that. Finally its running. This is what I did: Installed older Linux respectively an older Kernel, where usb.h etc. is still available. Slightly modified the mod_devicetable.h. It was defining the kernel_ulong_t typedef only if __KE

Re: [javax-usb-devel] javax-usb-ri-linux compile problems

2007-11-09 Thread Vitaliy Berdinskikh
David Sere пишет: so, after adding all 3 jars and the javax.usb.properties directory to my CLASSPATH environment variable and copying the .so file to my /usr/lib/ directory i get this when i try to build theDefaultControlPipe example program: I did so: 1. ri patch for ri

Re: [javax-usb-devel] javax-usb-ri-linux compile problems

2007-11-07 Thread Dan Streetman
The file is a completely different file, provided by libusb, while is the header file from the kernel. Unfortunately the kernel guys keep changing it and in the latest kernels what we need is scattered across different files. So I think we will have to do what the libusb guys did, and just hard

[javax-usb-devel] javax-usb-ri-linux compile problems

2007-11-06 Thread David Sere
Hello, i just spent the last 20 hours with trying to compile javax.usb :D well as far as i came i have compiled the API and the common RI without any problems. now comes the part thats giving me the headache: After the first errors i had to change the path to usb.h from to in the JavaxUsbKerne

Re: [javax-usb-devel] javax-usb on Tomcat/Fedora 7

2007-08-12 Thread Dan Streetman
On 8/12/07, Kielogl <[EMAIL PROTECTED]> wrote: > Thanks for providing a easy to use and well documented standard for USB > access from Java! I have managed to get javax-usb working in a Tomcat 5.5 > Web app on Fedora 7, and come across a couple of issues along the way. > > 1. I found hub devices (e

[javax-usb-devel] javax-usb on Tomcat/Fedora 7

2007-08-12 Thread Kielogl
Thanks for providing a easy to use and well documented standard for USB access from Java! I have managed to get javax-usb working in a Tomcat 5.5 Web app on Fedora 7, and come across a couple of issues along the way. 1. I found hub devices (eg. /dev/bus/usb/001/001) need to be writable (as well

Re: [javax-usb-devel] Javax-usb for Windows

2006-12-13 Thread Parag
Parag gmail.com> writes: > > Hi, > I got the same problem even I have installed LibUSB-Win32. > Do you got the solution to this problem, > > please reply > > Thanks in advance, > Parag > > - > Take Surveys. Earn Cash.

Re: [javax-usb-devel] Javax-usb for Windows

2006-12-13 Thread Parag
Hi, I got the same problem even I have installed LibUSB-Win32. Do you got the solution to this problem, please reply Thanks in advance, Parag - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net

Re: [javax-usb-devel] Javax-usb for Windows

2006-02-10 Thread Dan Streetman
Maybe you havent' installed libusb-win32? On Wed, 8 Feb 2006, Alex Gardiner wrote: >Yesterday I asked where log4.properties should go. I have solved that >one - it should be in the same folder as the main class. > >Still did not make the system work. I have taken a copy of TraverseUSB >from my

[javax-usb-devel] Javax-usb for Windows

2006-02-10 Thread Alex Gardiner
Yesterday I asked where log4.properties should go. I have solved that one - it should be in the same folder as the main class. Still did not make the system work. I have taken a copy of TraverseUSB from my Linux m/c where it works to my Windows m/c where I have installed the Libusb-Win32 and a

[javax-usb-devel] javax-usb-libusb

2006-01-13 Thread Dan Streetman
Thanks to Kambiz Darabi, there is a ALPHA-level libusb implementation of javax.usb in CVS! He wrote the code with Windows in mind and it works with libusb-win32. Please see the code in CVS for more details, the package name is 'javax-usb-libusb'. Thanks! -- Dan Streetman [EMAIL PROTECTED]

Re: [javax-usb-devel] javax-usb-compilation

2004-09-20 Thread Dan Streetman
What kernel version are you using? What is the specific error? On Mon, 20 Sep 2004, Mohan Mistry wrote: >I had similar problems > >I did get a succesful build after getting >problems/instructions as David Usher posted >(2003-03-07) >http://sourceforge.net/mailarchive/forum.php?thread_id=179403

[javax-usb-devel] javax-usb-compilation

2004-09-20 Thread Mohan Mistry
I had similar problems I did get a succesful build after getting problems/instructions as David Usher posted (2003-03-07) http://sourceforge.net/mailarchive/forum.php?thread_id=1794036&forum_id=12681 Apache Ant version 1.5.3 compiled on April 16 2003 java version "1.4.2" Java(TM) 2 Runtime Envir

Re: [javax-usb-devel] javax usb UsbIrp Question

2003-09-04 Thread Dan Streetman
Hello, some others on the list may be able to help you specifically with bulk transfers, but in general you should be able to just sumbit another buffer. You probably don't need to create another Thread, you should be able to use a single Thread to get input from that pipe. You can do syncS

[javax-usb-devel] javax usb UsbIrp Question

2003-09-04 Thread hf y
I am new to here and hope someone can help. I am developing a generic USB device which need to use bulk data transfer, I can successfully use the javax-usb to view my configuration and even to get the pipe. I read from previous post that, in order to receive data, an emtpy buffer should be set fi

Re: [javax-usb-devel] javax-usb compilation

2003-03-07 Thread Dan Streetman
I can't see why you would get that error, the error doesn't make sense... javah only uses com.ibm.jusb.os.linux.JavaxUsb, which is a static class with no superclasses. So javah should not be trying to find that class (AbstractUsbServices). I guess the only thing I can suggest is trying to manu

[javax-usb-devel] javax-usb compilation

2003-03-07 Thread David Usher
Hi,   I am trying to get javax-usb functionality enabled on my machine.   I have java1.4.1_02 installed.   I downloaded the 3 files to enable java usb functionality: javax-usb_0.10.0.tar javax-usb-ri_0.10.0.tar javax-usb-ri-linux_0.10.0.tar   I downloaded ant from ant.apache.org version 1.5.2