星期二, 4月 19, 2005

Linux ignores input when using the framebuffer driver

Question:
When using the framebuffer driver the console output goes to the LCD display, but I cannot input anything. What's wrong?

Answer:
You can define "console devices" using the console= boot argument. Add something like this to your bootargs setting:
... console=tty0 console=ttyS0,$(baudrate) ...
This will ensure that the boot messages are displayed on both the framebuffer (/dev/tty0) and the serial console (/dev/ttyS0); the last device named in a console= option will be the one that takes input, too, so with the settings above you can use the serial console to enter commands etc. For a more detailed description see http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

沒有留言:

張貼留言