cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

send F2 key using serial com connection

Resolvido!
Ir para a solução

Hi ,

To enter to Bios in need press "F2" key .

how to enter F2 key using serial ?

is it string  ? 

F2.png 

0 Kudos
Mensagem 1 de 10
12.813Exibições

I don't think you can.  An F2 key is not a byte or character you can send over the serial port.  It is a special key that only the PC that is connected to that keyboard through a keyboard interface will know what to do with it.

 

You could try sending the byte 127 (decimal) which according to the ASCII table in the following link is the DEL byte:

 

https://www.asciitable.com/index/asciifull.gif&imgrefurl=https://www.asciitable.com/&h=488&w=715&tbn...

 

What is this device you are connected to giving you this screen?  I have doubts that even that would work.  You are trying to enter the BIOS which is happening at the lowest levels of this PC.  I don't think serial drivers would even be loaded yet.  At the BIOS stage, just enough drivers have been loaded to handle the screen and the keyboard connected to it.

0 Kudos
Mensagem 2 de 10
12.798Exibições

I am trying to enter to Bios of  Linux machine (CPU).
By SERIAL from my computer (7WIN)

0 Kudos
Mensagem 3 de 10
12.796Exibições

And how would you do it if you weren't using the Win7 computer?

It would be by using a keyboard plugged into the Linux PC.

 

Serial <> Keyboard.

0 Kudos
Mensagem 4 de 10
12.777Exibições

@hod77 wrote:

I am trying to enter to Bios of  Linux machine (CPU).
By SERIAL from my computer (7WIN)


Um... 

 

I did your research for you and found this PS/2 Mouse/Keyboard Protocol the rest is up to you.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Mensagem 5 de 10
12.767Exibições

yes

i have 2 options :

1. Win7 -> serial ->linux

2. linux key board 

 

0 Kudos
Mensagem 6 de 10
12.762Exibições

@hod77 wrote:

yes

i have 2 options :

1. Win7 -> serial ->linux

2. linux key board 

 


What's a "linux" keyboard and how does that differ from a "Windows" keyboard? 

 

Another idea I just had would be to use an Arduino Leonardo configured as a USB HID keyboard, you might be able to use the Arduino softserial library to talk "through" the Arduino from your computer serial port.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Mensagem 7 de 10
12.757Exibições

i still have no solution Smiley triste

0 Kudos
Mensagem 8 de 10
12.666Exibições

If the keyboard is an old PS/2 model, you need something like this product (disclaimer: it's only an example: I never heard any info about it).

I found it by searching "serial to ps2 keyboard converter" on Internet.

This is an example for an equivalent product converting to USB keyboard (not sure if it supports function keys).

I'm curious about what you would like to do once you entered the BIOS menu.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Mensagem 9 de 10
12.660Exibições
Solução
Aceita pelo autor do tópico hod77

The solution is:
Change in the Putty settings to VT100.
Press the F2 key and then I got "OQ"
It should be added at the beginning 27 or 0x1B (ESC)

0 Kudos
Mensagem 10 de 10
12.655Exibições