ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Sergey N. Yatskevich" <syatskevich@mail.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] xorg-x11-server-1.4-alt2 и проблемы с мышью
Date: Fri, 14 Sep 2007 19:55:46 +0400
Message-ID: <1189785346.27991.28.camel@snc.2100.gosniias.ru> (raw)
In-Reply-To: <200709141923.43306@VOMUS>

[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]

В Птн, 14/09/2007 в 19:23 +0400, Sergei O. Naumov пишет:
> Мнда... Поставил явно CorePointer на мышь, а synaptics убрал. После этого мышь 
> глючить перестала. Только у меня до этого synaptics был AlwaysCore, a мышь 
> SendCoreEvents.  Это можно интерпретировать как то, что Core-девайс был 
> указан? Более того, он один был.
Х/з как это интерпретировать? Я тут действительно как шаман
экспериментатор - там постучал, здесь попинал :)

> При этом сейчас, когда synaptics вообще убран из ServerLayout, он тачпад 
> продолжает отрабатывать двойные стуки.
Нормально отрабатываются стуки, двойные стуки и две крайние кнопки, а
вот правый край тачпада как scroll и две центральные кнопки, аналог
колёсика на мыше не работают. Собственно это я и назвал работой только
базовых функций.

> Но у вас я не увидел synaptics вообще...
Я отправил xorg.conf без synaptics. Для того, чтобы synaptics заработал
мне пришлось его пересобрать (там ещё патч на Makefile надо наложить,
иначе он не находит заголовки libpixman).

К письму прилагаю свой итоговый xorg.conf, в котором у меня работает
всё, патч и spec для synaptics.

-- 
Sergey N. Yatskevich <syatskevich@mail.ru>

[-- Attachment #2: xorg.conf --]
[-- Type: text/plain, Size: 1637 bytes --]

Section "Module"
	Load "dbe"
	Load "ddc"
	SubSection "extmod"
		Option "omit xfree86-dga"
	EndSubSection
	Load "dri"
	Load "glx"
	Load "int10"
	Load "record"
	Load "vbe"
	Load "v4l"
	Load "freetype"
EndSection

Section "dri"
	Mode 0666
EndSection

Section "InputDevice"
	Identifier  "Keyboard"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier "Touchpad"
	Driver     "synaptics"
EndSection

Section "InputDevice"
	Identifier "Mouse"
	Driver     "mouse"

	Option     "Protocol" "ImPS/2"
EndSection

Section "Monitor"
	Identifier "LVDS"
	Option     "DPMS" "yes"
EndSection

Section "Device"
	Identifier "LVDS"
	Driver     "ati"
EndSection

Section "Screen"
	Identifier "LVDS"

	Device "LVDS"
#	DefaultColorDepth 16
	DefaultColorDepth 24

	Monitor "LVDS"

	SubSection "Display"
		Depth   1
		Modes   "1400x1050" "1280x1024" "1024x768"
		Virtual 1400 1050
	EndSubSection
	SubSection "Display"
		Depth   4
		Modes   "1400x1050" "1280x1024" "1024x768"
		Virtual 1400 1050
	EndSubSection
	SubSection "Display"
		Depth   8
		Modes   "1400x1050" "1280x1024" "1024x768"
		Virtual 1400 1050
	EndSubSection
	SubSection "Display"
		Depth   15
		Modes   "1400x1050" "1280x1024" "1024x768"
		Virtual 1400 1050
	EndSubSection
	SubSection "Display"
		Depth   16
		Modes   "1400x1050" "1280x1024" "1024x768"
		Virtual 1400 1050
	EndSubSection
	SubSection "Display"
		Depth   24
		Modes   "1400x1050" "1280x1024" "1024x768"
		Virtual 1400 1050
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier "Xorg"

	Screen 0 "LVDS"

	InputDevice "Keyboard" "CoreKeyboard"
	InputDevice "Touchpad" "CorePointer"
	InputDevice "Mouse"
EndSection

[-- Attachment #3: synaptics.alt.spec --]
[-- Type: text/plain, Size: 3116 bytes --]

Name: synaptics
Version: 0.14.6
Release: alt2.1
Summary: Synaptics TouchPad driver for XFree86
License: GPL
Group: System/XFree86
URL: http://w1.894.telia.com/~u89404340/touchpad
Source0: %url/files/%name-%version.tar.bz2
Patch0: %name-%version.alt.patch

Packager: Alex V. Myltsev <avm@altlinux.ru>

# Automatically added by buildreq on Fri Jan 27 2006
BuildRequires: libX11-devel libXext-devel xorg-x11-proto-devel xorg-x11-sdk

%set_verify_elf_method unresolved=relaxed

%description 
This is a driver for the Synaptics TouchPad for XFree86 4.x. 
A Synaptics touchpad by default operates in compatibility mode by emulating 
a standard mouse. However, by using a dedicated driver, more advanced features 
of the touchpad become available.


%package -n xorg-x11-drv-%name
Summary: Synaptics TouchPad driver for XFree86
License: GPL
Group: System/XFree86
Obsoletes: %name
Provides: %name
%description -n xorg-x11-drv-%name
This is a driver for the Synaptics TouchPad for XFree86 4.x. 
A Synaptics touchpad by default operates in compatibility mode by emulating 
a standard mouse. However, by using a dedicated driver, more advanced features 
of the touchpad becomes available.

%prep
%setup -q
%patch -p1

%build
%make clean
%make ARCH=%_arch LD=gcc PREFIX=%prefix

%install
%make DESTDIR=%buildroot PREFIX=%prefix MANDIR=%buildroot%_mandir install

%files -n xorg-x11-drv-%name
%doc README.alps README NEWS COMPATIBILITY INSTALL
%_libdir/X11/modules/input/synaptics_drv.so
%_bindir/synclient
%_bindir/syndaemon
%_man1dir/synclient.*
%_man1dir/syndaemon.*
%_man5dir/synaptics.*

%changelog
* Fri Sep 14 2007 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.14.6-alt2.1
- Build with xorg-1.4

* Sun Feb 04 2007 Alex V. Myltsev <avm@altlinux.ru> 0.14.6-alt2
- Fix TEXTREL on i586 (link with gcc instead of ld).
- Upstream git head: compatibility list fixes, 2-finger-emulation on ALPS.

* Sun Sep 17 2006 Alex V. Myltsev <avm@altlinux.ru> 0.14.6-alt1
- New version: pressure-dependent motion speed, two-finger scroll, etc
- Now compatible with Xorg-7.1.

* Tue Jan 31 2006 Anton Farygin <rider@altlinux.ru> 0.14.4-alt2
- new version
- updated for xorg-7.0
- binary package renamed to xorg-x11-drv-%name

* Thu Sep 15 2005 Anton Farygin <rider@altlinux.ru> 0.14.3-alt1
- new version

* Tue May 17 2005 Anton Farygin <rider@altlinux.ru> 0.14.2-alt1
- new version

* Tue Apr 12 2005 Anton Farygin <rider@altlinux.ru> 0.14.1-alt1
- new version

* Fri Oct 29 2004 Anton Farygin <rider@altlinux.ru> 0.13.6-alt1
- new version

* Mon Aug 16 2004 Anton Farygin <rider@altlinux.ru> 0.13.5-alt1
- new version

* Tue Jul 20 2004 Anton Farygin <rider@altlinux.ru> 0.13.3-alt1
- new version

* Tue May 11 2004 Anton Farygin <rider@altlinux.ru> 0.13.2-alt1
- 0.13.2

* Mon Apr 26 2004 Anton Farygin <rider@altlinux.ru> 0.13.0-alt2
- new version

* Tue Apr 20 2004 Anton Farygin <rider@altlinux.ru> 0.12.5-alt2
- place of the manpages fixed (#3934)
- more docs packaged

* Mon Mar 15 2004 Anton Farygin <rider@altlinux.ru> 0.12.5-alt1
- new version

* Tue Oct 28 2003 Rider <rider@altlinux.ru> 0.12.0-alt1
- first build for Sisyphus

[-- Attachment #4: synaptics-0.14.6.alt.patch --]
[-- Type: text/x-patch, Size: 530 bytes --]

diff -Naur synaptics-0.14.6/Makefile synaptics-0.14.6.alt/Makefile
--- synaptics-0.14.6/Makefile	2007-02-04 01:58:11 +0300
+++ synaptics-0.14.6.alt/Makefile	2007-09-14 12:13:04 +0400
@@ -37,7 +37,7 @@
   SDKDIR = $(shell pkg-config xorg-server --variable=sdkdir)
   ALLINCLUDES = -I. -I$(INSTALLED_X)/include/X11 \
 		-I$(INSTALLED_X)/include/X11/extensions \
-		-I$(SDKDIR)
+		-I$(SDKDIR) -I$(INSTALLED_X)/include/pixman-1
 else
   INSTALLED_X = /usr/X11R6
   INPUT_MODULE_DIR = $(DESTDIR)/$(INSTALLED_X)/$(LIBDIR)/modules/input

  parent reply	other threads:[~2007-09-14 15:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14 10:57 Sergei Naumov
2007-09-14 10:58 ` Valery V. Inozemtsev
2007-09-14 11:36 ` Sergey N. Yatskevich
2007-09-14 12:30   ` [sisyphus] [SOLVED] xorg-x11-server-1.4-alt2 и проблемы с WindowMaker Michael Shigorin
2007-09-14 15:23   ` [sisyphus] xorg-x11-server-1.4-alt2 и проблемы с мышью Sergei O. Naumov
2007-09-14 15:31     ` Valery V. Inozemtsev
2007-09-14 15:55     ` Sergey N. Yatskevich [this message]
2007-09-14 16:41       ` Michael Shigorin
2007-09-14 16:48         ` Valery V. Inozemtsev
2007-09-14 16:51         ` Sergey N. Yatskevich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1189785346.27991.28.camel@snc.2100.gosniias.ru \
    --to=syatskevich@mail.ru \
    --cc=sisyphus@lists.altlinux.org \
    --cc=syatskevich@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git