Re: [PARPORT] Handling interrupts with select and poll?

From: Bob Tanner (tanner@real-time.com)
Date: Sat May 03 2003 - 23:57:52 EDT

  • Next message: Damien Mattei: "[PARPORT] reset // port device"

    On Saturday 03 May 2003 03:27 am, Tim Waugh wrote:
    > On Fri, May 02, 2003 at 02:49:47PM -0500, Bob Tanner wrote:
    > > Which of these fields is the selectable_fd member?
    >
    > Sorry, my mistake; I just read enough to see that you were looking at
    > the wrong struct parport.
    >
    > The selectable_fd member was replaced by the ieee1284_get_irq_fd()
    > function.
    >
    > (I'll fix the documentation in CVS.)

    After poking around a bit, I found out that once again, I'm an idiot when it
    comes to hardware. :-) I found the ieee1284_get_irq_fd() function, but it
    won't work. Of course, I -assumed- the problem was in the lib.

    Several hours later, I hooked a scope up to the hardware and won't you know
    it. No interrupts! Had a lengthy chat with the hardware guys, a few vlcd(?),
    vlc(?) (whatever the heck the program the hardware with) commands later, I
    got interrupts and everything works great.

    -- 
    Bob Tanner <tanner@real-time.com>         | Phone : (952)943-8700
    http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
    http://www.linuxjustworks.com             | Linux Just Works!         
    Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288
    

    -- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Sun May 04 2003 - 00:07:53 EDT