Package: tp-smapi-dkms
Version: 0.41-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Installing tp-smapi-dkms on a freshly installed Debian 7 wheezy.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I did not install linux-headers before installing tp-smapi-dkms.

   * What was the outcome of this action?

The hdaps module was not loading with the following error message:
        hdaps: supported laptop not found!
        hdaps: driver init failed (ret=-19)!

   * What outcome did you expect instead?

I expected the module to load.

Then I found a hint on ThinkWiki:
http://www.thinkwiki.org/wiki/Tp_smapi#Installation_on_Debian
> If installation seems ineffective, confirm you have the linux-headers of your
kernel installed, purge tp-smapi-dkms and reinstall.
That solved the problem. So I would suggest to add linux-headers as dependency
of the tp-smapi-dkms package.

Since the error message is a little bit misleading, this could solve some
reported problems of other people saying, "doesn't work / please support my
laptop'.

Thanks for reading my report. :-)



-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tp-smapi-dkms depends on:
ii  dkms  2.2.0.3-1.2

tp-smapi-dkms recommends no packages.

tp-smapi-dkms suggests no packages.

Now working module output in dmesg:
[    5.818903] thinkpad_ec: thinkpad_ec 0.41 loaded.
[    5.819707] hdaps: LENOVO ThinkPad X200 detected, setting orientation 7
[    5.819833] hdaps: initial mode latch is 0x05
[    5.819956] hdaps: setting ec_rate=250, filter_order=2
[    5.820180] hdaps: device successfully initialized.
[    5.820464] input: ThinkPad HDAPS joystick emulation as
/devices/virtual/input/input9
[    5.820738] input: ThinkPad HDAPS accelerometer data as
/devices/virtual/input/input10
[    5.820823] hdaps: driver successfully loaded.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to