Accessing (the i4b) device driver
Gerald Heinig
gheinig at syskonnect.de
Fri Apr 30 08:53:49 PDT 2004
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.
More information about the freebsd-hackers
mailing list