Hi,
I am trying to setup a lean l4linux-2.6 with a local text console, without dope or con. I got it printing out the console an login prompt but it ignores input from the keyboard. I have one of those multiplexing devices - that switches the keyboard, mouse and monitor from one computer to the other -- i have a computer for compiling and one for testing. This may be a reason why it ignores the keyboard....
Thanks, andrew
On Wed Jul 06, 2005 at 12:51:55 -0400, Andrew Davenport wrote:
I am trying to setup a lean l4linux-2.6 with a local text console, without dope or con. I got it printing out the console an login prompt but it ignores input from the keyboard. I have one of those multiplexing devices - that switches the keyboard, mouse and monitor from one computer to the other -- i have a computer for compiling and one for testing. This may be a reason why it ignores the keyboard....
If it usually works that's not the reason, I guess.
Do you have the following options enabled in your .config?
# # Input device support # CONFIG_INPUT=y
# # Userland interfaces # CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_EVDEV=y
# # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y
# # Hardware I/O ports # CONFIG_SERIO=y CONFIG_SERIO_I8042=y CONFIG_SERIO_LIBPS2=y
# # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y
That's what's in my config.
Adam
Yes,
I have all those things, but I also have CONFIG_INPUT_JOYDEV=y. We enabled the Framebuffer Driver (for con and dope) as it said to do in the help website. However, we are not using con or dope. Could this be a problem?
Thanks, andrew
Quoting Adam Lackorzynski adam@os.inf.tu-dresden.de:
On Wed Jul 06, 2005 at 12:51:55 -0400, Andrew Davenport wrote:
I am trying to setup a lean l4linux-2.6 with a local text console, without
dope
or con. I got it printing out the console an login prompt but it ignores
input
from the keyboard. I have one of those multiplexing devices - that switches
the
keyboard, mouse and monitor from one computer to the other -- i have a
computer
for compiling and one for testing. This may be a reason why it ignores the keyboard....
If it usually works that's not the reason, I guess.
Do you have the following options enabled in your .config?
# # Input device support # CONFIG_INPUT=y
# # Userland interfaces # CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_EVDEV=y
# # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y
# # Hardware I/O ports # CONFIG_SERIO=y CONFIG_SERIO_I8042=y CONFIG_SERIO_LIBPS2=y
# # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y
That's what's in my config.
Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
_______________________________________________ l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Wed Jul 06, 2005 at 13:31:57 -0400, Andrew Davenport wrote:
I have all those things, but I also have CONFIG_INPUT_JOYDEV=y.
Shouldn't be a problem.
We enabled the Framebuffer Driver (for con and dope) as it said to do in the help website. However, we are not using con or dope. Could this be a problem?
It shouldn't. The driver won't start up when it neither finds con nor dope. So it shouldn't have an influence.
Check for the -esc argument, as Christian asked.
Adam
Hi,
We are not using -esc, and it when trying to start L4FB via Dope, it says "Dope unavailable", but it doesnt say anything after "Starting L4FB via con", so I think it may actually be starting L4FB via con even though its not set to.
Thanks, andrew
Quoting Adam Lackorzynski adam@os.inf.tu-dresden.de:
On Wed Jul 06, 2005 at 13:31:57 -0400, Andrew Davenport wrote:
I have all those things, but I also have CONFIG_INPUT_JOYDEV=y.
Shouldn't be a problem.
We enabled the Framebuffer Driver (for con and dope) as it said to do in the help website. However, we are not using con or dope. Could this be a
problem?
It shouldn't. The driver won't start up when it neither finds con nor dope. So it shouldn't have an influence.
Check for the -esc argument, as Christian asked.
Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
_______________________________________________ l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Wed Jul 06, 2005 at 13:44:13 -0400, Andrew Davenport wrote:
We are not using -esc, and it when trying to start L4FB via Dope, it says "Dope unavailable", but it doesnt say anything after "Starting L4FB via con", so I think it may actually be starting L4FB via con even though its not set to.
Well, that's the way output is made. Most of the output in Linux is done via printk which needs some working console. I should probably change the l4fb init code to l4-printfs. Anyway, can you login to your box and see if the IRQs are properly used (e.g. 1 for the keyboard)? Or hack it into some init-script or similar.
Adam
Hi,
So, is con neccessary to catch printks from the linux kernel? Also, I have no clue to how to examine IRQ allocation in linux. Another configuration issue i notice is (in menu.lst):
module .../l4io --noirq
so we are not using irqs?
Thanks, Andrew
Quoting Adam Lackorzynski adam@os.inf.tu-dresden.de:
On Wed Jul 06, 2005 at 13:44:13 -0400, Andrew Davenport wrote:
We are not using -esc, and it when trying to start L4FB via Dope, it says
"Dope
unavailable", but it doesnt say anything after "Starting L4FB via con", so I think it may actually be starting L4FB via con even though its not set to.
Well, that's the way output is made. Most of the output in Linux is done via printk which needs some working console. I should probably change the l4fb init code to l4-printfs. Anyway, can you login to your box and see if the IRQs are properly used (e.g. 1 for the keyboard)? Or hack it into some init-script or similar.
Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
_______________________________________________ l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
Hi,
I got it working. I had to go into fiasco config: cd .../l4/kernel/fiasco make config
and enable a fourth experimental option in ABI extensions: -->Allow association of multiple IRQs
Thanks for help! -andrew
On Wed Jul 06, 2005 at 14:46:02 -0400, Andrew Davenport wrote:
So, is con neccessary to catch printks from the linux kernel?
No, just any console, like VGA console, a framebuffer driver (like l4fb) or a serial console (like l4ser). There's no difference from normal Linux. If you do not have a console some way you won't see anything.
Also, I have no clue to how to examine IRQ allocation in linux.
Check /proc/interrupts
Another configuration issue i notice is (in menu.lst):
module .../l4io --noirq
so we are not using irqs?
No, that just means that l4io should not acquire all interrupts and relay them via the omega0 interface. It's fine this way.
On Wed Jul 06, 2005 at 15:02:13 -0400, Andrew Davenport wrote:
I got it working. I had to go into fiasco config: cd .../l4/kernel/fiasco make config
and enable a fourth experimental option in ABI extensions: -->Allow association of multiple IRQs
Well, must be something else. This option shouldn't have any influence on the issues.
Adam
Hi,
On Wed, Jul 06, 2005 at 12:51:55PM -0400, Andrew Davenport wrote:
I am trying to setup a lean l4linux-2.6 with a local text console, without dope or con. I got it printing out the console an login prompt but it ignores input from the keyboard. I have one of those multiplexing devices - that switches the keyboard, mouse and monitor from one computer to the other -- i have a computer for compiling and one for testing. This may be a reason why it ignores the keyboard....
Do you use Fiasco and the "-esc" option? If yes, Fiasco may consume all keyboard events before L4Linux has any chance to process them. Use "-serial_esc" and a terminal program like minicom in this case.
Greets
l4-hackers@os.inf.tu-dresden.de