ALT Linux hardware support
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei-mezin@rambler.ru>
To: hardware@lists.altlinux.org
Subject: [Hardware] Подключение джойстика. Успешное.
Date: Mon, 08 Jun 2009 00:40:07 +0400
Message-ID: <h0h8jo$ral$1@ger.gmane.org> (raw)


Приобрел на днях самый простой и дешевый (~420р.) джойстик-геймпад 
http://market.yandex.ru/model.xml?hid=91117&modelid=2494387

Подключил к системе. Не работало, пока не загрузил вручную модуль 
joydev. После этого все сразу и везде заработало, и теперь в Super Mario 
Cronicles можно играться гораздо более удобным способом :) Да и всякие 
симуляторы леталок и гонялок стали более играбельными. :)

Стоит ли вешать багу (на udev?) с просьбой добавить правило для загрузки 
модуля при подключении устройства? Нужна ли отдельная группа для 
джойстиков, чтоб разграничивать пользователей?

Пока написал себе вот такое:

[root@threebears rules.d]# cat /etc/udev/rules.d/96-gamepad.rules
# Gamepads and joysticks

# Saitek "P380 Dual Analog" PP21 (USB)
# load joydev module
ACTION=="add" SUBSYSTEM=="usb", ATTR{idVendor}=="0f30", 
ATTR{idProduct}=="0112" RUN+="/sbin/modprobe joydev"



             reply	other threads:[~2009-06-07 20:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07 20:40 Alexei V. Mezin [this message]
2009-06-08 14:49 ` Alexey Petrakov
2009-06-10 19:01   ` Michael Shigorin
2009-06-11  3:15     ` Alexey Petrakov

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='h0h8jo$ral$1@ger.gmane.org' \
    --to=alexei-mezin@rambler.ru \
    --cc=hardware@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 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