Re: странность со звуком
В сообщении от Вторник 06 марта 2007 17:52 Max Dmitrichenko написал(a):
> В сообщении от 6 Март 2007 17:21 Anatoly Kanashin написал(a):
> > Identifier "Logitech MX-518"
> > Driver "evdev"
> > Option "CorePointer"
> > Option "Device" "/dev/input/event2"
> > Option "Protocol" "ExplorerPS/2"
> > Option "Buttons" "7"
> > Option "Emulate3Buttons" "false"
> > Option "ZAxisMapping" "4 5"
> > EndSection
> >
> > в KDE имею:
> > "левая", "правая" клавиши работают как положено
> > колесо и боковая "назад" - мышиный буфер
> > боковая "вперед" - дублирует правую
> > клавиша "меню" дублирует левую
> > это подтверждается данными xev
> >
> > что-то есть еще где точить?
>
> Толег, прекрати газифицировать лужи в рассылке! man evdev. Оттуда
> copy-paste в xorg.conf
Что там за кошмар написан в man evdev
Option "<map>Bits" "bit specifier"
Specifies device capability bits which must be set, possibly
set, or unset.
<map>Bits: Where map is one of ev, key, rel, abs, msc, led, snd,
or ff.
The bit specifier format is a string consisting of +<n>, -<n>,
and ~<n> space sepirated specifiers, where
<n> is a positive integer or integer range. (The latter given
in the format of 2-6.)
+ specifies bits which must be set.
- specifies bits which must not be set.
~ is a little more complex, it specifies that at least one of
the bits given with ~ for the field in ques-
tion must be set, but it doesn't matter how many or which of the
bits. (It is actually the most useful of
the 3 specifiers.)
As an example '+0 +3 -1-2 ~5-10', requires bits 0 and 3 be
set, bits 1 and 2 to not be set, and at least
one bit in the range of 5 to 10 be set.
An annoyingly formatted set of bitmasks for your devices
can be obtained by typing "cat
/proc/bus/input/devices", and /usr/include/linux/input.h
should contain the defines which declare what
bits are what for each field.
Чтобы настроить мышку, надо прочитать исходники ядра?
Reply to: