Bug#576211: xserver-xorg-input-synaptics: ValuatorAxis limits are set from device limits

2010-04-01 Thread Tibor Zenis
Package: xserver-xorg-input-synaptics
Version: 1.2.1-1
Severity: important
Tags: upstream patch

Hello,
the synaptics driver set the ValuatorAxis limits to the device limits (like an
absolute axis device - synaptics driver sends relative events) and the X
pointer position can obtain only discrete values. The cursor moves by stairs.
Example:
  X-resolution: 1920
  Touchpad: x-axis range 32 - 544
Only every  1920 / (544 - 32) = 3.75  column can be hit


Next simple patch disables setup of the ValuatorAxis limits and after applying
the patch the cursor moves smoothly with a pixel precision.

Regards,
Tibor Zenis



--- xserver-xorg-input-synaptics-1.2.1/src/synaptics.c  2010-04-01 
16:32:13.0 +0200
+++ xserver-xorg-input-synaptics-1.2.1_fix/src/synaptics.c  2010-04-01 
16:17:47.0 +0200
@@ -922,7 +922,8 @@ DeviceInit(DeviceIntPtr dev)
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) = 7
 axes_labels[0],
 #endif
-min, max, priv-resx * 1000, 0, priv-resx * 1000);
+//min, max, priv-resx * 1000, 0, priv-resx * 1000);
+-1, -1, 1, 0, 1);
 xf86InitValuatorDefaults(dev, 0);
 
 /* Y valuator */
@@ -940,7 +941,8 @@ DeviceInit(DeviceIntPtr dev)
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) = 7
 axes_labels[1],
 #endif
-min, max, priv-resy * 1000, 0, priv-resy * 1000);
+//min, max, priv-resy * 1000, 0, priv-resy * 1000);
+-1, -1, 1, 0, 1);
 xf86InitValuatorDefaults(dev, 1);
 
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0






-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Aug 29  2009 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1866784 Mar 23 17:10 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 
200M]

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 5257 Apr  1 16:26 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
FontPath/usr/share/fonts/X11/misc
FontPath/usr/share/fonts/X11/cyrillic
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/share/fonts/X11/75dpi
# path to defoma fonts
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadtype1
Loadv4l
Loadvbe
EndSection

Section ServerFlags
Option HandleSpecialKeys Always
Option DontZapFalse
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout us
#   Option  XkbLayout sk_tz
Option  XkbOptions ctrl:nocaps
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
EndSection

Section InputDevice
Identifier  Synaptics Touchpad
Driver  synaptics
Option  SendCoreEventstrue
Option  Device/dev/psaux
Option  Protocol  auto-dev
#   Option  HorizScrollDelta  0
EndSection

Section InputDevice
Identifier  Touchpad
Driver  synaptics
Option  Device/dev/input/mouse0
Option  Protocol  auto-dev
Option  VertTwoFingerScroll   0
Option  HorizTwoFingerScroll  0
Option

Bug#536683: closed by Anton Zinoviev zinov...@debian.org (Bug#536683: fixed in console-setup 1.46)

2009-11-19 Thread Tibor Zenis
On Thu, Nov 19, 2009 at 12:14:24AM +0200, Anton Zinoviev wrote:
 On Wed, Nov 18, 2009 at 09:48:53PM +0100, Tibor Zenis wrote:
  Hello,
  the original bug is still present. To complete the upgrade I had to
  change the XkbLayout to us (file /etc/default/console-setup).
 
 Do you mean that version 1.47 spans 1000 grep, sed, sort processes?  
 This was the bug I believe was fixed.  Or something different happens 
 this time?  Can you send your /etc/default/{keyboard,console-setup} 
 files so I can make tests.
 
Upgrade to version 1.47 spans many processes. I can't reproduce this
behaviour by reinstallation of the console-setup. The behaviour might be
changed after installation of the keyboard-configuration package.
I attach the /etc/default/console-setup (screwed by
keyboard-configuration) and the keyboard definition file
/usr/share/X11/xkb/symbols/sk_tz.

Tibor Zenis

-- 
,..,.,..,.,..,.,..,.,..,.,..,
; Tibor Zenis   ;
: zenis @ fmph . uniba . sk :
'``'`'``'`'``'`'``'`'``'`'``'
# 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/tty1

# 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=ISO-8859-2

# 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=Uni2

# 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).
# Set FONTFACE and FONTSIZE to empty strings if you want setupcon to
# set up the keyboard but to leave the console font unchanged.
FONTFACE=VGA
FONTSIZE=16

# You can also directly specify nonstandard font or console map to load.
# Use space as separator if you want to load more than one font.
# You can use FONT_MAP in order to specify the Unicode map of the font
# in case the font doesn't have it embedded.

# FONT='lat9w-08.psf.gz /usr/local/share/braillefonts/brl-08.psf'
# FONT_MAP=/usr/share/consoletrans/lat9u.uni
# CONSOLE_MAP=/usr/local/share/consoletrans/my_special_encoding.acm


if [ -f /etc/default/keyboard ]; then
. /etc/default/keyboard
fi
##
# You can remove the lines that follow.  They contain the contents of
# this file before version 1.47 of console-setup.
##
# # 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/tty1
# 
# # 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=ISO-8859-2
# 
# # 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=Uni2
# 
# # 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=pc105
# XKBLAYOUT=sk_tz
# XKBVARIANT=
# XKBOPTIONS=ctrl:nocaps
# 
// $XFree86$

partial alphanumeric_keys 
xkb_symbols basic {
 
 // Describes the differences between a very simple en_US
 // keyboard and a Slovak keyboard

Bug#536683: closed by Anton Zinoviev zinov...@debian.org (Bug#536683: fixed in console-setup 1.46)

2009-11-18 Thread Tibor Zenis
)
  console-setup-mini - console font and keymap setup program - reduced version
  console-setup-pc-ekmap - encoded keyboard layouts for PC keyboards (udeb)
  console-setup-sun4-ekmap - encoded keyboard layouts for Sun4 keyboards (udeb)
  console-setup-sun5-ekmap - encoded keyboard layouts for Sun5 keyboards (udeb)
  console-setup-udeb - Configure the keyboard (udeb)
 Closes: 510211 536683 536723 541291 542832 543214 543478 546654 546702 548101 
 548354 551586
 Changes: 
  console-setup (1.46) unstable; urgency=low
  .
[ Christian Perrier ]
* Add kbd to Should-Start in init script. Thanks to Michael Schutte
  for the patch. Closes: #548101
  .
[ Colin Watson ]
* Add default codeset/layout/variant for Asturian.
* Forbid Unicode keysyms in the range 0xf000-0x, as kbd 1.15-1 rejects
  the entire keymap if it contains any keysyms in that range (LP:
  #416949).
  .
[ Jordi Mallach ]
* Set XKBVARIANT to cat for Catalan.
  .
[ Anton Zinoviev]
* Protect the special symbols in the regular expressions of ask_debconf.
  Thanks to Tibor Zenis, Rogério Brito, Michael Gold, W. Goesgens, Martin
  Ziegler, Andreas Juch, Colin Tuckley, Samuel Thibault and Arnaud Giersch.
  Closes: #536683, #546654, #551586.
* Do not load fonts when splashy is active.  Thanks to Mathieu Parent and
  Adam Trickett, closes: #510211, #548354.
* Make keys of type ONE_LEVEL, TWO_LEVEL or THREE_LEVEL realy such.
  Thanks to Samuel Thibault and aCaB, closes: #542832, #536723.
* New configuration option: UNIMAP.  Thanks to Samuel Thibault,
  closes: #543478.
* Execute kbd_mode for all consoles (doesn't work with console-tools).
  Thanks to Samuel Thibault, closes: #546702.
* New question in the FAQ: The non-ASCII characters don't work.
  Thanks to Harald Braumann, closes: #541291.
* Use LC_MESSAGES in order to determine the output language of the
  keyboard models and layouts.  Thanks to Harald Braumann,
  closes: #543214.
 Checksums-Sha1: 
  1bcba23d111db8ff5d6171051ac4e879869726bd 1222 console-setup_1.46.dsc
  8693efc96054fced1e78e83312c21325f1a1fa9e 2408215 console-setup_1.46.tar.gz
  840c418c02d123a36cd9ebce9fa62c2eb3b253fa 726436 console-setup_1.46_all.deb
  12aac7df159f299372c85fa235b401b86d2436cb 907460 
 console-setup-mini_1.46_all.deb
  db9832eec70bd4428a758c4e3f8b6ba420847ba2 42188 bdf2psf_1.46_all.deb
  88850aa9c3cb0815e6a13ac63c57dd38e76f9d41 249846 
 console-setup-udeb_1.46_all.udeb
  ac85774d0cc71ed5d924cc346e94293e3a3dec44 105410 
 console-setup-amiga-ekmap_1.46_all.udeb
  85e55014f19e4b1042b234e8d2f35c7b146b2418 104132 
 console-setup-ataritt-ekmap_1.46_all.udeb
  ac28fd422084c9744957ee5a6deabaff8e3e89dc 82554 
 console-setup-macintoshold-ekmap_1.46_all.udeb
  7ca35675cf357a8f89a8ac2bded0db091094b821 109222 
 console-setup-pc-ekmap_1.46_all.udeb
  d7d45338d3592bdc80f21831c95acbf9300ef8c0 105296 
 console-setup-sun4-ekmap_1.46_all.udeb
  03ecb0fdc4aa964cb7168a70fa9a7052582dde88 105610 
 console-setup-sun5-ekmap_1.46_all.udeb
  85ab77d7d648e1cac1213cc279418e2679199740 27368 
 console-setup-fonts-udeb_1.46_all.udeb
 Checksums-Sha256: 
  2f02968dad679da08da2c913ab2801cfc6bb312c40e3c2bd340cd7c2c6a9865f 1222 
 console-setup_1.46.dsc
  e57deee0ba977f6fc7328ff54bc56d7d442c56a4e5ed3e2342f4be4057761d07 2408215 
 console-setup_1.46.tar.gz
  117fad8d4461c16f2b127450907bbc7dc908eb60367fc23a857464a7f109cea1 726436 
 console-setup_1.46_all.deb
  061f204172b742215b4bae277e5f862bdfa40e56a596345026d6f45b48ff8982 907460 
 console-setup-mini_1.46_all.deb
  257ee24b396320badbdb97d3c1d84b50c591e3935efee7fcae294409f4445ebd 42188 
 bdf2psf_1.46_all.deb
  d7c1ca5227336a1e6e6fb2567fca1115a789f810ae4a16f11c531313815580d6 249846 
 console-setup-udeb_1.46_all.udeb
  5454c51f69f4fa294d4dba43a2c9f1b83f43a51ef9b5edff0d973c12d9f0429d 105410 
 console-setup-amiga-ekmap_1.46_all.udeb
  e117b6bd0a4cfca75abdd0c3ecd99ed308a0d8a1edef6f1ef76d383f08475122 104132 
 console-setup-ataritt-ekmap_1.46_all.udeb
  251bb5d2e23c23b57abd825620f3337d5a8da454cfe7aff7c236862da870d1e2 82554 
 console-setup-macintoshold-ekmap_1.46_all.udeb
  3eb7aa7f488179ab59b0df9ebebaab43de22000fb2a9477ac6351a423b69f0b4 109222 
 console-setup-pc-ekmap_1.46_all.udeb
  9bffa962b763b8d5d376d847f1134e81b2f9931e7daec9d402b31e14d2024f6b 105296 
 console-setup-sun4-ekmap_1.46_all.udeb
  8a207b58e32841b9b68818d9dfe36ed0b00ea80e3cddf2539d9110ae22e144b5 105610 
 console-setup-sun5-ekmap_1.46_all.udeb
  f97140eedd36fa3d462aca2c7ab48bd03b9c94cd43c479bf3708d434ccf1b540 27368 
 console-setup-fonts-udeb_1.46_all.udeb
 Files: 
  b4d1955aff564e7e60f1749f7697fa77 1222 utils optional console-setup_1.46.dsc
  75622fc6b7d0e0ebae41b9c695486458 2408215 utils optional 
 console-setup_1.46.tar.gz
  469fbe9d4a09c1df0d2826c182795980 726436 utils optional 
 console-setup_1.46_all.deb
  5d0a0a589a4941cc2617364b8c161729 907460 utils extra 
 console-setup-mini_1.46_all.deb
  d982b502d2c866d3d72358e12db14c69 42188 utils

Bug#536683: console-setup: Installation/upgrade freezes when non-standard XKBLAYOUT used

2009-07-12 Thread Tibor Zenis
Package: console-setup
Version: 1.44
Severity: normal

Hi,
installation fails if the XKBLAYOUT (/etc/default/console-setup or
/etc/X11/xorg.conf) is set to a non-standard value (sk_tz in my case).
Process /var/lib/dpkg/info/console-setup.config configure starts up
too many ( 1000 per second) processes (grep, sed, sort) with no
symptoms of progress.

Tibor Zenis

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=sk_SK (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages console-setup depends on:
ii  console-terminus  4.28-1 Fixed-width fonts for fast reading
ii  debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii  xkb-data  1.6-1  X Keyboard Extension (XKB) configu

Versions of packages console-setup recommends:
ii  console-tools1:0.2.3dbs-65.1 Linux console and font utilities
ii  kbd-compat [kbd] 1:0.2.3dbs-65.1 Wrappers around console-tools for 

Versions of packages console-setup suggests:
ii  locales   2.9-19 GNU C Library: National Language (
ii  lsb-base  3.2-22 Linux Standard Base 3.2 init scrip

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#516083: Upgrade of acpid knock out customized config file

2009-02-19 Thread Tibor Zenis
Package: acpid
Version: 1.0.8-4
Severity: wishlist

Hi,
I use the power button for suspend to disk action and every upgrade of
acpid package kills the /etc/acpi/powerbtn.sh file (it is a customized
version of the example file).
If you want remove old scriptlets please first check if they have been
customized.

Tibor

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=sk_SK (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpid depends on:
ii  libc6 2.9-1  GNU C Library: Shared libraries
ii  lsb-base  3.2-20 Linux Standard Base 3.2 init scrip
ii  module-init-tools 3.4-1  tools for managing Linux kernel mo

acpid recommends no packages.

acpid suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org