Subject: Re: comms/birda usage: 1.5Z required?
To: Lennart Augustsson <lennart@augustsson.net>
From: Russell McManus <russell_mcmanus@yahoo.com>
List: netbsd-help
Date: 05/29/2002 17:22:26
Lennart Augustsson <lennart@augustsson.net> writes:

> You should make sure that /dev/ttyqf exists if you want to use those
> commands (any othet free pty will do).  If your Thinkpad IrDA is
> connected via a serial port you don't necessarily need to update
> your version of NetBSD.

Thanks for the information.  Any ideas how to figure out what device
my thinkpad is using for IrDA?  I grepped through the output of dmesg,
and googled a bit, but I haven't found any information.  Maybe I
should just try some likely devices?

-russ


> Russell McManus wrote:
> 
> > I'm trying to use the comms/birda package to sync my palm devices with
> > my Thinkpad 600 running 1.5.2 using IrDA.  The irs(1) man page says:
> >
> >      To hotsync a palm over irda, use the following commands:
> >      irs -c -e -y /dev/ptyqf &
> >      pilot-xfer -p /dev/ttyqf -b backup-dir
> >
> > But when I run 'irs -c -e -y /dev/ptyqf' as root, I get the following:
> >
> > # irs -c -e -y /dev/ptyqf
> > Cannot default the port!
> >
> > I've sniffed around in the the source of birda a bit, and this message
> > is emitted when createSerialPort() fails.  createSerialPort()
> > ultimately calls open() repeated on files in /dev/.  Perhaps I need to
> > run MAKEDEV to have the right device files?
> >
> > Somewhere else on the Web, I found something that mentioned that IR
> > devices were added 1.5Z.  Is this correct; do I need to upgrade to
> > 1.5Z?
> >
> > -russ