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

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

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

2016-11-21 Thread Joonas Lahtinen
ing 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 -- Joonas Lahtinen Open Source Technology Center Intel Corporation ___ Grub-de

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 <joonas.lahti...@linux.intel.com> 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 con

[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

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

2016-11-12 Thread Andrei Borzenkov
10.11.2016 16:45, 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

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

2016-11-10 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

grub2 as coreboot's payload need serial port debug

2013-09-22 Thread jstkf2...@126.com
Dear Maillist, I am a bios engineer from Byosoft. I have 3 questions about grub2 as coreboot's payload. (1).how can I enable serial port during post? l add following in grub.cfg ,but it seems doesn't make sense. // # Enable serial console serial --speed=115200 --unit=0 --word=8 --parity=no --stop

Re: grub2 as coreboot's payload need serial port debug

2013-09-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Sounds ike you didn't include necessary modules. On 22.09.2013 09:14, jstkf2...@126.com wrote: Dear Maillist, I am a bios engineer from Byosoft. I have 3 questions about grub2 as coreboot's payload. (1).how can I enable serial port during post? l add following in grub.cfg ,but it seems

Re: [PATCH] Export functions to allow any module to perform primitive operations on serial port devices

2011-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 07.11.2011 22:13, Shea Levy wrote: Hello, On Thu, Oct 27, 2011 at 2:31 PM, Shea Levy sl...@tieronedesign.com wrote: Hello all, These two commits make it straightforward for any module to interact with serial devices. The essential change is making grub_serial_find non-static and

Re: [PATCH] Export functions to allow any module to perform primitive operations on serial port devices

2011-11-07 Thread Shea Levy
Hello, On Thu, Oct 27, 2011 at 2:31 PM, Shea Levy sl...@tieronedesign.com wrote: Hello all, These two commits make it straightforward for any module to interact with serial devices. The essential change is making grub_serial_find non-static and declaring it in serial.h, but I also added

[PATCH] Export functions to allow any module to perform primitive operations on serial port devices

2011-10-27 Thread Shea Levy
Hello all, These two commits make it straightforward for any module to interact with serial devices. The essential change is making grub_serial_find non-static and declaring it in serial.h, but I also added some inline convenience functions so you can call grub_serial_port_whatever(port,

Re: Timeout broken with serial port

2011-09-06 Thread Michal Suchanek
On 5 September 2011 22:51, Aleš Nesrsta star...@volny.cz wrote: Hi, I think it is not GRUB related problem, more probably there is some HW problem on Your serial port. Try to check idle voltage on RxD pin of serial port (best with oscilloscope... :-) ). Or You can have some unwanted leakage

Re: Timeout broken with serial port

2011-09-06 Thread starous
Michal Suchanek wrote: On 5 September 2011 22:51, Aleš Nesrsta star...@volny.cz wrote: Hi, I think it is not GRUB related problem, more probably there is some HW problem on Your serial port. Try to check idle voltage on RxD pin of serial port (best with oscilloscope

Re: Timeout broken with serial port

2011-09-06 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06.09.2011 02:05, Lennart Sorensen wrote: If the UART (not grub) interprets noise as valid data, then it will pass that to grub which legitimately sees that as keypresses. I agree with both sides of dispute. It's a hardware bug but GRUB has reliability and unattended boot as one of its goals.

Re: Timeout broken with serial port

2011-09-06 Thread Vladimir 'φ-coder/phcoder' Serbinenko
But, generally, there could be many partially or fully broken HW parts on PC and it is impossible to warn everybody against all of them... :-) Why not? Your computer is manufactured by Sony/Apple/..., it may have hardware defects and exhibit any kind of known or unknown, predictable or

Re: Timeout broken with serial port

2011-09-06 Thread richardvo...@gmail.com
On Mon, Sep 5, 2011 at 3:51 PM, Aleš Nesrsta star...@volny.cz wrote: Hi, I think it is not GRUB related problem, more probably there is some HW problem on Your serial port. Try to check idle voltage on RxD pin of serial port (best with oscilloscope... :-) ). Or You can have some unwanted

Re: Timeout broken with serial port

2011-09-05 Thread Michal Suchanek
2011/8/24 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com: On 24.08.2011 11:16, Michal Suchanek wrote: Hello, I was experiencing a mysterious error with grub. It would not boot with timeout set. It turns out that setting serial IO disables timeout. Check your contacts. Bad contacts

Re: Timeout broken with serial port

2011-09-05 Thread Aleš Nesrsta
Hi, I think it is not GRUB related problem, more probably there is some HW problem on Your serial port. Try to check idle voltage on RxD pin of serial port (best with oscilloscope... :-) ). Or You can have some unwanted leakage between pins of connector or wires in cable (check resistance between

Re: Timeout broken with serial port

2011-09-05 Thread Lennart Sorensen
. Not a bug in software, just bad hardware. DTR is used for modems and such, generally not for consoles, and besides who is the terminal? The serial port on many devices can be the terminal if you connect it to a modem, but might just as well be the client device connected to some other terminal (like

Timeout broken with serial port

2011-08-24 Thread Michal Suchanek
Hello, I was experiencing a mysterious error with grub. It would not boot with timeout set. It turns out that setting serial IO disables timeout. grub-pc1.99-11ubuntu1 I think it used to work with earlier grub, I have this file for ages: # cat /etc/grub.d/03_serial #!/bin/sh echo

Re: Timeout broken with serial port

2011-08-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.08.2011 11:16, Michal Suchanek wrote: Hello, I was experiencing a mysterious error with grub. It would not boot with timeout set. It turns out that setting serial IO disables timeout. Check your contacts. Bad contacts are known to send noise on I/O which GRUB interprets as keypresses.

Does grub2 support any PCI add-on card for serial port?

2008-07-11 Thread Neo Jia
hi, My motherboard doesn't have any onboard serial port, so I am wondering if the Grub2 will support the PCI add-on card for serial port? I know that Grub will only support ISA device. Thanks, Neo -- I would remember that if researchers were not ambitious probably today we haven't

Re: Does grub2 support any PCI add-on card for serial port?

2008-07-11 Thread Pavel Roskin
On Fri, 2008-07-11 at 02:00 -0700, Neo Jia wrote: hi, My motherboard doesn't have any onboard serial port, so I am wondering if the Grub2 will support the PCI add-on card for serial port? I know that Grub will only support ISA device. The current code would probe 4 ports recognized by BIOS

Re: serial port

2007-11-19 Thread Vesa Jääskeläinen
Daryl Van Humbeck wrote: If you wanted to enable both serial and graphical terminals (or any other kind(s) of terminals, just that there are more than one enabled at once), you'd really have to switch to using the Model/View/Controller architecture for user interaction. That has been the

Re: serial port

2007-11-18 Thread Marco Gerards
Robert Millan [EMAIL PROTECTED] writes: Hi, Any reason why the serial port is not enabled in grub_serial_init() ? grub terminal Available terminal(s): console Current terminal: console grub serial grub terminal Available terminal(s): serial console Current terminal: serial Perhaps

Re: serial port

2007-11-18 Thread Vesa Jääskeläinen
Robert Millan wrote: On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan [EMAIL PROTECTED] writes: Perhaps because the serial command sets it up? Although I agree it seems a bit weird that it works this way. Perhaps it should be enabled with the same defaults from

Re: serial port

2007-11-18 Thread Robert Millan
On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan [EMAIL PROTECTED] writes: Hi, Any reason why the serial port is not enabled in grub_serial_init() ? grub terminal Available terminal(s): console Current terminal: console grub serial grub terminal

Re: serial port

2007-11-18 Thread Marco Gerards
Robert Millan [EMAIL PROTECTED] writes: On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan [EMAIL PROTECTED] writes: Hi, Any reason why the serial port is not enabled in grub_serial_init() ? grub terminal Available terminal(s): console Current terminal

Re: serial port

2007-11-18 Thread Marco Gerards
Robert Millan [EMAIL PROTECTED] writes: On Sun, Nov 18, 2007 at 02:12:59PM +0200, Vesa Jääskeläinen wrote: Robert Millan wrote: On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan [EMAIL PROTECTED] writes: Perhaps because the serial command sets it up? Although I

Re: serial port

2007-11-18 Thread Robert Millan
On Sun, Nov 18, 2007 at 02:12:59PM +0200, Vesa Jääskeläinen wrote: Robert Millan wrote: On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan [EMAIL PROTECTED] writes: Perhaps because the serial command sets it up? Although I agree it seems a bit weird that it

Re: serial port

2007-11-18 Thread Marco Gerards
Vesa Jääskeläinen [EMAIL PROTECTED] writes: Robert Millan wrote: On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan [EMAIL PROTECTED] writes: Perhaps because the serial command sets it up? Although I agree it seems a bit weird that it works this way. Perhaps it

Re: serial port

2007-11-18 Thread Vesa Jääskeläinen
Marco Gerards wrote: Vesa Jääskeläinen [EMAIL PROTECTED] writes: This is the same way it works with gfxterm. You define video mode beforehand of the switch. But there is actually a one architectual issue here... How are we going to support graphical terminal and serial terminal at the same

Re: serial port

2007-11-18 Thread Daryl Van Humbeck
Vesa Jääskeläinen wrote: Robert Millan wrote: On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: Robert Millan [EMAIL PROTECTED] writes: Perhaps because the serial command sets it up? Although I agree it seems a bit weird that it works this way. Perhaps it should be

serial port

2007-11-10 Thread Robert Millan
Hi Any reason why the serial port is not enabled in grub_serial_init() ? grub terminal Available terminal(s): console Current terminal: console grub serial grub terminal Available terminal(s): serial console Current terminal: serial -- Robert Millan GPLv2 I know my rights; I want my phone