ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Lenar Shakirov <shakirov@cg.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] HP Pavilion dv6: Sisyphus, KDE4, мышь и тачпад - странности.
Date: Thu, 24 Feb 2011 16:48:49 +0300
Message-ID: <4D6661C1.9020102@cg.ru> (raw)
In-Reply-To: <4D665E92.6060302@cg.ru>

24.02.2011 16:35, Lenar Shakirov пишет:
> 20.02.2011 21:00, Денис Черносов пишет:
>> Добрый день,
>>
>> Продолжаю осваивать свой новый ноут. Для победы над вайфаем пришлось
>> осизифиться и сесть на ядро std-ng.
>>
>> 1)
>> На радостях решил победить достающий тачпад: постоянно что-нибудь
>> вставляет во время печати. Нашёл инструкции для udev, которые должны
>> отключать тачпад при втыкании мыши и обратно включать, при обратном
>> событии.
>>
>> # cat /etc/udev/rules.d/01-touchpad.rules
>> ACTION=="add", SUBSYSTEM=="input", ID_CLASS="mouse",
>> RUN+="/usr/bin/synclient TouchpadOff=1"
>> ACTION=="remove", SUBSYSTEM=="input", ID_CLASS="mouse",
>> RUN+="/usr/bin/synclient TouchpadOff=0"
>>
>> В процессе обнаружилось, что это правило не срабатывает, хотя вручную
>> от рута
>>
>> # synclient TouchpadOff=1
>>
>> делает именно то, чего от него просят. Очень хотелось бы дожать этот
>> момент до автоматизма. Возможно просто опечатка в правилах...
>>
>
> Команда:
> # synclient TouchpadOff=1
> отключает тачпад?
>
> Тогда в правиле надо местами поменять "0" и "1"? :)
>
> Вот так:
> # cat /etc/udev/rules.d/01-touchpad.rules
> ACTION=="add", SUBSYSTEM=="input", ID_CLASS="mouse",
> RUN+="/usr/bin/synclient TouchpadOff=1"
> ACTION=="remove", SUBSYSTEM=="input", ID_CLASS="mouse",
> RUN+="/usr/bin/synclient TouchpadOff=0"
>

Прошу прощения, я сам себя запутал :)


-- 
С уважением, инженер отдела ИИС ООО «Центр»
Шакиров Ленар Наилевич
shakirov@cg.ru
(843) 533-88-14

Российская Федерация
Казань, ул. Зинина, 3а
420029, а/я 81

http://www.cg.ru/


      reply	other threads:[~2011-02-24 13:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 18:00 Денис Черносов
2011-02-20 18:13 ` REAL
2011-02-20 22:01   ` Денис Черносов
2011-02-24 13:35 ` Lenar Shakirov
2011-02-24 13:48   ` Lenar Shakirov [this message]

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=4D6661C1.9020102@cg.ru \
    --to=shakirov@cg.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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