Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 1998 01:45:06 +0900
From:      Jun-ichiro itojun Itoh <itojun@itojun.org>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        current@FreeBSD.ORG
Subject:   Re: Infrared ? (a simple experiment for laptop owners...) 
Message-ID:  <5313.894127506@coconut.itojun.org>
In-Reply-To: luigi's message of Sat, 02 May 1998 15:44:50 %2B0200. <199805021344.PAA03038@labinfo.iet.unipi.it> 

next in thread | previous in thread | raw e-mail | index | archive | help

>I have just verified on the libretto that if i do
>	hd -v /dev/ttyd1
>(after setting clocal and some speed in the range 1200..115200) it is
>receiving infrared signals from the TV/stereo remotes.
>using ppp on /dev/cuaa1 also returns the garbage generated by the
>remotes, whereas it does not seem to receive its own data (maybe
>receive is disabled while transmitting).
>Perhaps some laptop owners can put their machines back to back, run ppp
>at the same speed and see if, going in "term" mode, they can talk to
>each other ?

	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.

	Therefore, if you run ppp over IR port, you may be able to "ping"
	each other but you won't be able to perform ftp and other bulky
	data transfer.
	(by doing bulk data transfer the chance for the collision is very high)

itojun

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5313.894127506>