Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 17:52:25 +0200
From:      Gerald Heinig <gheinig@syskonnect.de>
To:        Martin Moeller <moeller_ml@gmx.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Accessing (the i4b) device driver
Message-ID:  <40927639.1030602@syskonnect.de>
In-Reply-To: <20040430142501.GA3036@tyr.systh.org>
References:  <20040430142501.GA3036@tyr.systh.org>

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

take a look at isdnd. If all you want is a program to tell you whether 
someone's calling you and under what number, isdnd will tell you that in 
full screen mode.
Alternatively, if you want to write your own program, take a look at the 
isdnd sources to see how it's done.

HTH,
Gerald

Martin Moeller wrote:
> Hi all,
> 
> I'm totally new to FreeBSD programming, so please forgive my troll-like
> question! I'd like to write a nifty little program showing if somebody is
> calling me via an ISDN line. In the far future, the program should show the
> caller's telephone number.
> The ISDN kernel options are set and compiled ok, the system comes up with
> 
> isic0: <ELSA MicroLink ISDN/PCI> port 0xb800-0xb803,0xd000-0xd07f mem
> 0xeb800000-0xeb80007f irq 9 at device 11.0 on pci2
> isic0: passive stack unit 0
> 
> so I assume everything's working great so far. 
> 
> I've looked around in /usr/src/sys/i386/include/i4b_ioctl.h and other files
> but - to be honest - I don't have a clue how to go on from here. This kernel
> stuff seems to be more complicated than the usual little useless programs I
> write. :-(
> Could you please point me to some documentation that is helpful? Nothing in
> the FBSD developer/architecture handbook was able to enlighten me.



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