Forget this article - its ages old. Create a link of your "/dev/ttyUSB0" to something like "/dev/ttyS20", give it proper permissions and use this one instead of the USB0.
RxTx does *NOT* need a "javax.comm.properties" file. Remove it and don't mix JavaComm and RxTx files! RxTx is just a .jar and a .so file. On Sep 25, 1:53 am, "S. Abidin" <[EMAIL PROTECTED]> wrote: > How I can map /dev/ttyUSB0 to "serial-like" device ? > > I have added /dev/ttyUSB0 to javax.comm.properties .. > > is this step necessary ?http://www.agaveblue.org/howtos/Comm_How-To.shtml > ====================================================== > At this point, we are almost finished. We just need to create the > properties file that the Comm API will use to load the drivers (.so > files). To create this file, type the following command: > > /bin/echo Driver=gnu.io.RXTXCommDriver > > /usr/java/j2sdk1.4.0/jre/lib/javax.comm.properti > =========================================================== > > On 9/25/08, Thanasis <[EMAIL PROTECTED]> wrote: > > > > > > > Ubuntu v8.04 is my test bed - RxTx and Java Comm v3 have both worked > > for me. It must be something obvious that we are missing... > > > Have you mapped the /dev/USB0 to a more "serial-like" device? > > > On Sep 24, 7:12 pm, "Abdul Arfan" <[EMAIL PROTECTED]> wrote: > >> On Wed, Sep 24, 2008 at 1:08 PM, Thanasis <[EMAIL PROTECTED]> wrote: > > >> > Hi, > > >> > Try to use the "-Djava.library.path" to point to where the RxTx .so > >> > file is. > > >> >http://code.google.com/p/smslib/wiki/CommonQuestions > > >> I have tried it. no change > > >> -- > >> Abdul Arfanhttp://arfan86.blogspot.com > > -- > -- > nokideen, > ym : nokideen > sms : 08385956664 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
