From owner-freebsd-java Wed Feb 28 1:33:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id C1CD137B718 for ; Wed, 28 Feb 2001 01:33:40 -0800 (PST) (envelope-from ari@suutari.iki.fi) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id LAA19138; Wed, 28 Feb 2001 11:33:30 +0200 (EET) (envelope-from ari@suutari.iki.fi) Message-ID: <031e01c0a169$72cd7780$0e05a8c0@coffee> From: "Ari Suutari" To: "Peter Eccles" , References: <20010228194546.A58208@mirriwinni.cse.rmit.edu.au> Subject: Re: current commmapi native drivers Date: Wed, 28 Feb 2001 11:33:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > > i've been trying to find a working version of the commapi serial > driver. i've tried the rxtx driver which does not seem to be too > concerned with FreeBSD, (although some efforts have been made), and the > only other resource I found on the net seems quite old. > (http://student.ulb.ac.be/~jdricot/commapi/) > > Ive seen messages on this list about patches, but haven't found any > references to where they might be found. > > Is there any active development on FreeBSD friendly native drivers? > I have been using the commapi serial driver from URL you mention. I had some problems with native jdk1.2.2, because the JNI part uses select(2), which was not wrapped by JVM that time (maybe is now, I haven't checked). Anyway, I altered the driver so that it uses poll(2) instead of select. I have been using it to talk to Dallas Semiconductor's temperature sensors and weather station for some months without any problems. I can make those patches available but I don't currently remember on which of my machines I have them. I also exchanged some mail with the author of that code and he told me that he is no longer actively maintaining it since he was no longer using FreeBSD. Maybe someone could provide a new home for this and continue it's development. I myself might be able to help on serial interface since I have long experience with termios programming but I don't know anything about paraller port. I don't know if there are any legal issues on developing comm drivers like there is the SCSL license for JDK ? Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message