Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178826 - Doesn't load right keymaps on boot on tty2,3..., only on tty1, even tough manually running '/etc/init.d/keymaps restart' works fine.
Summary: Doesn't load right keymaps on boot on tty2,3..., only on tty1, even tough man...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 02:24 UTC by Heitor Omar Passos
Modified: 2007-06-21 20:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heitor Omar Passos 2007-05-17 02:24:23 UTC
It's been happening since ever, so I thought it was something misconfigured. I was told to set RC_TTY_NUMBER=6 on /etc/conf.d/rc. It was set to 11, so I guessed it wouldn't make any difference, but did anyhow. The keymaps I'm using is us-acentos, that gives me ç, ã, é and stuff like that. When I run '/etc/init.d/keymaps restart' I get the correct keymaps. If not, only tty1 gives me right keymaps at boot, the others (tty2, tty3 etc.) does not, only when I restart the keymaps script. I don't know if it's really a bug, but I searched all over the web for a solution until someone more experienced than me on #gentoo at freenode told me it must be a bug. So it's here.

Reproducible: Always

Steps to Reproduce:
1. Boot gentoo.
2. Test first terminal on console. Keymaps are fine.
3. Alternate to another console with Alt+F2.
4. Login.
5. Try new console. The keymaps are wrong.

Actual Results:  
Keymaps are wrong, except for first console (/dev/tty1), until I run '/etc/init.d/keymaps restart'. Then it gets OK.

Expected Results:  
The expected behaviour was that keymaps should be equal on every terminal, not only tty1, as long as I have RC_TTY_NUMBER=6 or higher number on /etc/conf.d/rc, and at boot time, and not demanding restarting the script every time I open a new terminal.

The system where the problem ocurred is an AMD64 HP Pavilion laptop, with US -style keyboard, no Xorg and a pilot who insists in using the right letters: ç, á, ê.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-17 05:52:26 UTC
baselayout version please...
Comment 2 Heitor Omar Passos 2007-05-19 21:33:14 UTC
(In reply to comment #1)
> baselayout version please...
> 

Version 1.12.1.
An emerge --pretend showed along with the updates two new packages to install as dependencies: virtual/init-0 and sys-apps/mktemp-1.5.
Comment 3 Heitor Omar Passos 2007-05-26 05:03:30 UTC
> Version 1.12.1.
> An emerge --pretend showed along with the updates two new packages to install
> as dependencies: virtual/init-0 and sys-apps/mktemp-1.5.

I actually did the update by now, with no results. I tried also to check the kernel to see if something was wrong, and recompiled it with one or two modifications, but again could't solve or get any near the problem.
If there's any information else I can give, just ask.
Comment 4 Heitor Omar Passos 2007-05-26 05:05:36 UTC
Sorry, almost forgot: new version is baselayout-1.12.9-r2.
Comment 5 Heitor Omar Passos 2007-06-21 20:58:40 UTC
Its solved, it seems. Changing consolefont from UTF-8 to ASCII makes all consoles to accept ISO-8859-1 characters, including portuguese ones, without having to restart keymaps. One or another problem arises from not using UTF-8 linux standard, but all of those are minor ones, if not related with specific programs. So I call this bug solved, althought it seems it was not a bug after all. Or it was. Who knows?