Re: Raw I/O Problems with inb()

From: Matthias Urlichs (smurf_at_smurf.noris.de)
Date: 01/16/04

  • Next message: Florian Hinzmann: "linux2.6.1 - sym53c8xx: wide:0 documented, but not supported?"
    To: linux-kernel@vger.kernel.org
    Date:	Fri, 16 Jan 2004 12:27:47 +0100
    
    

    Hi, Brett Gmoser wrote:

    > Thanks in advance for any insight you all may be able to give me

    Reading port registers directly doesn't make sense. No USB keyboards, no
    remote use, ... you need to drop your DOS programming mentaility. Fast.

    You can use a PTY approach like script(1), or you can write a small kernel
    module like evbug (see the kernel source, drivers/input/evbug.c) which
    monitors everything the user is doing.

    -- 
    Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
    Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
     - -
    There are two distinct sorts of what we call bashfulness; this, the
    awkwardness of a booby, which a few steps into the world will convert into the
    pertness of a cox comb; that, a consciousness, which the most delicate
    feelings produce, and the most extensive knowledge cannot always remove.
    					-- Mackenzie
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Florian Hinzmann: "linux2.6.1 - sym53c8xx: wide:0 documented, but not supported?"

    Relevant Pages

    • Re: Raw I/O Problems with inb()
      ... >remote use, ... ... you need to drop your DOS programming mentaility. ... Brett ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PATCH: report NGROUPS_MAX via a sysctl (read-only)
      ... but as long as the value compiled into glibc ... If any one goes into their kernel source and lowers ... Some apps are still assuming that the value they get from sysconf() ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
      ... > general-purpose machine. ... Try to cache the whole kernel source tree in 4kB pages ... Send instant messages to your online friends http://au.messenger.yahoo.com ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kernel.bkbits.net off the air
      ... > that attempted to add a trojan horse to the kernel source. ... I've never checked on the SVN server (Ben? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6 input drivers FAQ (ir-kbd-gpio.ko)
      ... based support for infrared remote controls", ... Next I started "irw" to show "keypresses" on the screen, and the daemon ... Debian Linux Sid ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)