Re: [PATCH v2] serial: Poll USB devices if usbX serial port is missing

2016-11-21 Thread Andrei Borzenkov
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

Re: [PATCH v2] serial: Poll USB devices if usbX serial port is missing

2016-11-21 Thread 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.

Re: [PATCH v2] serial: Poll USB devices if usbX serial port is missing

2016-11-18 Thread Andrei Borzenkov
On Fri, Nov 18, 2016 at 1:36 PM, Joonas Lahtinen wrote: > If usbX serial port is missing, try to poll USB devices. This makes them > appear at least on Intel NUC devices DN2820FYKH and DCCP847DYE. > > This fixes cases where you try to configure usbX serial at the

[PATCH v2] serial: Poll USB devices if usbX serial port is missing

2016-11-18 Thread Joonas Lahtinen
If usbX serial port is missing, try to poll USB devices. This makes them appear at least on Intel NUC devices DN2820FYKH and DCCP847DYE. This fixes cases where you try to configure usbX serial at the beginning of a script, like: serial usb0 --speed=115200 --word=8 --parity=none --stop=1