You are not logged in.

#1 2011-10-27 14:07:28

fowler
Member
Registered: 2009-01-26
Posts: 152

[REunSOLVED, but I don't know why] hdapsd stopped working...

After either the most recent kernel update or tp_smapi update hdapsd stopped working.  It was working just fine up to then.  I have hdapsd in my rc.conf (not rc.local).  Also the wiki says add hdaps to the module array... but a modprobe for hdaps says there is no such device.

I have a thinkpad x201.

Last edited by fowler (2011-11-14 19:08:56)

Offline

#2 2011-10-27 15:22:21

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

What exactly is the error message when you start the daemon?

Offline

#3 2011-10-27 16:17:24

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

afaik hdapsd has to be reinstalled after every kernel update - same goes for tp-smapi.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#4 2011-10-28 13:09:26

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

I am actually running tp_smapi 0.40-7 (latest 0.42-2) on kernel 3.0.7-1 with no issues.  Time to update it, though wink

Offline

#5 2011-10-28 14:27:27

fowler
Member
Registered: 2009-01-26
Posts: 152

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

nixpunk wrote:

What exactly is the error message when you start the daemon?

$ sudo /etc/rc.d/hdapsd stop
:: Stopping hdapsd                                                       [FAIL]
$ sudo /etc/rc.d/hdapsd start
:: Starting hdapsd                                                       [FAIL]

where do I find more details?

nixpunk wrote:

I am actually running tp_smapi 0.40-7 (latest 0.42-2) on kernel 3.0.7-1 with no issues.  Time to update it, though

I'm running the latest tp_smapi...

$ pacman -Q tp_smapi hdapsd linux
tp_smapi 0.41-2
hdapsd 20090401-1
linux 3.0.7-1

toad wrote:

afaik hdapsd has to be reinstalled after every kernel update - same goes for tp-smapi.

I did both... twice

Last edited by fowler (2011-10-28 14:29:55)

Offline

#6 2011-10-28 18:12:01

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

Try to grab a new copy of the PKGBUILD from the AUR and rebuild the module a last time. If it does not work, please post the output of "pacman -Ql tp_smapi" in this thread.

Offline

#7 2011-10-28 18:28:38

fowler
Member
Registered: 2009-01-26
Posts: 152

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

I don't know why... but a third time is a charm apparently... it seems to be working.  Maybe the difference between building it with yaourt and building it the right way... I don't know...

$ mkdir tp_smapi
$ cd tp_smapi/
$ wget https://aur.archlinux.org/packages/tp/tp_smapi/tp_smapi.tar.gz
--2011-10-28 14:15:41--  https://aur.archlinux.org/packages/tp/tp_smapi/tp_smapi.tar.gz
Resolving aur.archlinux.org... 208.92.232.29
Connecting to aur.archlinux.org|208.92.232.29|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1165 (1.1K) [application/x-tgz]
Saving to: `tp_smapi.tar.gz'

100%[======================================>] 1,165       --.-K/s   in 0s      

2011-10-28 14:15:41 (11.3 MB/s) - `tp_smapi.tar.gz' saved [1165/1165]

$ tar -xf tp_smapi.tar.gz 
$ cd tp_smapi
$ makepkg -si
==> Making package: tp_smapi 0.41-2 (Fri Oct 28 14:16:07 EDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading tp_smapi-0.41.tar.gz...
--2011-10-28 14:16:07--  https://cloud.github.com/downloads/evgeni/tp_smapi/tp_smapi-0.41.tar.gz
Resolving cloud.github.com... 216.137.33.186, 216.137.33.209, 216.137.33.45, ...
Connecting to cloud.github.com|216.137.33.186|:443... connected.
WARNING: no certificate subject alternative name matches
	requested host name `cloud.github.com'.
HTTP request sent, awaiting response... 200 OK
Length: 38852 (38K) [application/x-gzip]
Saving to: `tp_smapi-0.41.tar.gz.part'

100%[======================================>] 38,852      --.-K/s   in 0.06s   

2011-10-28 14:16:08 (635 KB/s) - `tp_smapi-0.41.tar.gz.part' saved [38852/38852]

==> Validating source files with md5sums...
    tp_smapi-0.41.tar.gz ... Passed
==> Validating source files with sha256sums...
    tp_smapi-0.41.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting tp_smapi-0.41.tar.gz with bsdtar
==> Starting build()...
make -C /lib/modules/3.0-ARCH/build M=/home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41 O=/lib/modules/3.0-ARCH/build modules
make[1]: Entering directory `/usr/src/linux-3.0-ARCH'
  CC [M]  /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/thinkpad_ec.o
  CC [M]  /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/tp_smapi.o
  CC [M]  /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/hdaps.o
  Building modules, stage 2.
  MODPOST 3 modules
  CC      /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/thinkpad_ec.mod.o
  CC      /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/hdaps.mod.o
  CC      /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/tp_smapi.mod.o
  LD [M]  /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/thinkpad_ec.ko
  LD [M]  /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/hdaps.ko
  LD [M]  /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/tp_smapi.ko
make[1]: Leaving directory `/usr/src/linux-3.0-ARCH'
==> Entering fakeroot environment...
==> Starting package()...
make: Entering directory `/usr/src/linux-3.0-ARCH'
  INSTALL /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/hdaps.ko
  INSTALL /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/thinkpad_ec.ko
  INSTALL /home/rick/Builds/tp_smapi/tp_smapi/src/tp_smapi-0.41/tp_smapi.ko
  DEPMOD  3.0-ARCH
make: Leaving directory `/usr/src/linux-3.0-ARCH'
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: tp_smapi 0.41-2 (Fri Oct 28 14:16:13 EDT 2011)
==> Installing package tp_smapi with pacman -U...
warning: tp_smapi-0.41-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): tp_smapi-0.41-2

Total Download Size:    0.00 MB
Total Installed Size:   0.05 MB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                   [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) upgrading tp_smapi                           [######################] 100%

$ sudo reboot

$ sudo /etc/rc.d/hdapsd stop
:: Stopping hdapsd                                                       [DONE] 
$ sudo /etc/rc.d/hdapsd start
:: Starting hdapsd                                                       [DONE] 
$ pacman -Ql tp_smapi
tp_smapi /lib/
tp_smapi /lib/modules/
tp_smapi /lib/modules/3.0-ARCH/
tp_smapi /lib/modules/3.0-ARCH/extra/
tp_smapi /lib/modules/3.0-ARCH/extra/thinkpad_ec.ko.gz
tp_smapi /lib/modules/3.0-ARCH/extra/tp_smapi.ko.gz
tp_smapi /lib/modules/3.0-ARCH/updates/
tp_smapi /lib/modules/3.0-ARCH/updates/hdaps.ko.gz

Offline

#8 2011-11-09 14:59:22

fowler
Member
Registered: 2009-01-26
Posts: 152

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

Well... It happened again... after kernel 3.1 update hdapsd no longer works despite multiple uninstalls and reinstalls of tp_smapi and hdapsd.  Does anyone else have these issues?

Offline

#9 2011-11-11 21:51:18

lamdacore
Member
Registered: 2009-11-05
Posts: 128

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

I am encountered the same problem with the 3.1 update. I noticed this, first with an error message during boot-up regarding failure to load a user specified module. Modprobe would give me errors with "modprobe thinkpad_ec"

After uninstalling and reinstalling tp_smapi and hdapsd, that error has stopped showing up. The modprobe doesn't give me errors either. But I can't verify that the module is working with hdaps-gl. I keep getting "open: No such file or directory" in response.

I have an x200.

Offline

#10 2011-11-13 00:35:17

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

I have the same problem on x220. I had issues with the last upgrade but they were fixed by reinstalling tp_smapi and hdapsd this time I have not been successful.
I get the following:

sudo modprobe hdaps
FATAL: Error inserting hdaps (/lib/modules/3.1.0-4-ARCH/kernel/drivers/platform/x86/hdaps.ko.gz): No such device

Last edited by jesseFrey (2011-11-13 00:50:05)

Offline

#11 2011-11-13 05:00:28

fowler
Member
Registered: 2009-01-26
Posts: 152

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

I copied it from the extramodules directory and it seems to work now (although I shouldn't have to)... I verified it in hdaps-gl and /var/log/messages.log

cp /lib/modules/3.1.0-4-ARCH/extramodules/hdaps.ko.gz /lib/modules/3.1.0-4-ARCH/kernel/drivers/platform/x86/

Offline

#12 2011-11-13 05:08:10

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

that did it for me too

Offline

#13 2011-11-13 05:34:27

lamdacore
Member
Registered: 2009-11-05
Posts: 128

Re: [REunSOLVED, but I don't know why] hdapsd stopped working...

Sweet, its back working. Thanks

Offline

Board footer

Powered by FluxBB