From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 10 08:50:13 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 832D016A41F for ; Thu, 10 Nov 2005 08:50:13 +0000 (GMT) (envelope-from bland@FreeBSD.org) Received: from smtp3.jp.viruscheck.net (smtp3.jp.viruscheck.net [154.33.69.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id F02EF43D48 for ; Thu, 10 Nov 2005 08:50:12 +0000 (GMT) (envelope-from bland@FreeBSD.org) Received: from scan2.jp.viruscheck.net ([154.33.69.37] helo=mail4.jp.viruscheck.net) by smtp3.jp.viruscheck.net with esmtp (Exim 3.36 #1) id 1Ea88J-0005al-00 for freebsd-hackers@freebsd.org; Thu, 10 Nov 2005 17:50:11 +0900 Received: from [58.93.54.134] (helo=noc.orchid.orchidtechnology.com) by mail4.jp.viruscheck.net with esmtp (Exim 3.36 #3) id 1Ea88G-00079H-00 for freebsd-hackers@FreeBSD.org; Thu, 10 Nov 2005 17:50:08 +0900 Received: from [89.60.10.11] (horse.orchid.orchidtechnology.com [89.60.10.11]) by noc.orchid.orchidtechnology.com (8.13.4/8.13.4) with ESMTP id jAA8o7Xt049469 for ; Thu, 10 Nov 2005 17:50:07 +0900 (JST) (envelope-from bland@FreeBSD.org) Message-ID: <437309BD.7010704@FreeBSD.org> Date: Thu, 10 Nov 2005 17:50:05 +0900 From: Alexander Nedotsukov User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: No interrupts coming to device driver. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 08:50:13 -0000 Hi, I trying to create small lirc (www.lirc.org) compatible CIR driver for it8705 chip (sits on ISA bus). My problem is I can not get interrupts coming to driver. I believe I configured chip (carrier freq. + baudrate divisor) and enabled interrupt mode the same way it windows driver does. It also seems to be correct according to chip specs. But nothing. vmstat -i shows zeros for assigned irq. And my IRS stay cold. I wrote small userland program which polls CIRs IIR (interrupt identefication register) and it shows interrupt pending bit set on right after I press key on remote control. Looks like I missed something fundamental. Does anyone can give me a hint where to look? Thanks, Alexander.