ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hdaps_on_thinkpad
@ 2011-09-18 18:27 andriy
  2011-09-19  5:45 ` Michael Shigorin
  0 siblings, 1 reply; 9+ messages in thread
From: andriy @ 2011-09-18 18:27 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Hi,community!


У кого-то работает/работал hdapsd и hdaps-gl на IBM/Lenovo ThinkPad.
В последних ядрах не вижу ответствующего модуля ядра hdaps.ko
Пробовал собрать модуль tp_smapi, в котором имеется hdaps - вывалилось с 
ошибкой.

Спасибо за ответы.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  2011-09-18 18:27 [sisyphus] hdaps_on_thinkpad andriy
@ 2011-09-19  5:45 ` Michael Shigorin
  2011-09-19  8:17   ` Ildar Mulyukov
    0 siblings, 2 replies; 9+ messages in thread
From: Michael Shigorin @ 2011-09-19  5:45 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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/


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  2011-09-19  5:45 ` Michael Shigorin
@ 2011-09-19  8:17   ` Ildar Mulyukov
  2011-09-19  8:24     ` Grigory Milev
    1 sibling, 1 reply; 9+ messages in thread
From: Ildar Mulyukov @ 2011-09-19  8:17 UTC (permalink / raw)
  To: sisyphus

On 19.09.2011 11:45:49, Michael Shigorin wrote:
> On Sun, Sep 18, 2011 at 09:27:16PM +0300, andriy wrote:
> > У кого-то работает/работал hdapsd и hdaps-gl на IBM/Lenovo ThinkPad.
> 
> Да.
> 
> > В последних ядрах не вижу ответствующего модуля ядра hdaps.ko
> 
> А как смотрите?

# grep HDAPS /boot/config-*
/boot/config-3.0.4-std-def-alt1:# CONFIG_SENSORS_HDAPS is not set
-- 
Ildar

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  2011-09-19  8:17   ` Ildar Mulyukov
@ 2011-09-19  8:24     ` Grigory Milev
  2011-09-19 11:47       ` Anton V. Boyarshinov
  0 siblings, 1 reply; 9+ messages in thread
From: Grigory Milev @ 2011-09-19  8:24 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

Ildar Mulyukov пишет:
> On 19.09.2011 11:45:49, Michael Shigorin wrote:
>> On Sun, Sep 18, 2011 at 09:27:16PM +0300, andriy wrote:
>> > У кого-то работает/работал hdapsd и hdaps-gl на IBM/Lenovo ThinkPad.
>>
>> Да.
>>
>> > В последних ядрах не вижу ответствующего модуля ядра hdaps.ko
>>
>> А как смотрите?
>
> # grep HDAPS /boot/config-*
> /boot/config-3.0.4-std-def-alt1:# CONFIG_SENSORS_HDAPS is not set
/boot/config-2.6.39-std-pae-alt3:# CONFIG_SENSORS_HDAPS is not set

Что то начали обижать thinkpad'овцев.

-- 
+--------------------------------------------------------+
Grigory Milev	mailto:week@altlinux.ru
ALT Linux Team	http://www.altlinux.ru
+--------------------------------------------------------+
Life too beautiful and interesting. Don't worry, be happy.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  @ 2011-09-19  8:33     ` Michael Shigorin
  2011-09-19  8:39       ` Grigory Milev
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Shigorin @ 2011-09-19  8:33 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Mon, Sep 19, 2011 at 10:59:14AM +0300, Andriy Lutskiv wrote:
> У меня система 32-битная и 4гб оперативки.

У меня тоже.

> Потому использовал указанное ядро.

А я уже собрался переезжать на 64-битную (и заодно SSD)...

> FATAL: Error inserting hdaps
> (/lib/modules/2.6.39-pure-emerald-alt6/kernel/drivers/platform/x86/hdaps.ko):
> No such device or address
> .........
> [root@andriy4 tp_smapi]# dmesg | tail -n 7
> ........
> [  314.399790] thinkpad_ec: thinkpad_ec_read_row: failed requesting row:
> (0x01:0x00)->0xfffffff0
> [  314.399792] thinkpad_ec: initial ec test failed
> 
> Как понять в чем проблема: железо или ядро?

Насколько понимаю, либо в данной модели HDAPS нет,
либо реализация не поддерживается модулем.

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  2011-09-19  8:33     ` Michael Shigorin
@ 2011-09-19  8:39       ` Grigory Milev
  2011-09-19 15:25         ` andriy
  0 siblings, 1 reply; 9+ messages in thread
From: Grigory Milev @ 2011-09-19  8:39 UTC (permalink / raw)
  To: shigorin, ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]

Michael Shigorin пишет:
> On Mon, Sep 19, 2011 at 10:59:14AM +0300, Andriy Lutskiv wrote:
>> У меня система 32-битная и 4гб оперативки.
> У меня тоже.
>
>> Потому использовал указанное ядро.
> А я уже собрался переезжать на 64-битную (и заодно SSD)...
Я уже попытался, в итоге ядро (на тот момент 3.0.1) висло каждые 5минут, не оставляя ничего в логах,
а работать так не возможно, вот и откатился обратно :(

>
>> FATAL: Error inserting hdaps
>> (/lib/modules/2.6.39-pure-emerald-alt6/kernel/drivers/platform/x86/hdaps.ko):
>> No such device or address
>> .........
>> [root@andriy4 tp_smapi]# dmesg | tail -n 7
>> ........
>> [  314.399790] thinkpad_ec: thinkpad_ec_read_row: failed requesting row:
>> (0x01:0x00)->0xfffffff0
>> [  314.399792] thinkpad_ec: initial ec test failed
>>
>> Как понять в чем проблема: железо или ядро?
> Насколько понимаю, либо в данной модели HDAPS нет,
> либо реализация не поддерживается модулем.
>


-- 
+--------------------------------------------------------+
Grigory Milev	mailto:week@altlinux.ru
ALT Linux Team	http://www.altlinux.ru
+--------------------------------------------------------+
Life too beautiful and interesting. Don't worry, be happy.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  2011-09-19  8:24     ` Grigory Milev
@ 2011-09-19 11:47       ` Anton V. Boyarshinov
  2011-09-19 11:49         ` Anton V. Boyarshinov
  0 siblings, 1 reply; 9+ messages in thread
From: Anton V. Boyarshinov @ 2011-09-19 11:47 UTC (permalink / raw)
  To: sisyphus

On Mon, 19 Sep 2011 11:24:17 +0300 Grigory Milev wrote:

> > # grep HDAPS /boot/config-*
> > /boot/config-3.0.4-std-def-alt1:# CONFIG_SENSORS_HDAPS is not set
> /boot/config-2.6.39-std-pae-alt3:# CONFIG_SENSORS_HDAPS is not set
> 
> Что то начали обижать thinkpad'овцев.
Нет, просто #25127


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  2011-09-19 11:47       ` Anton V. Boyarshinov
@ 2011-09-19 11:49         ` Anton V. Boyarshinov
  0 siblings, 0 replies; 9+ messages in thread
From: Anton V. Boyarshinov @ 2011-09-19 11:49 UTC (permalink / raw)
  To: sisyphus

On Mon, 19 Sep 2011 15:47:04 +0400 Anton V. Boyarshinov wrote:


> > > # grep HDAPS /boot/config-*
> > > /boot/config-3.0.4-std-def-alt1:# CONFIG_SENSORS_HDAPS is not set
> > /boot/config-2.6.39-std-pae-alt3:# CONFIG_SENSORS_HDAPS is not set
> > 
> > Что то начали обижать thinkpad'овцев.
> Нет, просто #25127
Хотя.. Хмм.. Вроде я как раз собирался именно в ядре его включить, а не
наоборот..


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] hdaps_on_thinkpad
  2011-09-19  8:39       ` Grigory Milev
@ 2011-09-19 15:25         ` andriy
  0 siblings, 0 replies; 9+ messages in thread
From: andriy @ 2011-09-19 15:25 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On 19.09.11 11:39, Grigory Milev wrote:
> Michael Shigorin пишет:
>> On Mon, Sep 19, 2011 at 10:59:14AM +0300, Andriy Lutskiv wrote:
>>> У меня система 32-битная и 4гб оперативки.
>> У меня тоже.
>>
>>> Потому использовал указанное ядро.
>> А я уже собрался переезжать на 64-битную (и заодно SSD)...
> Я уже попытался, в итоге ядро (на тот момент 3.0.1) висло каждые 5минут, не оставляя ничего в логах,
> а работать так не возможно, вот и откатился обратно :(
>
>>> FATAL: Error inserting hdaps
>>> (/lib/modules/2.6.39-pure-emerald-alt6/kernel/drivers/platform/x86/hdaps.ko):
>>> No such device or address
>>> .........
>>> [root@andriy4 tp_smapi]# dmesg | tail -n 7
>>> ........
>>> [  314.399790] thinkpad_ec: thinkpad_ec_read_row: failed requesting row:
>>> (0x01:0x00)->0xfffffff0
>>> [  314.399792] thinkpad_ec: initial ec test failed
>>>
>>> Как понять в чем проблема: железо или ядро?
>> Насколько понимаю, либо в данной модели HDAPS нет,
>> либо реализация не поддерживается модулем.
>>
>
Поддержка есть...
Lenovo ThinkPad SL 510, на www.thinkwiki.org/wiki/Active_Protection_System


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-19 15:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-18 18:27 [sisyphus] hdaps_on_thinkpad andriy
2011-09-19  5:45 ` Michael Shigorin
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

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