From owner-freebsd-current Sat May 2 15:56:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00348 for freebsd-current-outgoing; Sat, 2 May 1998 15:56:13 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00285 for ; Sat, 2 May 1998 15:55:59 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id XAA12316; Sat, 2 May 1998 23:43:06 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805022243.XAA12316@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Luigi Rizzo cc: itojun@itojun.org (Jun-ichiro itojun Itoh), current@FreeBSD.ORG Subject: Re: Infrared ? (a simple experiment for laptop owners...) In-reply-to: Your message of "Sat, 02 May 1998 17:22:50 +0200." <199805021522.RAA03142@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 02 May 1998 23:43:05 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > [forwarded to -mobile since it is probably relevant there --- i was > wondering how hard would it be to implement a 'lightweight' IrDA to > enable PPP between two FreeBSD laptops] > > > I've tried that several years before. > > > > If you open IR port as RS232C serial port (/dev/ttyd1), it will > > behave as half-duplex serial port. The port is strictly half-duplex, > > that is, if machine A and B send some bytes at the same time > > they will collide and junk byte will be received. > > actually it seems that receive is disabled while transmitting, but the > situation is no different from what you say. > What i was wondering, though, is if we could implement some quick and > dirty hack in iijppp to make it work. [.....] > This should be relatively easy to implement. Opinions ? I'd tend to implement some sort of half-duplex protocol layer at the ``struct physical'' layer in the new ppp (MP branch).... some relatively simple ``I've got control 'till I hand it over to you'' approach. It may even be useful to build something like that into the kernel - say as a line discipline. I haven't searched the rfcs.... > cheers > luigi > -----------------------------+-------------------------------------- > Luigi Rizzo | Dip. di Ingegneria dell'Informazione > email: luigi@iet.unipi.it | Universita' di Pisa > tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) > fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ > _____________________________|______________________________________ -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message