From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 30 08:25:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00FB816A4CE for ; Fri, 30 Apr 2004 08:25:35 -0700 (PDT) Received: from tyr.systh.org (c168015.adsl.hansenet.de [213.39.168.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 104A243D64 for ; Fri, 30 Apr 2004 08:25:34 -0700 (PDT) (envelope-from mm@tyr.systh.org) Received: from tyr.systh.org (localhost [127.0.0.1]) by tyr.systh.org (8.12.11/8.12.11) with ESMTP id i3UFPP9A020073 for ; Fri, 30 Apr 2004 17:25:25 +0200 (CEST) (envelope-from mm@tyr.systh.org) Received: (from mm@localhost) by tyr.systh.org (8.12.11/8.12.11/Submit) id i3UFPP5b020072 for freebsd-hackers@freebsd.org; Fri, 30 Apr 2004 17:25:25 +0200 (CEST) (envelope-from mm) Resent-From: mm@tyr.systh.org Resent-Date: Fri, 30 Apr 2004 17:25:25 +0200 Resent-Message-ID: <20040430152525.GA20064@tyr.systh.org> Resent-To: freebsd-hackers@freebsd.org Date: Fri, 30 Apr 2004 16:25:01 +0200 From: Martin Moeller To: freebsd-hackers@freebsd.org Message-ID: <20040430142501.GA3036@tyr.systh.org> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Homepage: http://www.systh.org/ X-OS: FreeBSD 4.9 STABLE (RELENG_4) http://www.freebsd.org/ X-Uptime: 4:15pm up 15 mins, 2 users, load averages: 0,15 0,19 0,15 User-Agent: Mutt/1.5.6i Subject: Accessing (the i4b) device driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 15:25:35 -0000 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: 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. Thanks in advance! Martin