[ipxe-devel] serial arrow keys broken

Alex Davies alex at davz.net
Thu Apr 17 12:10:24 UTC 2014


A, B, C and D. Here I pressed the key after each word (e.g. “u”, “p”, <up
arrow”):



iPXE> up A down B right C left D

up: command not found


The graphical console looked like the screenshot below when I entered the
keys via SOL:






On Wed, Apr 9, 2014 at 11:48 AM, Peter Pickford <peter at netremedies.ca>wrote:

> If you exit the menu and got to the ipxe command line what do you get when
> you press the arrow keys?
>
>
> On 9 April 2014 03:41, Alex Davies <alex at davz.net> wrote:
>
>> Hi All,
>>
>> We had the same problem using SOL on Dell hardware.
>>
>> I tried both your patch Michael and the divide by two suggested at the
>> top of this thread, without joy.
>>
>> Interestingly, pressing the arrow key does stop the countdown timer, but
>> the menu selector does not move, so iPXE is getting something. What debug
>> flag should I enable to see what it is getting?
>>
>> The menu is working nicely with color and if I connect to the 'full
>> console' via the DRAC, and move the arrow key, the SOL menu refreshes
>> correctly.
>>
>> Thanks!
>>
>> -Alex
>>
>>
>> On Thu, Mar 27, 2014 at 2:46 PM, Michael Brown <mcb30 at ipxe.org> wrote:
>>
>>> On 27/03/14 08:36, Peter Pickford wrote:
>>>
>>>> The arrow keys would not work in my ipxe serial console.
>>>>
>>>> The following seems to fix it but causes a busy wait while reading
>>>> escape sequences.
>>>>
>>>> <snip>
>>>>
>>>
>>> Arrow keys over serial works for me.  Could you try the attached
>>> (untested) patch, which preserves the cpu_nap() while changing the ordering
>>> of events such that a keypress arriving during the cpu_nap() will be
>>> detected even if the timeout has expired?
>>>
>>> Thanks,
>>>
>>> Michael
>>>
>>> _______________________________________________
>>> ipxe-devel mailing list
>>> ipxe-devel at lists.ipxe.org
>>> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
>>>
>>>
>>
>>
>> --
>> Alex Davies
>>
>> This email and any files transmitted with it are confidential and
>> intended solely for the use of the individual or entity to whom they
>> are addressed. If you have received this email in error please notify
>> the sender immediately by e-mail and delete this e-mail permanently.
>>
>
>


-- 
Alex Davies

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender immediately by e-mail and delete this e-mail permanently.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140417/6ef95f01/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 20033 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140417/6ef95f01/attachment.png>


More information about the ipxe-devel mailing list