ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm] Re: Asks about mouse
Date: Wed, 28 May 2003 15:30:49 +0400
Message-ID: <20030528153049.049242d1.vsu@altlinux.ru> (raw)
In-Reply-To: <20030528082018.7a9b001a.leutin-lists@rambler.ru>

On Wed, 28 May 2003 08:20:18 +0600
Леутин Александр <leutin-lists@rambler.ru> wrote:

> * Sergey Vlasov <vsu@altlinux.ru> Tue, 27 May 2003 14:33:08 +0400
> 
> > On Tue, 27 May 2003 01:05:42 +0600
> > Леутин Александр <leutin-lists@rambler.ru> wrote:
> > 
> > > Я стал счастливым обладателем Logietch iFeel MouseMan. Подключил по
> > > USB, сказал, MOUSE=yes в /etc/sysconfig/usb, написАл в XF86Config-4
> > > /dev/usbmouse вместо /dev/mouse.
> > Это зря. Должно быть Device "/dev/input/mice", Option "Protocol"
> > "IMPS/2" (ядро эмулирует этот протокол).
> Спасибо, поставил. Результат пока тот же -- работает, но
>  боковая кнопка == колесо.

А проверка через xev что показывает?

Ещё попробуйте протокол "ExplorerPS/2".

> > > 3) На боку у мышки есть доп. кнопка.
> > > Можно ли повесить на неё какое-то определённое действие? man что? 
> >
> > Попробуйте выполнить от рута:
> > 
> > rmmod usbmouse
> > modprobe hid
> Сделал, то же самое
> > Возможно, что-то изменится. (Драйвер usbmouse больше 5 кнопок не
> > знает, а на самом деле и колесо обрабатывать не должен.)
> Хм. А почему он грузится автоматом, если я указываю "USB|Wheel" в
> Mousedrake?

А хрен его знает. Для переключения на hid можно установить hotplug,
поставить MOUSE="no" в /etc/sysconfig/usb, а потом добавить usbmouse в
/etc/hotplug/blacklist.

> > Кроме того, кнопки с номерами больше 5 в X поддерживаются не
> > полностью.
> То есть? Я слышал, что больше 7 кнопок не поддерживается без
> перекомпиляции. Что значит "не полностью"?

$ grep 'Button[0-9]' /usr/X11R6/include/X11/X.h
#define Button1MotionMask               (1L<<8)  
#define Button2MotionMask               (1L<<9)  
#define Button3MotionMask               (1L<<10) 
#define Button4MotionMask               (1L<<11) 
#define Button5MotionMask               (1L<<12) 
#define Button1Mask             (1<<8)
#define Button2Mask             (1<<9)
#define Button3Mask             (1<<10)
#define Button4Mask             (1<<11)
#define Button5Mask             (1<<12)
#define Button1                 1
#define Button2                 2
#define Button3                 3
#define Button4                 4
#define Button5                 5

Т.е. для последующих кнопок просто не предусмотрены биты, в результате
некоторые операции с ними не работают.


  reply	other threads:[~2003-05-28 11:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-26 19:05 [Comm] " Леутин Александр
2003-05-27 10:33 ` [Comm] " Sergey Vlasov
2003-05-28  2:20   ` Леутин Александр
2003-05-28 11:30     ` Sergey Vlasov [this message]
2003-05-29  4:34       ` Леутин Александр
2003-05-29 15:27         ` Sergey Vlasov
2003-05-29 17:01 ` [Comm] " Maxim Tyurin

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=20030528153049.049242d1.vsu@altlinux.ru \
    --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