From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH v2] serial: Poll USB devices if usbX serial port is missing
Date: Mon, 21 Nov 2016 22:08:12 +0300 [thread overview]
Message-ID: <7da8c724-ecd7-613d-5a74-4e1d68b04330@gmail.com> (raw)
In-Reply-To: <1479737119.3256.7.camel@linux.intel.com>
21.11.2016 17:05, Joonas Lahtinen пишет:
> On pe, 2016-11-18 at 15:21 +0300, Andrei Borzenkov wrote:
>> On Fri, Nov 18, 2016 at 1:36 PM, Joonas Lahtinen
>>>
>>> v2:
>>> - Use grub_term_poll_usb to avoid module dependency (Andrei)
>>>
>>
>> Hmm ... note that terminal_input/terminal_output also auto-load
>> modules that handle serial ports. So this still will not be
>> equivalent, it will require user to manually pre-load USB. Did you
>> actually test this version of patch? Do you pre-load USB modules
>> somewhere?
>
> Nope, I took your word literally and just changed the function.
Looking more closely, only top-level modules are autoloaded anyway, like
"serial" itself; low level drivers are not, at least as far as I can
tell. In your case "serial" is pulled in by using command, so it should
be no change.
> Assuming it's a rather direct replacement. Excuse for that.
>
Could you confirm that your last version works for you? Could you give
more details about your configuration, in particular, how you load
necessary modules (if you load them)? What USB serial driver you use?
>>
>> The problem is, infrastructure to handle auto-load lists currently
>> belongs to normal mode, while serial may sensibly be used before
>> normal is loaded. Not sure what we can do here.
>
> I think this is getting more important when we're seeing increasing
> amount of devices without even an internal serial port.
>
> Sounds to me like pulling the auto-loading out of just normal mode
> would make sense?
>
> Regards, Joonas
>
next prev parent reply other threads:[~2016-11-21 19:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-10 13:45 [PATCH 1/2] .gitignore: Add grub-core/build-grub-module-verifier Joonas Lahtinen
2016-11-10 13:45 ` [PATCH 2/2] serial: Poll USB devices if usbX serial port is missing Joonas Lahtinen
2016-11-12 9:18 ` Andrei Borzenkov
2016-11-18 10:36 ` [PATCH v2] " Joonas Lahtinen
2016-11-18 12:21 ` Andrei Borzenkov
2016-11-21 14:05 ` Joonas Lahtinen
2016-11-21 19:08 ` Andrei Borzenkov [this message]
2016-11-12 9:08 ` [PATCH 1/2] .gitignore: Add grub-core/build-grub-module-verifier Andrei Borzenkov
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=7da8c724-ecd7-613d-5a74-4e1d68b04330@gmail.com \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=joonas.lahtinen@linux.intel.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;
as well as URLs for NNTP newsgroup(s).