From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 9 20:12:38 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62FAE106566B for ; Wed, 9 Sep 2009 20:12:38 +0000 (UTC) (envelope-from Alexander.Eichner@Sun.COM) Received: from gmp-eb-inf-1.sun.com (gmp-eb-inf-1.sun.com [192.18.6.21]) by mx1.freebsd.org (Postfix) with ESMTP id DAF108FC08 for ; Wed, 9 Sep 2009 20:12:37 +0000 (UTC) Received: from fe-emea-09.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n89KCaqk003445 for ; Wed, 9 Sep 2009 20:12:36 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0KPQ00F0000VX400@fe-emea-09.sun.com> for freebsd-emulation@freebsd.org; Wed, 09 Sep 2009 21:12:30 +0100 (BST) Received: from [192.168.2.102] ([unknown] [87.187.251.49]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0KPQ003DQ04TSFB0@fe-emea-09.sun.com>; Wed, 09 Sep 2009 21:12:30 +0100 (BST) Date: Wed, 09 Sep 2009 22:12:29 +0200 From: Alexander Eichner In-reply-to: <4AA800DF.2090904@shapeshifter.se> Sender: Alexander.Eichner@Sun.COM To: Fredrik Lindberg Message-id: <1252527149.6080.4.camel@Prometheus> X-Mailer: Evolution 2.26.1 References: <4AA800DF.2090904@shapeshifter.se> Cc: vbox-dev@virtualbox.org, freebsd-emulation@freebsd.org Subject: Re: [vbox-dev] Enable DrvHostSerial on FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 20:12:38 -0000 Hi, already committed before I got your mail. But good to know that nothing special is required to get this working because I couldn't test it here :) Regards, Alexander Eichner Am Mittwoch, den 09.09.2009, 21:24 +0200 schrieb Fredrik Lindberg: > The existing code for the host serial device (DrvHostSerial.cpp) > works on FreeBSD, it's just disabled by ifdefs. > > Attached is a patch to enable it, MIT license or whatever you want. > Compile-tested on FreeBSD 7 and 8, runtime tested on FreeBSD 8. > > I've tested it with a cross-over serial cable (null modem) connected > between two (physical) machines. Used cu and minicom inside guest > to connect to another cu/minicom-instance running on the second > machine. > My testing has been limited to this as I really don't have any other > fancy serial equipment :) > > Notes to people trying this with the ports version, the patch > does not apply cleanly and you'll have to modify > src/VBox/Devices/Makefile.kmk by hand. > > Fredrik