[Gllug] set serial port irq
Jack Richards
jack at gnu-solutions.com
Mon Apr 19 14:14:04 UTC 2004
Though its not always acurate, try having a look at the dmesg output and see
what the kernel autodetected at boot, before setserial was run, this might
give you some ideas.
The values given look like the IBM XT spec for com1: and so should be correct.
However, I may have missed the beggining of this thread and so, I am a little
confused as to why the cable would have to be plugged in for the port to be
initialised and activated.....
Sorry fo my ignorance.
Jack
Quoting Ben Fitzgerald <ben_m_f at yahoo.co.uk>:
> Hi
>
> I've got a serial port I want to connect to
> another box over a null modem cable.
>
> I connected the cable to both and rebooted the
> "other" box, and it's picked up the use of the
> serial port and allocated an irq under /proc/interrupts.
>
> On the main box there's nothing for the serial port
> under /proc/interrupts as the cable wasn't plugged
> in at last reboot.
>
> Before I reboot the main box (which I'd rather not do),
> does anyone know if I can set this another way?
>
> The driver has already set itself to IRQ 4:
>
> $ setserial
> /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
> Baud_base: 115200, close_delay: 50, divisor: 0
> closing_wait: 3000
> Flags: spd_normal skip_test
>
> I believe I can't now check what the bios gave it, but
> that I can hope setserial is correct!
>
> Thanks in advance,
>
> Ben
> --
> Gllug mailing list - Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
Jack Richards
GNU Solutions Ltd
Atlantic House
Imperial Way
Reading
Berks.
RG2 0TD
web : www.gnu-solutions.com
email : jack at gnu-solutions.com
Office: +44 (0)870 250 9219
DDI : +44 (0)1462 634 410
Mobile: +44 (0)7788 437 904
Fax : +44 (0)871 277 1937
*******************************************************************************
*
THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR
ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS
PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE.
If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering the message to the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.
If you have received this communication in error, please accept our apology.
We should be obliged if you would email them by return.
Thank you.
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list