Re: Kernel 2.6.25(.1) - Power off problems | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | In the spec you're linking sg-latin1 as default kb-layout.
Code | [In neuem Fenster öffnen] | | <cmd>
ln -svf i386/qwertz/sg-latin1.map.gz /usr/share/kbd/keymaps/defkeymap.map.gz
</cmd>
<install name="init-kbd-20071002" dest="/etc/init.d/kbd" mode="0755"/>
<cmd>mkdir -p $DOCDIR</cmd>
−
<cmd>
echo -e "# Default keymap\nDEFKEYMAP=sg-latin1\nXKBLAYOUT=ch\nXKBVARIANT=de_nodeadkeys" > $DOCDIR/default-kbd-paldo
</cmd> |
but not in the init-file !!! Maybe a link to the default keymap will help ... |
|
|
|
|
|
big init.d/kbd test | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | I did a big init.d/kbd test
Here is the file:
http://www.paldo.org/~amnon/init/init-kbd-20080605
de_CH|en_CH > RESTART OK
de_DE > FAILED (also with de_latin1 de_latin1_nodeadkeys)
en_GB > RESTART OK
en_US > FAILED
en_US_a > RESTART OK
fr_CH > RESTART OK
fr_FR > RESTART OK
it_CH|it_IT > RESTART OK (old init.d/kbd need to be fixed it should be lang=it_CH|lang=it_IT and not lang=it_CH|it_IT)
pt_BR > RESTART OK
pt_PT > RESTART OK
pl_PL > RESTART OK
tr_TR > RESTART OK
I tested with kernel 2.6.25.4.
If you wanna test yourself save the kbd file in /etc/init.d/kbd as root. |
|
|
|
|
|
Questions | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | I don't know why en_US not work but en_US_a. Also I tried all de_* except de_CH-latin1. All other locales working now. So how does a different console locales stop the shutdown process. When is the call for loading the locales for the console. sg-latin1 works but I can't use it for my german-kb-layout. This is really crazy ...  |
|
|
|
|
|
Re: Kernel 2.6.25(.1) - Power off problems | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | Can you try the following on your system?
- Build a new kernel that doesn't change defkeymap.c (i.e. remove the loadkeys -m line in linux-2.6.xml)
- Check whether it now works with en_US and de_DE |
|
|
|
|
|
seems to work again ... | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Kernel 2.6.25.6-paldo2-x86 (own build):
de_CH|en_CH > RESTART OK
de_DE > RESTART OK
en_GB > RESTART OK
en_US > RESTART OK
en_US_a > RESTART OK
fr_CH > RESTART OK
fr_FR > RESTART OK
it_CH|it_IT > RESTART OK
pt_BR > RESTART OK
pt_PT > RESTART OK
pl_PL > RESTART OK
tr_TR > RESTART OK
If you want to test yourself go to this post |
|
|
|
|
|