On Tue, Sep 05, 2000 at 01:59:54PM +0100, David Gurr wrote:
>
> What is scanports and how do I use it ? And, as I don't know what the correct
> device ID is for this chip, how would I know when I've found it ?
>
It's part of the hwtools package (on Debian, probably same elsewhere).
You just type it in and it scans the I/O ports from 0x100 to 0x400 - the
usual ISA range. Above 0x400 there are shadows of below 0x400 devices, and
beyond that there are PCI devices, so the default is not to scan above
0x400.
Anyway, I had to manually scan using inb to find my chip's I/O.
Fortunately I didn't have to go far to find it. (Newer sound cards often
sit at 0x530ish, with 0x220 reserved for legacy compatibility modes)
Normally, if you know where some device is located you just point the driver
at it and the driver probes to see if it's the device the driver is
expecting. Not entirely safe, but much safer than every driver probing
every I/O port looking for something it thinks it can understand.
scanport only does reads, which are usually safe.
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda