You are not logged in.
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
What exactly is the error message when you start the daemon?
Offline
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
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 ![]()
Offline
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?
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
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
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
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.gzOffline
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
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
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 deviceLast edited by jesseFrey (2011-11-13 00:50:05)
Offline
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
that did it for me too
Offline
Sweet, its back working. Thanks
Offline