<br><br><div class="gmail_quote">2011/9/19 Michael Shigorin <span dir="ltr"><<a href="mailto:mike@osdn.org.ua" target="_blank">mike@osdn.org.ua</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Sun, Sep 18, 2011 at 09:27:16PM +0300, andriy wrote:<br>
> У кого-то работает/работал hdapsd и hdaps-gl на IBM/Lenovo ThinkPad.<br>
<br>
</div>Да.<br>
<div><br>
> В последних ядрах не вижу ответствующего модуля ядра hdaps.ko<br>
<br>
</div>А как смотрите?<br></blockquote><div> [root@andriy4 tp_smapi]# pwd<br>/lib/modules/2.6.39-std-pae-alt3/tp_smapi<br>[root@andriy4 tp_smapi]# ls<br>thinkpad_ec.ko tp_smapi.ko<br><br>У меня система 32-битная и 4гб оперативки.<br>
Потому использовал указанное ядро.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div><br>
> Пробовал собрать модуль tp_smapi, в котором имеется hdaps -<br>
> вывалилось с ошибкой.<br>
<br>
</div>$ rpm -qa | grep smapi<br>
kernel-modules-tp_smapi-std-def-0.40-alt2.196612.1<br>
kernel-modules-tp_smapi-std-def-0.37-alt2.132640.21.1<br>
kernel-modules-tp_smapi-un-def-0.37-alt2.132640.5<br>
kernel-modules-tp_smapi-un-def-0.40-alt2.196612.1<br>
$ uname -r<br>
2.6.39-pure-emerald-alt6<br>
# modprobe hdaps<br>
$ dmesg | tail -7<br>
[26266.687119] hdaps: LENOVO ThinkPad X60 Tablet detected, setting orientation 3<br>
[26266.687250] hdaps: initial mode latch is 0x05<br>
[26266.687381] hdaps: setting ec_rate=250, filter_order=2<br>
[26266.687604] hdaps: device successfully initialized.<br>
[26266.687703] input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input9<br>
[26266.688345] input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input10<br>
[26266.688511] hdaps: driver successfully loaded.<br>
$ thinksaber<br>
SDL_JoystickGetAxis value:0:<br>
[...]<br>
SDL_JoystickGetAxis value:-1322:<br>
[...]<br>
<font color="#888888"><br></font></blockquote><div> <br></div></div>[root@andriy4 tp_smapi]# rpm -qa | grep smapi<br>kernel-modules-tp_smapi-std-pae-0.40-alt2.132647.3<br>kernel-modules-tp_smapi-std-pae-0.40-alt2.132646.3<br>
kernel-modules-tp_smapi-std-pae-0.40-alt2.132647.1<br>kernel-modules-tp_smapi-el-smp-0.37-alt2.132640.11<br>kernel-source-tp_smapi-0.40-0.40-alt1<br>kernel-modules-tp_smapi-std-def-0.40-alt2.132646.2<br>kernel-modules-tp_smapi-std-def-0.40-alt2.196612.1<br>
kernel-modules-tp_smapi-std-def-0.37-alt2.132643.9<br>kernel-source-tp_smapi-0.37-0.37-alt1<br>[root@andriy4 tp_smapi]# modprobe hdaps<br>WARNING: All config files need .conf: /etc/modprobe.d/blacklist-cups, it will be ignored in a future release.<br>
WARNING: All config files need .conf: /etc/modprobe.d/alsa-modindex, it will be ignored in a future release.<br>WARNING: All config files need .conf: /etc/modprobe.d/dahdi, it will be ignored in a future release.<br>FATAL: Error inserting hdaps (/lib/modules/2.6.39-pure-emerald-alt6/kernel/drivers/platform/x86/hdaps.ko): No such device or address<br>
.........<br>[root@andriy4 tp_smapi]# dmesg | tail -n 7<br>........<br>[ 314.399790] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0<br>[ 314.399792] thinkpad_ec: initial ec test failed<br>
<br>Как понять в чем проблема: железо или ядро?<br>-- <br>Best regards, Andriy<br>