ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] hdaps_on_thinkpad
Date: Mon, 19 Sep 2011 08:45:49 +0300
Message-ID: <20110919054549.GI3376@osdn.org.ua> (raw)
In-Reply-To: <4E763804.70604@gmail.com>

On Sun, Sep 18, 2011 at 09:27:16PM +0300, andriy wrote:
> У кого-то работает/работал hdapsd и hdaps-gl на IBM/Lenovo ThinkPad.

Да.

> В последних ядрах не вижу ответствующего модуля ядра hdaps.ko

А как смотрите?

> Пробовал собрать модуль tp_smapi, в котором имеется hdaps -
> вывалилось с ошибкой.

$ rpm -qa  | grep smapi
kernel-modules-tp_smapi-std-def-0.40-alt2.196612.1
kernel-modules-tp_smapi-std-def-0.37-alt2.132640.21.1
kernel-modules-tp_smapi-un-def-0.37-alt2.132640.5
kernel-modules-tp_smapi-un-def-0.40-alt2.196612.1
$ uname -r
2.6.39-pure-emerald-alt6
# modprobe hdaps
$ dmesg | tail -7
[26266.687119] hdaps: LENOVO ThinkPad X60 Tablet detected, setting orientation 3
[26266.687250] hdaps: initial mode latch is 0x05
[26266.687381] hdaps: setting ec_rate=250, filter_order=2
[26266.687604] hdaps: device successfully initialized.
[26266.687703] input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input9
[26266.688345] input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input10
[26266.688511] hdaps: driver successfully loaded.
$ thinksaber
SDL_JoystickGetAxis value:0:
[...]
SDL_JoystickGetAxis value:-1322:
[...]

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2011-09-19  5:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-18 18:27 andriy
2011-09-19  5:45 ` Michael Shigorin [this message]
2011-09-19  8:17   ` Ildar Mulyukov
2011-09-19  8:24     ` Grigory Milev
2011-09-19 11:47       ` Anton V. Boyarshinov
2011-09-19 11:49         ` Anton V. Boyarshinov
2011-09-19  8:33     ` Michael Shigorin
2011-09-19  8:39       ` Grigory Milev
2011-09-19 15:25         ` andriy

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=20110919054549.GI3376@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --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