From: "Ганжа К.И." <ganzha@ngs.ru>
To: community@altlinux.ru
Subject: Re[2]: [Comm] USB mouse.
Date: Mon, 24 May 2004 14:51:20 +0700
Message-ID: <1059898373.20040524145120@ngs.ru> (raw)
In-Reply-To: <20040523140203.GB3088@sirius.home>
На Ваше письмо от Sunday, May 23, 2004, 9:02:03 PM:
> Можно сделать в 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 - одно и то же, в
> результате события начинают дублироваться.
Сделал в etc/X11/XF86Config-4 две секции для мышей:
# для PS/2
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Button"
Option "Emulate3Timeout" "50"
EnSection
# для USB
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Button"
Option "Emulate3Timeout" "50"
EnSection
... и далее в этом же файле
InputDevice "Mouce1" "CorePointer"
InputDevice "Mouce2" "SendCoreEvents"
Перезапускаю иксы - все работает нормально: TouchPad работатет, мышь работает и на USB, и на PS/2.
А вот при перезапуске компьютера - работает только USB мышь, TouchPad и PS/2 - нет. Снова перезапускаю X - всё начинает работать.
Почему при первоначальном запуске компьютера работает только USB мышь?
--
С уважением
инженер-конструктор "PS-Electro"
Ганжа Константин
mailto:ganzha@ngs.ru
next prev parent reply other threads:[~2004-05-24 7:51 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
2004-05-23 14:30 ` Re[2]: " Ганжа К.И.
2004-05-23 14:37 ` Valery V. Inozemtsev
2004-05-24 7:51 ` Ганжа К.И. [this message]
2004-05-24 8:37 ` Re[2]: " 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=1059898373.20040524145120@ngs.ru \
--to=ganzha@ngs.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