Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37671 - "|" does not work in console under development-sources with a Japanese keyboard
Summary: "|" does not work in console under development-sources with a Japanese keyboard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 03:13 UTC by Jason Stubbs (RETIRED)
Modified: 2004-02-04 11:58 UTC (History)
2 users (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 Jason Stubbs (RETIRED) gentoo-dev 2004-01-09 03:13:24 UTC
Typing "|" (pipe) in console with keyboard layout jp106 does not work with any 2.6 (or any of the later 2.5) kernels.

Currently using:
sys-apps/kbd-1.08-r4
sys-kernel/development-sources-2.6.1-rc1
sys-libs/glibc-2.3.3_pre20031222
Comment 1 Ciaran McCreesh 2004-01-09 03:19:06 UTC
Also #~ on some GB keyboards...

http://marc.theaimsgroup.com/?l=linux-kernel&m=107363687730772&w=2
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-01-09 04:05:26 UTC
Same here, but the problem was solved on my ~x86 box after I emerged linux-headers-2.6.0, remerged kbd-1.08-r4 and changed the keycode for backslash bar to 182 in /usr/share/keymaps/i386/qwerty/jp106.map.gz. (keycode 182 = backslash        bar         control keycode 182 = Control_backslash) 
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2004-01-09 04:27:57 UTC
additionally with my current kernel, i've found that two keys return the same scancode. the keys are "\"-"|" key (corresponding to keycode 182 as explained by usata) and the "katakana/hiragana"-"romaji" key with the scancode returned for both being 0x7d for keydown and 0xfd for keyup.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-09 04:46:52 UTC
maybe /var/tmp not world writable?
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2004-01-09 06:53:49 UTC
have confirmed that usata's solution works. however, the romaji key is still of course duplicating the behaviour of the \| key.

Other keys that aren't working properly are the hankaku-zenkaku/kanji key (which is duplicating the tab key in console when pressed twice!?), the muhenkou key (no real problem) and the \_ key (which i'll try and find an appropriate keycode for).

will also confirm whether kbd built against 2.6 headers will work correctly under 2.4.
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2004-01-09 07:22:55 UTC
the rebuild kbd works flawlessly under 2.4 except for the remapped keycode.
Comment 7 Ciaran McCreesh 2004-01-20 08:13:49 UTC
Please apply the following patch, it should fix this.

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/broken-out/keyboard-scancode-fixes.patch

This patch (or a slight variation on it) will almost certainly be included in 2.6.2, but if anyone's bumping d-s or g-d-s revisions it's probably worth adding this in.
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2004-01-20 08:41:04 UTC
John, can you please add this to gentoo-dev-sources? As for development-sources we'd like to keep that ``as vanilla as it gets'' so we'll carry this over when it's added to 2.6.2. Thanks for the patch reference, Ciaran.
Comment 9 John Mylchreest (RETIRED) gentoo-dev 2004-02-04 11:58:22 UTC
hopefully this has now been solved in the newer 2.6.2 sources.
please bump and retry