outb, inb?

Discussion in 'Python' started by =?ISO-8859-1?Q?Daniel_Sch=FCle?=, Dec 18, 2005.

  1. Hello,

    I am looking for simple solution to outb to parallel port.
    The program should run on Linux. I hope someone here already
    faced this problem. In C it would look like

    iopl(3/*mode*/);
    ioperm(0x378 /*PORT_BASE*/, 3 /*bytes*/, 1/*on*/);
    outb(0xff /* < data */, 0x378 /*DATA_REG*/);

    Any ideas welcome

    Regards, Daniel
    =?ISO-8859-1?Q?Daniel_Sch=FCle?=, Dec 18, 2005
    #1
    1. Advertising

  2. =?ISO-8859-1?Q?Daniel_Sch=FCle?=

    Peter Hansen Guest

    Daniel Schüle wrote:
    > I am looking for simple solution to outb to parallel port.
    > The program should run on Linux. I hope someone here already
    > faced this problem.


    Third hit in Google for "python parallel port":

    http://pyserial.sourceforge.net/pyparallel.html

    -Peter
    Peter Hansen, Dec 18, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kris

    inb() keyboard port

    Kris, Jan 18, 2004, in forum: C Programming
    Replies:
    3
    Views:
    730
    August Derleth
    Jan 19, 2004
  2. mangesh

    type of segment inb memory

    mangesh, Apr 27, 2006, in forum: C++
    Replies:
    3
    Views:
    352
    Rolf Magnus
    Apr 27, 2006
Loading...

Share This Page