Home > Archive > alt.os.linux > August 2002 > peek and poke an isa device





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author peek and poke an isa device
John Price

2002-08-28, 6:29 pm

I would like to write a user application that would be capable of peeking
and poking I/O devices. Particularly ones on an isa bus(specifically
registers on a given isa device).

Is there a system call I can make that would give me a base address that I
can use to start looking for isa devices?

thanks

John


Michael Heiming

2002-08-29, 2:37 am

John Price (<zqcb9.215422$me6.28940@sccrnsc01> ):

> I would like to write a user application that would be capable of
> peeking and poking I/O devices. Particularly ones on an isa
> bus(specifically registers on a given isa device).
>
> Is there a system call I can make that would give me a base
> address that I can use to start looking for isa devices?


$ man -k isapnp
isapnp (8) - Configure ISA Plug-and-Play devices.
isapnp.conf (5) - File format used by isapnp

You could take a look at the source, how this progs work.

Good luck

Michael Heiming
--
Remove the +SIGNS case mail bounces.
Michael Heiming

2002-08-29, 3:30 am

John Price (<zqcb9.215422$me6.28940@sccrnsc01> ):

> I would like to write a user application that would be capable of
> peeking and poking I/O devices. Particularly ones on an isa
> bus(specifically registers on a given isa device).
>
> Is there a system call I can make that would give me a base
> address that I can use to start looking for isa devices?


$ man -k isapnp
isapnp (8) - Configure ISA Plug-and-Play devices.
isapnp.conf (5) - File format used by isapnp

You could take a look at the source, how this progs work.

Good luck

Michael Heiming
--
Remove the +SIGNS case mail bounces.
Clive Dove

2002-08-29, 5:28 am

John Price wrote:

> I would like to write a user application that would be capable of
> peeking and poking I/O devices. Particularly ones on an isa
> bus(specifically registers on a given isa device).
>
> Is there a system call I can make that would give me a base address
> that I can use to start looking for isa devices?
>
> thanks
>
> John


Quaere:

Were these devices not detected on boot by "isapnp" and shown in dmesg?



Clive Dove

2002-08-29, 6:28 am

John Price wrote:

> I would like to write a user application that would be capable of
> peeking and poking I/O devices. Particularly ones on an isa
> bus(specifically registers on a given isa device).
>
> Is there a system call I can make that would give me a base address
> that I can use to start looking for isa devices?
>
> thanks
>
> John


Quaere:

Were these devices not detected on boot by "isapnp" and shown in dmesg?



Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net