From: Andrey Rahmatullin <wrar@altlinux.ru>
To: ALT Linux Sisyphus mailing list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] evdev с мультимедиа-клавиатурой
Date: Sun, 17 Feb 2008 13:56:04 +0500
Message-ID: <20080217085604.GB10539@wrars-comp.wrarsdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]
Имеется клавиатура Defender Zodiak KM-9010. Видится как клавиатура и мышь:
I: Bus=0003 Vendor=062a Product=0201 Version=0110
N: Name="USB-compliant keyboard"
P: Phys=usb-0000:00:10.4-3.4/input0
S: Sysfs=/class/input/input8
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=062a Product=0201 Version=0110
N: Name="USB-compliant keyboard"
P: Phys=usb-0000:00:10.4-3.4/input1
S: Sysfs=/class/input/input9
U: Uniq=
H: Handlers=kbd mouse1 event2
B: EV=1f
B: KEY=37fff 2c3027 bf004444 0 0 1fe3 c04 a27c000 267bfa d941dfed 9e0000 0 0 0
B: REL=143
B: ABS=1 0
B: MSC=10
В 1-й девайс отдаются основные кнопки и часть дополнительных, с ним
более-менее понятно.
Во 2-й колесо и остальные кнопки (как кнопки мыши).
Соотв-венно, как я понимаю, надо писать две секции InputDevice и как-то
указывать, кто есть кто. Но Bustype/Vendor/Product/Version у них
одинаковые, завязываться на Phys не хочется, Device плавает при
перезагрузках, а xxxBits в любых комбинациях даёт только cannot open input
pEvdev.
Плюс хотелось бы как-то переделать кнопки, отдающиеся как мышиные, в
клавиши XF86* (но кнопки горизонтальной прокрутки было бы интересно
попробовать заюзать как 2-е колесо).
xorg-x11-drv-evdev-1.2.0-alt3
xorg-x11-server-1.4.0.90-alt9
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):
* ott сидит и опять тоскливо смотрит на тех проект - глаза бы мои не
видели
<ott> вот бы перестрелять всех потенциальных пользователей
<ott> вот бы луговской порадовалсяя :-)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2008-02-17 8:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-17 8:56 Andrey Rahmatullin [this message]
2008-02-17 14:22 ` Andrey Rahmatullin
2008-02-17 14:28 ` Valery V. Inozemtsev
2008-02-17 15:52 ` Andrey Rahmatullin
2008-02-17 16:05 ` Valery V. Inozemtsev
2008-02-17 16:34 ` Andrey Rahmatullin
2008-02-17 17:25 ` Alexey I. Froloff
2008-02-17 17:37 ` Valery V. Inozemtsev
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=20080217085604.GB10539@wrars-comp.wrarsdomain \
--to=wrar@altlinux.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