From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 29 09:16:37 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7236E37B401 for ; Tue, 29 Apr 2003 09:16:37 -0700 (PDT) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F2AC43FA3 for ; Tue, 29 Apr 2003 09:16:36 -0700 (PDT) (envelope-from jester@panix.com) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail1.panix.com (Postfix) with ESMTP id AD96948D5E for ; Tue, 29 Apr 2003 12:16:35 -0400 (EDT) Received: (from jester@localhost) by panix2.panix.com (8.11.6p2/8.8.8/PanixN1.0) id h3TGGZj08185 for freebsd-mobile@freebsd.org; Tue, 29 Apr 2003 12:16:35 -0400 (EDT) Date: Tue, 29 Apr 2003 12:16:35 -0400 From: Jesse Sheidlower To: freebsd-mobile@freebsd.org Message-ID: <20030429161635.GA4293@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Problems with IR X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 16:16:37 -0000 I'm running FreeBSD 4.7 on an IBM X23 ThinkPad. I've been having some problems getting infrared to work, and haven't been able to get things working, even after searching the archives of this list and of the Net in general. Kernel seems to be OK: monopoly~ $ dmesg | grep sio [...] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A I've installed birda through ports, and it went fine. My problem seems to be that I can't get my pseudo-terminal working; when I try to start it up I get: monopoly~ # irs -d /dev/ttyd1 -y /dev/ptypv -c Cannot open pty The irs program itself seems to be working, as I can run it off ttyd1 and output to STDOUT instead of the pty and when I hold a beaming Palm up to the IR port, I get data on the screen. I'm not fully sure how MAKEDEV works, but I've tried a variety of options, including monopoly/dev # ./MAKEDEV ptypv bad unit for pty in: ptypv and pty0 and other things, some of which "work" but don't affect the irs output, e.g. monopoly/dev # ./MAKEDEV pty0 monopoly/dev # irs -d /dev/ttyd1 -y /dev/ptypv -c Cannot open pty I assume there's an obvious thing I'm missing here; would someone be kind enough to tell me what it is? Thanks. Jesse Sheidlower