[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#258044: marked as done (xlibs: XGetModifierMapping() doesn't work well with Ivan Pascal's workaround for multi-layout maps that use different modifier keysyms)



Your message dated Thu, 2 Sep 2004 00:48:54 +0200
with message-id <20040901224854.GL2426@linuxfr.org>
and subject line Bug#258044: xlibs: XGetModifierMapping() doesn't work well with Ivan Pascal's workaround for multi-layout maps that use different modifier keysyms
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Jul 2004 10:31:10 +0000
>From tuomov@f281.ttorni.ton.tut.fi Wed Jul 07 03:31:10 2004
Return-path: <tuomov@f281.ttorni.ton.tut.fi>
Received: from f281.ttorni.ton.tut.fi [193.166.235.190] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bi9hl-0006NN-00; Wed, 07 Jul 2004 03:31:09 -0700
Received: from tuomov by f281.ttorni.ton.tut.fi with local (Exim 3.36 #1 (Debian))
	id 1Bi9hD-0005jk-00; Wed, 07 Jul 2004 13:30:35 +0300
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Tuomo Valkonen <tuomov@modeemi.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xserver-xfree86: XGetModifierMapping reports broken hard-coded (?)
 configuration
X-Mailer: reportbug 2.63
Date: Wed, 07 Jul 2004 13:30:35 +0300
Message-Id: <E1Bi9hD-0005jk-00@f281.ttorni.ton.tut.fi>
Sender: Tuomo Valkonen <tuomov@f281.ttorni.ton.tut.fi>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: xserver-xfree86
Version: 4.3.0.dfsg.1-5
Severity: important


Since the latest upgrade (AFAIK) from some other 4.3 release of XFree86,
XGetModifierMapping or simply typing 'xmodmap' has reported 

	mod1        Alt_L (0x7d),  Meta_L (0x7e)

but this is _wrong_. The keycode for Alt_L is 0x40. xmodmap also reports two
mappings

	keycode  64 = Alt_L Meta_L
	keycode 125 = Alt_L

and only XGetModifierMapping uses the incorrect one, causing at least some
programs to not ignore alt presses/releases as they should.

Executing

	remove mod1 = Alt_L
	keycode 125 = 
	add mod1 = Alt_L

fixes the problem, but there must be something wrong in the default Finnish
keymap (other than the ISO_Level3_Shift brain-damage that makes creating
custom modmaps very difficult as not even a full backup modmap from 4.2 
works). There are also other possibly spurious modifiers in the 120 range
that don't exist in the backup modmap.


-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx    1 root     root           20 Mar 12  2002 /etc/X11/X -> /usr/bin/X11/XFree86
-rwxr-xr-x    1 root     root      1745132 Jun 16 10:18 /usr/bin/X11/XFree86

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86

VGA-compatible devices on PCI bus:
0000:03:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
0000:03:00.0 Class 0300: 10de:0171 (rev a3)

/var/lib/xfree86/XF86Config-4.md5sum does not exist.

XFree86 X server configuration file status:
lrwxrwxrwx    1 root     root           15 Jul 29  2003 /etc/X11/XF86Config-4 -> XF86Config-notv

Contents of /etc/X11/XF86Config-4:
#Section "ServerLayout"
#	Identifier     "Default Layout"
#	Screen         "Default Screen" 0 0
#	InputDevice    "Generic Keyboard"
#	InputDevice    "Configured Mouse"
#	InputDevice    "Generic Mouse"
#EndSection

Section "Files"
#	FontPath     "unix/:7100"
	FontPath     "/usr/lib/X11/fonts/misc"
	FontPath     "/usr/lib/X11/fonts/cyrillic"
	FontPath     "/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath     "/usr/lib/X11/fonts/100dpi/:unscaled"
#	FontPath     "/usr/lib/X11/fonts/Type1"
	FontPath     "/usr/lib/X11/fonts/Speedo"
	FontPath     "/usr/lib/X11/fonts/75dpi"
	FontPath     "/usr/lib/X11/fonts/100dpi"
	FontPath     "/usr/share/fonts/truetype"
#	FontPath     "unix/:7110"
EndSection

Section "Module"
#	Load  "GLcore"
	Load  "bitmap"
	Load  "dbe"
	Load  "ddc"
#	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "pex5"
	Load  "record"
	Load  "speedo"
	Load  "type1"
	Load  "vbe"
#	Load  "xie"
	Load  "type1"
#	Load  "xft"
#	Load  "xtt"
#	Load  "Xrender"
#	Load  "Xrandr"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "keyboard"
	Option      "CoreKeyboard"
	Option      "XkbRules" "xfree86"
	Option      "XkbModel" "pc104"
	Option      "XkbLayout" "fi"
	Option      "XkbVariant" "nodeadkeys"
#	Option      "XkbOptions" "grp:switch,ctrl:nocaps"
	Option      "XkbOptions" "ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option      "CorePointer"
	Option      "Device" "/dev/psaux"
	Option      "Protocol" "PS/2"
	Option      "Emulate3Buttons" "true"
	Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier  "Generic Mouse"
	Driver      "mouse"
	Option      "SendCoreEvents" "true"
	Option      "Device" "/dev/input/mice"
	Option      "Protocol" "ImPS/2"
	Option      "Emulate3Buttons" "true"
	Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	Identifier   "Generic Monitor"
	HorizSync    31.0 - 92.0
	VertRefresh  50.0 - 150.0
	Option       "DPMS"
#	Modeline "352x240" 13.06 352 384 400 432 240 242 250 252
#	Modeline "352x240" 16.00 352 384 400 432 240 242 250 252 doublescan
	Modeline "352x264" 16.00 352 384 400 432 264 266 275 277 doublescan
#	Modeline "384x288" 21.45 384 416 440 472 288 290 301 303 doublescan
	Modeline "384x288" 16.00 384 416 440 472 288 290 301 303 doublescan
	Modeline "448x336" 29.23 448 480 520 552 336 338 351 353 doublescan
	Modeline "576x432" 38.79 576 608 680 712 432 434 452 454
#	Modeline "768x576" 86.54 768 800 920 952 576 578 604 606
	Modeline "768x576" 50.00 768 800 920 952 576 578 604 606 +hsync +vsync
EndSection


Section "Monitor"
	Identifier   "TV"
	HorizSync    30-50
	VertRefresh  50-60
#	Modeline "352x240" 13.06 352 384 400 432 240 242 250 252
#	Modeline "352x240" 16.00 352 384 400 432 240 242 250 252 doublescan
#	Modeline "352x264" 16.00 352 384 400 432 264 266 275 277 doublescan
#	Modeline "384x288" 21.45 384 416 440 472 288 290 301 303 doublescan
#	Modeline "384x288" 16.00 384 416 440 472 288 290 301 303 doublescan
#	Modeline "448x336" 29.23 448 480 520 552 336 338 351 353 doublescan
	Modeline "576x432" 38.79 576 608 680 712 432 434 452 454
#	Modeline "768x576" 86.54 768 800 920 952 576 578 604 606
	Modeline "768x576" 50.00 768 800 920 952 576 578 604 606 +hsync +vsync
EndSection

Section "Device"
	Identifier  	"nvidia0"
	Driver      	"nvidia"
	BusID		"PCI:3:0:0"
	Screen 		0
EndSection

Section "Device"
	Identifier  	"nvidia1"
	Driver 		"nvidia"
	BusID 		"PCI:3:0:0"
	Screen 		1
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "nvidia0"
	Monitor    "Generic Monitor"
	DefaultDepth    24
	SubSection "Display"
		Depth     24
		Modes    "1280x1024" "1024x768" "800x600" "320x200"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x1024" "1024x768" "800x600" "320x200"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1280x1024" "1024x768" "800x600" "320x200"
	EndSubSection
EndSection


Section "Screen"
	Identifier "Screen1"
	Device     "nvidia1"
	Monitor    "TV"
	DefaultDepth    24
	SubSection "Display"
		Depth     24
		Modes    "800x600"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "800x600"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "800x600"
	EndSubSection

	Option "TVStandard" "PAL-G"
	Option "ConnectedMonitor" "TV"
	Option "TVOutFormat" "Composite"
EndSection

Section "ServerLayout"
	Identifier "Default Layout"
	Screen 0 "Screen0"
	Screen 1 "Screen1" rightOf "Screen0"
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
EndSection

Section "DRI"
	Mode         0666
EndSection



XFree86 X server log files on system:
-rw-------    1 root     root        24593 Aug 10  2003 /var/log/XFree86.3.log
-rw-------    1 root     root       102577 Jul  4 18:04 /var/log/XFree86.2.log
-rw-------    1 root     root        48181 Jul  7 13:00 /var/log/XFree86.1.log
-rw-------    1 root     root        49357 Jul  7 13:00 /var/log/XFree86.0.log

Contents of most recent XFree86 X server log file
/var/log/XFree86.0.log:


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=fi_FI.ISO-8859-1

Versions of packages xserver-xfree86 depends on:
ii  debconf [debconf-2.0]     1.4.29         Debian configuration management sy
ii  libc6                     2.3.2.ds1-13   GNU C Library: Shared libraries an
ii  xserver-common            4.3.0.dfsg.1-5 files and utilities common to all 
ii  zlib1g                    1:1.2.1.1-3    compression library - runtime

-- debconf information:
  xserver-xfree86/config/monitor/screen-size: 17 inches (430 mm)
* xserver-xfree86/config/device/use_fbdev: false
* xserver-xfree86/config/monitor/selection-method: Advanced
  xserver-xfree86/config/doublequote_in_string_error:
  xserver-xfree86/config/device/bus_id:
  xserver-xfree86/config/device/video_ram:
* xserver-xfree86/config/monitor/lcd: false
  xserver-xfree86/config/inputdevice/keyboard/internal:
* xserver-xfree86/config/device/driver: mga
* xserver-xfree86/config/monitor/vert-refresh: 50-150
* xserver-xfree86/config/display/default_depth: 16
* xserver-xfree86/config/display/modes: 1280x1024, 1024x768, 800x600, 640x480
  xserver-xfree86/config/modules: GLcore, bitmap, dbe, ddc, dri, extmod, freetype, glx, int10, record, speedo, type1, vbe, xtt
  xserver-xfree86/config/monitor/range_input_error:
  xserver-xfree86/autodetect_video_card: true
* xserver-xfree86/config/inputdevice/keyboard/variant:
* xserver-xfree86/config/inputdevice/mouse/port: /dev/psaux
  xserver-xfree86/config/write_files_section: true
  xserver-xfree86/autodetect_monitor: true
  xserver-xfree86/config/device/identifier:
  shared/default-x-server: xserver-xfree86
  xserver-xfree86/config/inputdevice/mouse/emulate3buttons: true
* xserver-xfree86/config/inputdevice/keyboard/layout: fi-latin1
* xserver-xfree86/config/monitor/horiz-sync: 31-92
  xserver-xfree86/config/monitor/identifier: Generic Monitor
  shared/no_known_x-server:
  xserver-xfree86/autodetect_mouse: true
  xserver-xfree86/config/monitor/mode-list: 1280x960 @ 60Hz
  xserver-xfree86/clobber_XF86Config-4:
* xserver-xfree86/config/inputdevice/keyboard/rules: xfree86
  xserver-xfree86/multiple_possible_x-drivers:
* xserver-xfree86/config/inputdevice/keyboard/model: pc104
  xserver-xfree86/config/write_dri_section: true
  xserver-xfree86/config/inputdevice/mouse/zaxismapping: true
  xserver-xfree86/config/inputdevice/mouse/retry_detection:
  xserver-xfree86/config/device/bus_id_error:
* xserver-xfree86/config/inputdevice/keyboard/options:
  xserver-xfree86/config/nonnumeric_string_error:
* xserver-xfree86/config/inputdevice/mouse/protocol: PS/2
  shared/multiple_possible_x-servers:
  xserver-xfree86/config/null_string_error:

---------------------------------------
Received: (at 258044-done) by bugs.debian.org; 1 Sep 2004 22:45:50 +0000
>From barbier@linuxfr.org Wed Sep 01 15:45:49 2004
Return-path: <barbier@linuxfr.org>
Received: from postfix3-2.free.fr [213.228.0.169] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C2drR-0004gJ-00; Wed, 01 Sep 2004 15:45:49 -0700
Received: from localhost.localdomain (unknown [82.254.62.138])
	by postfix3-2.free.fr (Postfix) with ESMTP id B6F60C24C
	for <258044-done@bugs.debian.org>; Thu,  2 Sep 2004 02:41:19 +0200 (CEST)
Received: by localhost.localdomain (Postfix, from userid 1000)
	id 7795D23DC4; Thu,  2 Sep 2004 00:48:54 +0200 (CEST)
Date: Thu, 2 Sep 2004 00:48:54 +0200
To: 258044-done@bugs.debian.org
Subject: Re: Bug#258044: xlibs: XGetModifierMapping() doesn't work well with Ivan Pascal's workaround for multi-layout maps that use different modifier keysyms
Message-ID: <20040901224854.GL2426@linuxfr.org>
References: <20040827064923.GB863@linuxfr.org> <20040827103331.GA8134@jolt.modeemi.cs.tut.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040827103331.GA8134@jolt.modeemi.cs.tut.fi>
User-Agent: Mutt/1.5.6+20040818i
From: barbier@linuxfr.org (Denis Barbier)
Delivered-To: 258044-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_01,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Fri, Aug 27, 2004 at 01:33:31PM +0300, Tuomo Valkonen wrote:
> On Fri, Aug 27, 2004 at 08:49:23AM +0200, Denis Barbier wrote:
> > [Tuomo Valkonen]
> > > The keycode for Alt_L is 0x40. xmodmap also reports two mappings
> > >         keycode  64 = Alt_L Meta_L
> > >         keycode 125 = Alt_L
> > > 
> > > and only XGetModifierMapping uses the incorrect one, causing at least
> > > some programs to not ignore alt presses/releases as they should.
> > 
> > This has been fixed in -6, can you please confirm?
> 
> It may take a while... My 10-year-old monitor died over a week ago of
> old age, and I currently only have this ancient 486 laptop to use as
> a serial terminal. The new monitor I ordered still hasn't been sent to
> me, although the shop claims they have it in stock. I'd take my money
> elsewhere, but it seems almost nobody has any TFT:s worth buying in
> stock.

As I am pretty sure that this bug has been fixed, I am closing it now.
Please file a new bug report if you encounter similar problems in the
future.
Thanks for your report.

Denis



Reply to: