ALT Linux hardware support
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru, hardware@altlinux.ru
Subject: Re: [Hardware] Re: Горячее подключение USB мыши
Date: Tue, 12 Oct 2004 16:04:30 +0400
Message-ID: <20041012120430.GA3121@master.mivlgu.local> (raw)
In-Reply-To: <20041012100634.GB22947@osdn.org.ua>

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

On Tue, Oct 12, 2004 at 01:06:34PM +0300, Michael Shigorin wrote:
> On Mon, Oct 11, 2004 at 05:49:12PM +0400, Vitaly Ostanin wrote:
> > >>Да, если устройством мыши указать /dev/input/mice
> > >Этои не 2.6 only, случаем?
> > Нет, это работало ещё до переезда на 2.6 - на 2.4
> 
> Только в режиме "или-или" afair :(

Для 2.4:

- /dev/input/mice - ввод от всех USB-мышей (события объединяются); могут
  использоваться протоколы PS/2, IMPS/2, ExplorerPS/2 независимо от
  реальных типов мышей и количества кнопок.

- /dev/psaux - ввод от PS/2-устройства (доступ непосредственно к порту
  PS/2; протокол должен соответствовать типу устройства).

Для 2.6:

- /dev/input/mice - ввод от всех мышей, поддерживаемых ядром (USB, PS/2,
  даже serial, если их соответствующим образом настроить).  Как и в 2.4,
  могут использоваться протоколы PS/2, IMPS/2, ExplorerPS/2 вне
  зависимости от типа подключенных устройств.

- /dev/psaux - то же самое, что и /dev/input/mice.

В 99% случаев для использования USB-мыши достаточно прописать в
XF86Config-4 /dev/input/mice.  Этот вариант не годится только при
использовании специфических устройств ввода типа планшетов Wacom, события
от которых обрабатываются отдельным драйвером и не должны попадать в общий
поток помимо этого драйвера.  Для такой конфигурации пока красивого
решения нет - приходится прописывать явно все /dev/input/mouse*,
/dev/input/event*.

Если нужно обеспечить одновременную работу PS/2 и USB, для ядра 2.4 нужно
указывать в XF86Config-4 оба устройства отдельно - и /dev/psaux, и
/dev/input/mice.  Для ядра 2.6 /dev/psaux быть не должно (иначе X-сервер
будет получать одни и те же события дважды), но необходимо загрузить
модуль psmouse.

Устройство /dev/input/mice обслуживается модулем mousedev; можно вписать
этот модуль в /etc/modules, чтобы он загружался даже при отсутствии
USB-мыши.

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

  reply	other threads:[~2004-10-12 12:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10 16:37     ` [Hardware] Re: [Comm] " Valery V. Inozemtsev
2004-10-12 10:06               ` [Hardware] " Michael Shigorin
2004-10-12 12:04                 ` Sergey Vlasov [this message]
2004-10-12 14:28                   ` Anton Farygin
2004-10-12 15:16                     ` [Comm] " Sergey Vlasov
2004-10-12 15:22                       ` Anton Farygin

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=20041012120430.GA3121@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    --cc=hardware@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 hardware support

This inbox may be cloned and mirrored by anyone:

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

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


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