ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: Vitaly Lipatov <community@altlinux.ru>
Subject: Re: [Comm] USB mouse.
Date: Sun, 23 May 2004 18:02:03 +0400
Message-ID: <20040523140203.GB3088@sirius.home> (raw)
In-Reply-To: <150698284.20040523203907@ngs.ru>

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

On Sun, May 23, 2004 at 08:39:07PM +0700, Ганжа К.И. wrote:
>    Тепеь про USB mouse. В файл /etc/X11/XF86Config-4 прописал
> 
>    Option  "Protocol"      "IMPS/2"
>    Option  "Device"        "/dev/input/mice"
> 
> Всё закмечательно - USB mouse работает. Но зато, теперь не работает
> TouchPad (и мышь на PS/2). 
> 
>    Можно как-нибудь так подкрутить, чтобы и TouchPad работал и мышь
>    в зависимсти от того куда её воткнули: в PS/2 или в USB.
> 
> P.S. В видах у меня всё это работает одновременно. Дело в том, что
> обычно мышку я подключаю на PS/2. Но когда приходится моного
> печатать, то на ноутбучной клавиатуре это не совсем удобно и я
> подключаю внешнюю на PS/2, тогла мышку приходится переключать на
> USB. Вот как у меня всё заморочено.

Можно сделать в XF86Config-4 вторую копию секции "InputDevice",
изменить там Identifier на "Mouse2", и прописать в одной секции
настройки для PS/2 (/dev/psaux), а в другой - для USB
(/dev/input/mice).  Далее в секции "ServerLayout" необходимо вписать:

	InputDevice	"Mouse1"	"CorePointer"
	InputDevice	"Mouse2"	"SendCoreEvents"

(первая из этих строк там уже должна быть - нужно дописать вторую).

К сожалению, эта конструкция ломается при переходе на ядро 2.6.x,
поскольку там /dev/psaux и /dev/input/mice - одно и то же, в
результате события начинают дублироваться.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-05-23 14:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23 10:59 [Comm] USB mouse. (сломался KDE) Ганжа К.И.
2004-05-23 11:30 ` Sergey Vlasov
2004-05-23 11:43   ` Re[2]: " Ганжа К.И.
2004-05-23 13:08     ` Vitaly Lipatov
2004-05-23 13:39       ` Re[4]: [Comm] USB mouse Ганжа К.И.
2004-05-23 13:52         ` Valery V. Inozemtsev
2004-05-23 14:02         ` Sergey Vlasov [this message]
2004-05-23 14:30           ` Re[2]: " Ганжа К.И.
2004-05-23 14:37             ` Valery V. Inozemtsev
2004-05-24  7:51           ` Re[2]: " Ганжа К.И.
2004-05-24  8:37             ` Vitaly Lipatov
2004-05-24 16:29               ` Re[4]: " Ганжа К.И.
2004-05-24 18:46                 ` Vitaly Lipatov
2004-05-25 15:16                   ` Re[6]: " Ганжа К.И.
2004-05-25 15:39                     ` Sergey Vlasov
2004-05-25 15:57                       ` Re[2]: " Ганжа К.И.
2004-05-25 18:09                     ` Re[6]: " Vitaly Lipatov

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=20040523140203.GB3088@sirius.home \
    --to=vsu@altlinux.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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