From: "Choi Sonim" <choisonim@gmail.com>
To: "Marcel Holtmann" <marcel@holtmann.org>
Cc: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] loading of hci_uart.ko
Date: Mon, 29 Jan 2007 12:42:09 +0200 [thread overview]
Message-ID: <4f436aae0701290242u18e4c35bocac8a8e9afeaa7b0@mail.gmail.com> (raw)
In-Reply-To: <1170065145.15389.117.camel@violet>
On 1/29/07, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Choi,
>
> > > > when I do "hciattach /dev/ttyS0 any", somehow the needed module
> > > > hci_uart.ko is loaded.
> > > > I looked in hciattach.c but I do not see how is it done ?
> > >
> > > # modinfo hci_uart
> > > alias: tty-ldisc-15
> > >
> > > It tells the kernel to load this module if any application request the
> > > line discipline 15.
> >
> > can you please elaborate on this ? when the app request the HCI line
> > discipline, how does the kernel knows it need to look for alias tty-ldisc-15 ?
> > does it then run modprobe ?
> > what code is responsible for that ?
>
> the kernel actually doesn't care what's the module name of module
> providing the line discipline 15. It simply requests the loading of the
> module and the userspace (insmod/modprobe) has to resolve this.
thank you very much
choi
>
> Regards
>
> Marcel
>
>
>
prev parent reply other threads:[~2007-01-29 10:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 19:04 [Bluez-devel] loading of hci_uart.ko Choi Sonim
2007-01-19 19:34 ` Marcel Holtmann
2007-01-29 9:57 ` Choi Sonim
2007-01-29 10:05 ` Marcel Holtmann
2007-01-29 10:42 ` Choi Sonim [this message]
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=4f436aae0701290242u18e4c35bocac8a8e9afeaa7b0@mail.gmail.com \
--to=choisonim@gmail.com \
--cc=bluez-devel@lists.sourceforge.net \
--cc=marcel@holtmann.org \
/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