Hello,

When you installed the javax.comm package, or depending on what JDK you
are using, you should be required to install a few native files on the
system.  I wasn't really aware that this would be compatible w/ Linux.
Is the Java Comm API in the Linux version of the Sun JDK?  If so, and if
you are positive that it is installed successfully (By testing with a
box with a native serial port), then you should be able to create an
enumeration of the currently available ports on the system.  This will
give you the names of the COM port you wish to address.  See the JavaDoc
for more details:

http://java.sun.com/products/javacomm/javadocs/packages.html

I am sure that the problem is due to the native libraries that are
required to implement the Comm API.  Currently you can download the
Windows/Solaris versions at:
http://java.sun.com/products/javacomm/index.html

Additionally, the FAQ states:

Q: Is there a linux version of the Java communications API?

A: We do not provide a linux implementation. But Kevin Hester
   has written Java communications API drivers for linux and uses our
CommPort 
   driver loading scheme to load his own gnu.io.RXTXCommDriver class. He
gave
   us permission to disclose his web page:

        http://www.interstice.com/kevinh/linuxcomm.html

Hope this helps!


     Regards,

Todd E. Johnson
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Min-gyu Cho
Sent: Monday, April 08, 2002 5:02 PM
To: [EMAIL PROTECTED]
Subject: [Linux-usb-users] usb-serial converter with javax.comm


Hi, all,

I want to use javax.comm with serial device connected with USB-serial
converter.

Since I don't have serial port on my laptop (Compaq presario 1700), I
bought Belkin USE-serial converter F5U409 (seems like compatible with
F5U109). I compiled linux 2.4.18 with mct_u232 module, and it worked.

But I cannot connect to it with javax.comm package. It seems like that
it only accepts COM1-4, not /tty/usb/ttyS0, etc. I couldn't find any
information regarding this on the google, etc. If you know the solution
or have some suggestions I can try, let me know.

Thanks in advance.

Min-gyu Cho



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Sponsored by http://www.ThinkGeek.com/


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to