After upgrading to sid from lenny, keyboard under X started acting like US 101
variants even though it should be OADG109A layout as Japanese.
This maybe the same problem as bug#524233 since I had console-tools installed.
Here is details:
My system is Japanese, Linux console is still working fine. But under X:
Shift-2 under Japanese should be " while under X, it is @ like US.
Shift-; under Japanese should be + while under X, it is : like US.
...
I tried to fix it from Gnome GUI interface, it print error message and reuse to
change keyboad type. I initially tried to reconfigure X itself but it did not
work and realized console-setup maybe the cause. Since it is quite difficult
to use system to report bug under sid, I booted from lenny system and run
reportbug and dpkg-reconfigure as chroot.
chroot $ sudo dpkg-reconfigure -plow console-setup
Cannot find /proc/version - is /proc mounted?
invoke-rc.d: ----------------------------------------------------
invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: ----------------------------------------------------
WARNING: Can not find "latin" in "jp".
Cannot find /proc/version - is /proc mounted?
invoke-rc.d: ----------------------------------------------------
invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
Here, you can see 'Can not find "latin" in "jp"'. This is the error I saw
under real sid too. This X problem seems to be rooted from console-setup and
its database. (I remember dialogue under real unstable complained jp,jp does
not exist blah, blah,... before this message. )
Since I could not find quick fix, I downgraded system since then.
Following are taken under chroot with -p option.
-- System Information: (obtained in sid chroot, I have not downgraded yet)
Debian Release: squeeze/sid
APT prefers stable ------------ (not yet used, it was unstable)
APT policy: (1100, 'stable') (not used)
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages console-setup depends on:
ii console-terminus 4.26-2.1 Fixed-width fonts for fast reading
ii debconf [debconf-2.0] 1.5.26 Debian configuration management sy
ii xkb-data 1.5-2 X Keyboard Extension (XKB) configu
Versions of packages console-setup recommends:
ii console-tools 1:0.2.3dbs-65.1 Linux console and font utilities
Versions of packages console-setup suggests:
ii locales 2.9-8 GNU C Library: National Language (
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
-- debconf information:
* console-setup/variant: Japan - OADG 109A
console-setup/unsupported_options: true
* console-setup/fontsize-text: 16
* console-setup/compose: No compose key
console-setup/modelcode: jp106
* console-setup/switch: No temporary switch
* console-setup/unsupported_config_layout: true
console-setup/fontsize: 16
console-setup/unsupported_layout: true
* console-setup/charmap: UTF-8
console-setup/layoutcode: jp,jp
console-setup/optionscode: grp:ctrl_shift_toggle,grp_led:scroll
debian-installer/console-setup/title:
console-setup/unsupported_config_options: true
* console-setup/layout: Japan
console-setup/variantcode: latin,OADG109A
console-setup/codesetcode: Lat15
* console-setup/altgr: No AltGr key
* console-setup/ttys: /dev/tty[1-6]
* console-setup/model: Japanese 106-key
console-setup/fontsize-fb: 16
* console-setup/codeset: # Latin1 and Latin5 - western Europe and Turkic languages
* console-setup/toggle: Control+Shift
* console-setup/fontface: Fixed
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
On Mon, May 04, 2009 at 12:54:37PM +0900, Osamu Aoki wrote:
>
> After upgrading to sid from lenny, keyboard under X started acting like US 101
> variants even though it should be OADG109A layout as Japanese.
Thanks for your bug report - this is a realy serious problem caused by
the Debconf part of console-setup (it expects to find jp(latin) layout
that existed in the old times of etch). For now I can recommend you to
change /etc/default/console-setup to contain lines like these two:
XKBLAYOUT="us,jp"
XKBVARIANT=",OADG109A"
After this change X should be usable again.
> This maybe the same problem as bug#524233 since I had console-tools
> installed.
No, this is completely different problem.
> Here is details:
Thanks, sometimes such information is really necessary. It will help if
you send also your /etc/X11/xorg.conf and /etc/default/console-setup
files (before the changes you make in the second file).
Anton Zinoviev
On Mon, May 04, 2009 at 04:53:07PM +0300, Anton Zinoviev wrote:
> severity 526862 grave
> thanks
>
> On Mon, May 04, 2009 at 12:54:37PM +0900, Osamu Aoki wrote:
> >
> > After upgrading to sid from lenny, keyboard under X started acting like US 101
> > variants even though it should be OADG109A layout as Japanese.
>
> Thanks for your bug report - this is a realy serious problem caused by
> the Debconf part of console-setup (it expects to find jp(latin) layout
> that existed in the old times of etch). For now I can recommend you to
> change /etc/default/console-setup to contain lines like these two:
>
> XKBLAYOUT="us,jp"
> XKBVARIANT=",OADG109A"
This worked as work around.
> After this change X should be usable again.
Well, it was sort of usable if I blind touch ...
> > Here is details:
>
> Thanks, sometimes such information is really necessary. It will help if
> you send also your /etc/X11/xorg.conf and /etc/default/console-setup
> files (before the changes you make in the second file).
I have simple /etc/X11/xorg.conf under fresh install or upgrade after
"sudo dpkg-reconfigure -plow xserver-xorg". These /etc/X11/xorg.conf as:
--------------------------------------------------------------------------
Section "Device"
Identifier "Configured Video Device"
EndSection
--------------------------------------------------------------------------
I also had problem when keeping my keyboard related part of lenny
/etc/X11/xorg.conf configuration as:
--------------------------------------------------------------------------
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
EndSection
--------------------------------------------------------------------------
As for /etc/default/console-setup of fresh install and after modification
(original state is commented out):
--------------------------------------------------------------------------
# A configuration file for setupcon
# Change to "yes" and setupcon will explain what is being doing
VERBOSE_OUTPUT=no
# Setup these consoles. Most people do not need to change this.
ACTIVE_CONSOLES="/dev/tty[1-6]"
# Put here your encoding. Valid charmaps are: UTF-8 ARMSCII-8 CP1251
# CP1255 CP1256 GEORGIAN-ACADEMY GEORGIAN-PS IBM1133 ISIRI-3342
# ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
# ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13
# ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U TIS-620 VISCII
CHARMAP="UTF-8"
# The codeset determines which symbols are supported by the font.
# Valid codesets are: Arabic Armenian CyrAsia CyrKoi CyrSlav Ethiopian
# Georgian Greek Hebrew Lao Lat15 Lat2 Lat38 Lat7 Thai Uni1 Uni2 Uni3
# Vietnamese. Read README.fonts for explanation.
CODESET="Uni1"
# Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes
# 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes
# 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14
# and 16), Fixed (sizes 13, 14, 15, 16 and 18), Goha (sizes 12, 14 and
# 16), GohaClassic (sizes 12, 14 and 16).
FONTFACE="VGA"
FONTSIZE="16"
# You can also directly specify nonstandard font and ACM to load.
# Use space as separator if you want to load more than one font.
# FONT='lat9w-08.psf.gz /usr/local/share/brailefonts/brl-08.psf'
# ACM=/usr/local/share/consoletrans/my_special_encoding.acm
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="jp106"
######################################################################
# generated by debconf as reported for 526862
#XKBLAYOUT="jp,jp"
#XKBVARIANT="latin,OADG109A"
# manually set per Anton Zinoviev
XKBLAYOUT="us,jp"
XKBVARIANT=",OADG109A"
######################################################################
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
I closed prematurely your bug in version 1.23 of console-setup but I
hope the bug was properly fixed in the version 1.24 I uploaded the next
day. Now the settings in the config file should become automaticaly
like this:
XKBLAYOUT="jp"
XKBVARIANT="OADG109A"
Please do not hesitate to reopen the bug or to submit a new one if you
still think console-setup doesn't work properly.
Anton Zinoviev