Thread: hi how to check my serial port is intrupt driver or poll driver?

  1. #1
    kotin
    Join Date
    Oct 2009
    Posts
    132

    hi how to check my serial port is intrupt driver or poll driver?

    hi how to check my serial port is intrupt driver or poll driver?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Can we assume from some of your other posts that your OS is Linux (for the purposes of this question).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    kotin
    Join Date
    Oct 2009
    Posts
    132
    ya. I am using link OS.

    can any one let me know how to know my serial port is intrupt driver or poll driver?

    I would appreciate any answer

  4. #4
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    I assume you mean lynxOS. It does help to be precise in these things: if you ask your questions with imprecision, you can't expect an accurate answer.

    Generally, with any OS, the expected way you find these things out is to read the documentation. Since there are multiple options to add serial ports to a system (for example, add-on cards) the answer can be hardware/vendor dependent.

    That said, serial drivers usually support both interrupt and polling operation. Applications therefore make the decision to either poll or be interrupt driven, and set things up accordingly for the particular device, rather than checking such things.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    I'm thinking he means the linkos version of Ubuntu...

    Link OS | Linux Netbook

    There seems to be very little information to be found... sorry I couldn't provide a better link ... but here's a possible explaination...

    http://linux.com/

  6. #6
    kotin
    Join Date
    Oct 2009
    Posts
    132
    HI i find solution.

    my OS is linux.

    if my serial port driver is intrupt drivers, then i can see it in the out put of #cat /proc/interrupts as 'serial'.

    But still i searching to how to find from software commands if my serial port is poll driven driver.

    i would appreciate any replys

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C++] USB gadget driver, unbound kernel driver?
    By Jelte in forum C++ Programming
    Replies: 0
    Last Post: 01-13-2010, 08:53 AM
  2. serial port to poll on request
    By infineonintern in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2009, 06:52 AM
  3. Right to the driver.
    By Yarin in forum C++ Programming
    Replies: 3
    Last Post: 09-10-2007, 01:58 PM
  4. pci driver
    By warney_out in forum Linux Programming
    Replies: 2
    Last Post: 06-21-2005, 02:06 AM
  5. rs232 serial driver
    By GreyMattr in forum C Programming
    Replies: 2
    Last Post: 03-20-2002, 12:55 PM