From: "Rui Santos" <rsantos@grupopie.com>
To: "'mohanlal jangir'" <mohanlal@samsung.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: UART detection?
Date: Thu, 1 Apr 2004 13:36:36 +0100 [thread overview]
Message-ID: <20040401123419.152B1337F4@rd-server.pie.domain> (raw)
In-Reply-To: <009401c417db$da971e70$7f476c6b@sisodomain.com>
Hi,
I do not fully understand what you mean by 'detect this inside a kernel
module'. I think you want to compile it as a module and the modprobe it to
get the module messages.
If you compile the serial as a module on:
- Device Drivers -> Character Devices -> Serial Drivers -> 8250/16550 Serial
you will get a module called serial.o
Remember that if you want do use modprobe to redirect the module messages,
You need to turn off the 'Automatic Module loadind when compiling the
kernel. You can do this ao Loadable Module Support -> Automatic Kernel
Module Loading.
Hope it helps
Regards,
Rui Santos
-----Mensagem original-----
De: mohanlal jangir [mailto:mohanlal@samsung.com]
Enviada: quinta-feira, 1 de Abril de 2004 12:24
Para: Rui Santos
Cc: linux-kernel@vger.kernel.org
Assunto: Re: UART detection?
I want to detect this inside a kernel module. Any way to do it?
Regards
Mohanlal
----- Original Message -----
From: "Rui Santos" <rsantos@grupopie.com>
To: "'mohanlal jangir'" <mohanlal@samsung.com>
Sent: Thursday, April 01, 2004 4:56 PM
Subject: RE: UART detection?
> Hi,
>
> You can find them on the kernel boot messages.
> Something like: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>
> This log is usualy found at /var/log/messages
>
> Regards
> Rui Santos
>
>
> -----Mensagem original-----
> De: linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org] Em nome de mohanlal jangir
> Enviada: quinta-feira, 1 de Abril de 2004 12:02
> Para: linux-kernel@vger.kernel.org
> Assunto: UART detection?
>
> How can I find in a kernel module, how many UARTs are present in my
system?
> And how can I find their IO address and IRQ?
>
> Regards
> Mohanlal
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
>
next prev parent reply other threads:[~2004-04-01 12:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040401112624.6957A337F4@rd-server.pie.domain>
2004-04-01 11:24 ` UART detection? mohanlal jangir
2004-04-01 12:36 ` Rui Santos [this message]
2004-04-01 13:30 ` mohanlal jangir
2004-04-01 11:01 mohanlal jangir
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040401123419.152B1337F4@rd-server.pie.domain \
--to=rsantos@grupopie.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mohanlal@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox