Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287075 - x11-misc/xkbd-0.8.15 some keys do not send symbols if KeySymsPerKeycode > 4
Summary: x11-misc/xkbd-0.8.15 some keys do not send symbols if KeySymsPerKeycode > 4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 12:46 UTC by Yarda
Modified: 2010-06-06 15:47 UTC (History)
0 users

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


Attachments
Search keysyms only in columns 1-4. (xkbd-0.8.15-fix-keysyms-search.patch,503 bytes, patch)
2009-09-30 13:01 UTC, Yarda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yarda 2009-09-30 12:46:15 UTC
If used with keyboard layouts that have KeySymsPerKeycode > 4 (e.g. Czech) some xkbd keys do not send symbols.
Comment 1 Yarda 2009-09-30 12:50:13 UTC
Steps to reproduce:

1) Configure X to use keyboard layout that has KeySymsPerKeycode > 4 (e.g. cz).
2) Start xkbd.
3) Click on key with bar (|).

Nothing happened, but the bar (|) should be sent.
Comment 2 Yarda 2009-09-30 12:51:00 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-gentoo-2.0.0
Timestamp of tree: Wed, 30 Sep 2009 09:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo"
LANG="cs_CZ"
LC_ALL="cs_CZ"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/fitkit /usr/local/portage"
SYNC="rsync://194.97.4.250/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 a52 aac aalib acl acpi additions aiglx aio alsa amd64 amr amrnb amrwb apache2 artswrappersuid authfile bash-completion berkdb blender-game bluetooth branding bzip2 cairo ccache cdda cddb cdparanoia cdr cdrom cdsound cgi chroot clamav clamd cli cmdsubmenu consolekit cracklib crypt cscope cups dbus dedicated device-mapper dia directfb divx doc dri dts dv dvb dvd dvdnav dvdr eds emboss enca encode esd evo exif extra fam fat fbcon ffmpeg fftw firefox flac flash fortran freetts ftp fuse games gd gdbm gif glitz glut gmedia gmp gnome gpm graphics gstreamer gtk hal hddtemp hpn humanities iconv icq iptv ipv6 isdnlog jabber jadetex java javascript joystick jpeg kpathsea laptop ldap libcaca libnotify lirc lm_sensors logrotate logwatch lzo mad mainmenuhooks math mbrola md5sum mikmod mmx mmxext modules mouse mozdevelop mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib multiuser music mysql nas ncurses nls nptl nptlonly nsplugin ntfs nvidia nvram ogg opengl openmp pam pcre pdf perl php png ppds pppd pstricks publishers python qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection rss rtc rtsp samba sasl savedconfig science screen sdl seamonkey sensord session setup setup-plugin slang smime sound sounds sox spell spl srt sse sse2 ssl startup-notification stream submenu subtitles subversion svg sysfs syslog tcpd tex4ht theora thunar tiff timercmd timerinfo truetype ttxtsubs unicode usb v4l2 vcd vda vdr vim-syntax vim-with-x vnc vncviewer volctrl vorbis wifi wmf wmp wxwindows x264 xcb xcomposite xetex xft xinerama xml xorg xosd xplanet xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse ps2mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Yarda 2009-09-30 13:01:51 UTC
Created attachment 205664 [details, diff]
Search keysyms only in columns 1-4.
Comment 4 Yarda 2009-09-30 13:12:05 UTC
The xkbd searches all columns in the used layout to find a way how to translate KeySyms to keycodes or to find a free space for remapping. It stops on a first 
match, but it does not know how to send symbols from columns > 4. Many of these    symbols are usually also mapped to columns 1 - 4. 

The idea of the proposed patch is not to search in columns > 4. As a result the symbol can be found in columns 1 - 4 (if exists there) or remapped by xkbd to free space in columns 1 - 4.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-06-06 15:47:00 UTC
applied to -r1