Somebody should put this stuff in the FAQs and HOWTO!

On Wed, 2 Feb 2000, Alexy V. Khrabrov wrote:
> I know this is a more general Linux issue, but I
> wonder how can I be sure the port and irq (and dma
> for FIR) assigned to the IrDA device have no
> conflicts with others.
You can see which drivers have allocated the resources in /proc/ioports
and /proc/interrupts.

> In my Inspiron 7000 BIOS setup, IrDA SIR lets you
> choose ports and interrupts only together and the
> choices correspond to the standard COM? ports.
That's normal, SIR usually emulates a standard serial port.

> I choose port 2e8 irq 3, and later on setserial
> /dev/ttyS3 reports that.  However, there's no
> action.  I remember that sometimes no action on a
> device happens when there's an irq conflict.
Actually, it's probably because of the shared interrupt. Serial ports
normally use IRQ 4 for ports 0 and 2, and IRQ 3 for ports 1 and 3 - so
your ttyS3 interrupts might show up in the entry for ttyS1. The serial
driver can handle this.

> Everybody here seems to use irq 10.  I wonder how
> come my BIOS gives me 3.  I know 9 is used by
> PCMCIA for cardbus.
If you have a ttyS1, it would make sense to pick another interrupt.
However, it's quite probable that your BIOS doesn't have this feature. My
laptop doesn't, but that's not a problem since it only has two serial
ports (touchscreen and serial/IrDA).

> /proc/ioports shows that range is for
> serial(auto).  How can I be sure no other serial
> ports exists on /dev/ttyS3?
Each ttyS device is only one serial port. However, they can share IRQs.
This can be verified using setserial.

> This is just a story from another OS to help make
> tools for linux -- although Windows were screwy,
> you always knew whether things work or not from
> status, not after "nothing happens."  :-)
Not quite true. The only thing I've found to be quite consistent in
Windows is that it doesn't know how to report an error... �The POP service
could not be started, because it depends on the SMTP service which failed
with the following error: "Operation successfully completed".�


_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to