I use gentoo with splash and the F2 key is used betwing switch from silent and verbose splash boot. with PS/2 keybord the press of F2 is working, with USB keyboard, splash will not change, because the CONFIG_INPUT_EVDEV seems not working. I can see in console something like ]BB
Created attachment 13736 [details] .config
You'll have to provide more information. Does the keyboard function well once the system is booted? Do you see any problem when you turn this splash completely off? This could be some gnetoo-splash-specific thing.
The keyboard is working good. The only difference between USB and PS2 is EVDEV function. PS/2 without EVDEV have the same problem (*) of USB with EVDEV. So i think EVDEV is not working with USB keyboard. (*) Problem means splash is not switching between silent and verbose and on the pressure of F2 key on console appears something like [BBB P.S. I have the same keyboard and i'm testing with o without USB/PS2 adapter. There are something i can do for testing EVDEV from /proc or /sys ?
Do the both keyboards generate the same event if you monitor it with evbug? Do you see any problems with the keyboards besides the splash screen? If not then I would look there. I also do not understand why you think that only USB keyboard goes through EVDEV - PS/2 is accessible through EVDEV too (as well as USB is accessible through legacy console).
I switch to console pressing CTRL+F1, after that i cannot came back to splash image. So after press CTRL+F1 i see console, with all the daemon starting. If I press F keys i see F1: ^]]]A F2: ^]]]B F3: ^]]]C When i have PS/2 keyboard don't see that, when i press F2 i switch from console and splash. But I change kernel with CONFIG_INPUT_EVDEV = N with PS/2 keyboard i have the result like USB. I found this problem because i correct CONFIG_INPUT_EVDEV in the kernel 1 month ago, reading this http://dev.gentoo.org/~spock/projects/fbsplash/troubleshooting.php Last week i change the keyboard (Logitech ex100) and this is USB. With the new keyboard CONFIG_INPUT_EVDEV seem not working. I try from BIOS to change lagacy, BIOS emulate PS/2 keyboard and mouse but the problem still present. ( this is my keyboard Bus 005 Device 002: ID 046d:c517 Logitech, Inc. )
I will try evbug now
Hmm, I thought we used Ctrl+Alt+Fx to switch between VTs.
Created attachment 13802 [details] evbug output I press F2 key from PS/2 keyboard and after USB key I press it a lot of time
Dmitry Torokhov , yes sorry. I did it and think after about the key pressed i was confused.
Both keyboards report keycode 60 which is KEY_F2. You can try using evtest utility to verify that you get the same data form both evdev interfaces.
usb : ./a.out /dev/input/event2 ...... Event: time 1196374395.246790, type 1 (Key), code 60 (F2), value 1 Event: time 1196374395.246795, -------------- Report Sync ------------ ^[OQEvent: time 1196374395.350773, type 1 (Key), code 60 (F2), value 0 Event: time 1196374395.350778, -------------- Report Sync ------------ Event: time 1196374397.630426, type 1 (Key), code 29 (LeftControl), value 1 Event: time 1196374397.630430, -------------- Report Sync ------------ Event: time 1196374397.718415, type 1 (Key), code 46 (C), value 1 Event: time 1196374397.718420, -------------- Report Sync ------------ ps2: ./a.out /dev/input/event4 Testing ... (interrupt to exit) Event: time 1196374451.937956, type 4 (Misc), code 4 (ScanCode), value 3c Event: time 1196374451.937963, type 1 (Key), code 60 (F2), value 1 Event: time 1196374451.937963, -------------- Report Sync ------------ ^[OQEvent: time 1196374452.032596, type 4 (Misc), code 4 (ScanCode), value 3c Event: time 1196374452.032601, type 1 (Key), code 60 (F2), value 0 Event: time 1196374452.032602, -------------- Report Sync ------------
ps/2 have also with Event: time 1196375114.066081, type 4 (Misc), code 4 (ScanCode), value 3c USB: Event: time 1196375087.469517, type 1 (Key), code 60 (F2), value 1 Event: time 1196375087.469520, -------------- Report Sync ------------ ^[OQEvent: time 1196375087.549505, type 1 (Key), code 60 (F2), value 0 Event: time 1196375087.549508, -------------- Report Sync ------------ PS2: Event: time 1196375114.066081, type 4 (Misc), code 4 (ScanCode), value 3c Event: time 1196375114.066085, type 1 (Key), code 60 (F2), value 1 Event: time 1196375114.066086, -------------- Report Sync ------------ ^[OQEvent: time 1196375114.132478, type 4 (Misc), code 4 (ScanCode), value 3c Event: time 1196375114.132482, type 1 (Key), code 60 (F2), value 0 Event: time 1196375114.132483, -------------- Report Sync ------------
ps/2 have also this Event: time 1196375114.066081, type 4 (Misc), code 4 (ScanCode), value 3c USB: Event: time 1196375087.469517, type 1 (Key), code 60 (F2), value 1 Event: time 1196375087.469520, -------------- Report Sync ------------ ^[OQEvent: time 1196375087.549505, type 1 (Key), code 60 (F2), value 0 Event: time 1196375087.549508, -------------- Report Sync ------------ PS2: Event: time 1196375114.066081, type 4 (Misc), code 4 (ScanCode), value 3c Event: time 1196375114.066085, type 1 (Key), code 60 (F2), value 1 Event: time 1196375114.066086, -------------- Report Sync ------------ ^[OQEvent: time 1196375114.132478, type 4 (Misc), code 4 (ScanCode), value 3c Event: time 1196375114.132482, type 1 (Key), code 60 (F2), value 0 Event: time 1196375114.132483, -------------- Report Sync ------------
So both of them report the same event (F2) through evdev as well (Scancode is here to aide key remapping, don;t worry if it is missing. You will have to look in fbspalsh to see how they hanlde input.
Ok. Thank's i'll ask to gentoo bugs about splash. sorry for the time lose. Michele.