From: James S. <jsi...@ph...> - 2002-11-08 19:54:52
|
> Yes it's boot! > > Around the code popup currcons mismatch. > find_vc() vc_allocate() good only for one console. I know :-( The current problem is the beeper and the keyboard. In the original ruby we didn't have the beeper converted over to the input api. This made life easier. Now we do. This means both the keyboard and beeper are registered to the keyboard console handler. Because the old ruby code assumed it was always a keyboard this means the beeper is seen as a keyboard. Of course this is bad!! So what is the solution? Well first we to see what possible combinations we can have. They are: 1) The beeper is built into the keyboard. Sparc keyboard i.e 2) Seperate beepers but we have more than one. 3) Only one beeper. Now 1 and 3 are very common. The first solution I thought of was having two struct input_handlers in struct vt_struct. One for keyboard and the second for the beeper. For the keyboard with the built in speaker both handlers would point to the same device. For the PC we have to attach the speaker to the first VT we find without a speaker. This can be easliy handled by first testing the incoming input device handles keys. Then we test it right away to see if it has a speaker. Now the question is what do we do for a "global" speaker. For example I have two PS/2 keybaords but one PC speaker. Do we share it.Then there is the issue if two users want to reprogram the beeper to be at two different rates. The hardware can't be at two different rates at the same time. Vojtech do you have any ideas on how to handle this? > small patch allow me start ruby with single VGA, single XFree. I will apply the patches tomorrow morning. Thanks. |