Re: No interrupts coming to device driver.

From: Alexander Nedotsukov (bland_at_FreeBSD.org)
Date: 11/11/05

  • Next message: rashmi ns: "Need Help In sppp_attach"
    Date: Fri, 11 Nov 2005 13:02:47 +0900
    To: hselasky@c2i.net
    
    

    Hans Petter Selasky wrote:
    > On Thursday 10 November 2005 09:50, Alexander Nedotsukov wrote:
    >
    >> 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?
    >>
    >>
    >
    > Sounds like you have an unacknowledged interrupt. Does it help if you call the
    > interrupt handler once after that your chip has been reset and configured?
    >
    Did you mean unacknowledged to chip or interrupt controller? Anyway
    calling interrupt handler right after initialization does not seem to help.
    > Else sharing some of the source code might help.
    >
    Here you are: http://bbnest.net/~bland/it87pub/

    Alexander.

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: rashmi ns: "Need Help In sppp_attach"

    Relevant Pages

    • No interrupts coming to device driver.
      ... I trying to create small lirc compatible CIR driver for ... coming to driver. ... I believe I configured chip (carrier freq. ... divisor) and enabled interrupt mode the same way it windows driver does. ...
      (freebsd-hackers)
    • Re: No interrupts coming to device driver.
      ... > divisor) and enabled interrupt mode the same way it windows driver does. ... > It also seems to be correct according to chip specs. ...
      (freebsd-hackers)
    • Re: Handling SSC interrupts in Applesoft BASIC
      ... He has written an assembly-language program that reads and writes to the ... A little background on the concept of an interrupt. ... the initial interrupt handler does some ... No idea where the rest of the 256 char buffer is (John's ...
      (comp.sys.apple2.programmer)
    • Re: em network issues
      ... (as is automatic in fast interrupt handlers) ... task thinks it won't be interfered with by the em interrupt handler. ... Now that we start doing things, we have various races. ... SWI handler would just wake time, but missing scheduling would break ...
      (freebsd-net)
    • Re: Do I need a RTOS?
      ... an interrupt at a known interval. ... Should I use a full blown RTOS? ... I would say that's true only if your longest interrupt handler take more ... tasks with wildly different timing requirements to work smoothly. ...
      (comp.arch.embedded)