Slightly OT: accessing I/O ports under Linux?

From: John R. Ackermann (nwnzk@airenetworks.com)
Date: Sat Jul 21 2001 - 23:26:53 EEST

  • Next message: Hamish Moffatt: "Re: Slightly OT: accessing I/O ports under Linux?"

    Hi --

    I know this may not be the perfect place to ask this question, but it is
    (at least indirectly) Linux-ham related.

    I have a digital acquisition card (a 12 bit A/D converter on an ISA bus
    card) that I'm using to capture data from a VLF receiver for frequency
    measurement purposes (details of this weird science-fair-for-grownups
    project at
    http://www.febo.com/time-freq ). FWIW, the card is an ADAC 5500MF and
    there is no apparent Linux support for it; right now, I'm capturing data
    using software under Windows, and using Samba shares to get it to the Linux
    box where I can process it.

    I'd like to skip the middleman and put the card in a Linux box. As far as
    I can tell, the card uses I/O polling and doesn't use any IRQ or DMA
    services. The I/O layout information is well documented. I basically need
    to shove values into some registers on the card to set parameters, and then
    read the appropriate registers when I want to grab a value.

    Is it possible to do this under Linux without having to write a kernel
    driver? I'm envisioning a daemon that would run constantly, dumping data
    values to a disk file for later processing. I'm just not sure if a
    user-space program under Linux has the ability to access I/O ports directly.

    Thanks for any tips on whether this can be done.

    73,
    John N8UR
    terhi.victor@logonet.com

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to prgeux@banca121.it



    This archive was generated by hypermail 2b30 : Sat Jul 21 2001 - 23:41:10 EEST