You are not logged in.
Pages: 1
I can't seem to get HDAPS working via tp_smapi on my Thinkpad T510.
I have install tp_smapi. Here is my /etc/modules-load.d/tp_smapi.conf:
tp_smapi
This is everything in /sys/devices/platform/smapi:
ac_connected
BAT0
BAT1
driver
driver_override
modalias
power
smapi_request
subsystem
uevent
When I looked for hdaps.ko, I could not find it anywhere on my system. I also noticed that I had no directory called "updates" in my /lib/modules/$(uname -r) path. So I made one and copied hdaps.ko.gz from /usr/lib/modules/extramodules-3.18-ARCH/. I thought that was weird, since apparently the installation of tp_smapi should have put the file in an "updates" folder in a different path.
I then added hdaps to my modules array:
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="hdaps"
I then adjusted the axes in /etc/modprobe.d/modprobe.conf:
options hdaps invert=7
I ran
sudo mkinitcpio -g /boot/initramfs-linux.img
.
After that I installed hdapsd. When I try to start the hdapsd service, I get this:
#systemctl start hdaps
#Failed to start hdaps.service: Unit hdaps.service failed to load: No such file or directory.
If I look in /etc/systemd/system I do not see an hdaps service:
dbus-org.freedesktop.NetworkManager.service
dbus-org.freedesktop.nm-dispatcher.service
display-manager.service
getty.target.wants
graphical.target.wants
multi-user.target.wants
sysinit.target.wants
I know that at least the accelerometer is working because I can see it with hdaps-gl. When I installed hdapsicon it says that the disk heads are parking when I shake the laptop a bit, but I think it is lying, given the above (as well as the fact that a video I played doesn't freeze when the disk heads are allegely parked).
This is my lsmod, as you can see hdaps and tp_smapi are there:
Module Size Used by
nls_iso8859_1 12461 1
nls_cp437 16553 1
vfat 21231 1
fat 61984 1 vfat
fuse 87410 3
ctr 12927 1
ccm 17534 1
toshiba_acpi 27104 0
sparse_keymap 12818 1 toshiba_acpi
toshiba_haps 12867 0
hp_accel 25246 0
lis3lv02d 17883 1 hp_accel
input_polldev 13118 1 lis3lv02d
hdaps 17719 1
joydev 17063 0
mousedev 17272 0
nvidia 10512002 72
uvcvideo 83143 0
coretemp 12820 0
videobuf2_vmalloc 12816 1 uvcvideo
intel_powerclamp 17122 0
videobuf2_memops 12519 1 videobuf2_vmalloc
videobuf2_core 39635 1 uvcvideo
v4l2_common 12995 1 videobuf2_core
videodev 135040 3 uvcvideo,v4l2_common,videobuf2_core
kvm 426425 0
crct10dif_pclmul 13394 0
crc32_pclmul 12915 0
crc32c_intel 21809 0
ghash_clmulni_intel 12978 0
aesni_intel 167997 2
aes_x86_64 16719 1 aesni_intel
drm 263481 3 nvidia
lrw 12757 1 aesni_intel
iTCO_wdt 12831 0
gf128mul 12970 1 lrw
i2c_i801 16965 0
arc4 12536 2
iwldvm 184887 0
mac80211 608652 1 iwldvm
media 18365 2 uvcvideo,videodev
ppdev 16782 0
iTCO_vendor_support 12649 1 iTCO_wdt
glue_helper 12649 1 aesni_intel
ablk_helper 12572 1 aesni_intel
mxm_wmi 12515 0
cryptd 18553 3 ghash_clmulni_intel,aesni_intel,ablk_helper
i2c_core 50152 5 drm,i2c_i801,nvidia,v4l2_common,videodev
evdev 21544 15
snd_hda_codec_conexant 21937 1
snd_hda_codec_hdmi 49263 4
snd_hda_codec_generic 63087 1 snd_hda_codec_conexant
mac_hid 12633 0
intel_ips 17420 0
serio_raw 12849 0
psmouse 107442 0
thinkpad_acpi 69074 1
nvram 13034 1 thinkpad_acpi
pcspkr 12595 0
snd_hda_intel 26387 5
hwmon 12930 2 coretemp,thinkpad_acpi
iwlwifi 156878 1 iwldvm
snd_hda_controller 26938 1 snd_hda_intel
parport_pc 26351 0
snd_hda_codec 112621 5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
wmi 17339 2 toshiba_acpi,mxm_wmi
thermal 17559 0
e1000e 219976 0
snd_hwdep 17244 1 snd_hda_codec
snd_pcm 88785 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
cfg80211 453926 3 iwlwifi,mac80211,iwldvm
snd_timer 26614 1 snd_pcm
snd 73436 19 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
soundcore 13031 2 snd,snd_hda_codec
intel_agp 17432 0
ptp 17692 1 e1000e
parport 35749 2 ppdev,parport_pc
rfkill 18867 4 cfg80211,toshiba_acpi,thinkpad_acpi
intel_gtt 17848 1 intel_agp
shpchp 35210 0
tpm_tis 17182 0
tpm 31467 1 tpm_tis
pps_core 17225 1 ptp
lpc_ich 20768 0
mei_me 17941 0
battery 17452 0
ac 12715 0
mei 75336 1 mei_me
button 12953 0
video 18043 0
acpi_cpufreq 17218 1
processor 27777 1 acpi_cpufreq
sch_fq_codel 17343 6
tp_smapi 27621 0
thinkpad_ec 12813 2 hdaps,tp_smapi
ext4 510292 3
crc16 12343 1 ext4
mbcache 17171 1 ext4
jbd2 86379 1 ext4
sr_mod 21903 0
cdrom 47479 1 sr_mod
sd_mod 43575 5
mmc_block 34914 2
atkbd 22254 0
libps2 12739 2 atkbd,psmouse
ahci 33248 4
libahci 27215 1 ahci
ehci_pci 12512 0
ehci_hcd 69939 1 ehci_pci
libata 181518 2 ahci,libahci
firewire_ohci 43373 0
sdhci_pci 22137 0
scsi_mod 147580 3 libata,sd_mod,sr_mod
sdhci 39051 1 sdhci_pci
led_class 12855 5 toshiba_acpi,sdhci,hp_accel,iwldvm,thinkpad_acpi
firewire_core 56700 1 firewire_ohci
crc_itu_t 12347 1 firewire_core
mmc_core 110515 3 mmc_block,sdhci,sdhci_pci
usbcore 199382 3 uvcvideo,ehci_hcd,ehci_pci
usb_common 12561 1 usbcore
i8042 18002 3 toshiba_acpi,hp_accel,libps2
serio 18282 8 serio_raw,atkbd,i8042,hp_accel,psmouse
I have also created a "joy" group and added myself to it, but that didn't seem to change anything.
Help?
EDIT: I noticed in systemctl that 2 hdaps services were running(hdaps@sda.service and system@hdapsd.slice):
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.0-backlight-acpi_video0.device loaded active plugged /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.1-sound-card1.device loaded active plugged High Definition Audio Controller
sys-devices-pci0000:00-0000:00:16.3-tty-ttyS0.device loaded active plugged 5 Series/3400 Series Chipset KT Controller
sys-devices-pci0000:00-0000:00:19.0-net-enp0s25.device loaded active plugged 82577LM Gigabit Network Connection
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged 5 Series/3400 Series Chipset High Definition Audio
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-ieee80211-phy0-rfkill0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill0
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlp3s0.device loaded active plugged Centrino Wireless-N 1000 [Condor Peak] (Centrino Wireless-N 1000 BGN)
sys-devices-pci0000:00-0000:00:1c.4-0000:0d:00.0-mmc_host-mmc0-mmc0:8fe4-block-mmcblk0-mmcblk0p1.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.4/0000:0d:00.0/mmc_host/mmc0/mmc0:8fe4/block/mmcblk0/mmcblk0p1
sys-devices-pci0000:00-0000:00:1c.4-0000:0d:00.0-mmc_host-mmc0-mmc0:8fe4-block-mmcblk0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.4/0000:0d:00.0/mmc_host/mmc0/mmc0:8fe4/block/mmcblk0
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged ST9320423AS 1
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged ST9320423AS 2
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device loaded active plugged ST9320423AS 3
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device loaded active plugged ST9320423AS 4
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged ST9320423AS
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged HL-DT-STDVDRAM_GT30N
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-devices-platform-thinkpad_acpi-sound-card29.device loaded active plugged /sys/devices/platform/thinkpad_acpi/sound/card29
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-enp0s25.device loaded active plugged 82577LM Gigabit Network Connection
sys-subsystem-net-devices-wlp3s0.device loaded active plugged Centrino Wireless-N 1000 [Condor Peak] (Centrino Wireless-N 1000 BGN)
sys-subsystem-rfkill-devices-rfkill0.device loaded active plugged /sys/subsystem/rfkill/devices/rfkill0
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
proc-sys-fs-binfmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
run-media-glenn-18BF\x2dBFA0.mount loaded active mounted /run/media/glenn/18BF-BFA0
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
run-user-1000.mount loaded active mounted /run/user/1000
run-user-620.mount loaded active mounted /run/user/620
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
session-c1.scope loaded active abandoned Session c1 of user lightdm
session-c2.scope loaded active running Session c2 of user glenn
accounts-daemon.service loaded active running Accounts Service
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
colord.service loaded active running Manage, Install and Generate Color Profiles
dbus.service loaded active running D-Bus System Message Bus
hdapsd@sda.service loaded active running hdapsd hard drive active protection system daemon - sda
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
lightdm.service loaded active running Light Display Manager
NetworkManager.service loaded active running Network Manager
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-fsck@dev-disk-by\x2duuid-322b3cd8\x2d0d51\x2d4860\x2db75c\x2dfba060dccf37.service loaded active exited File System Check on /dev/disk/by-uuid/322b3cd8-0d51-4860-b75c-fba060dccf37
systemd-fsck@dev-disk-by\x2duuid-4d6ce268\x2d9316\x2d4747\x2d9efa\x2d234b4d127675.service loaded active exited File System Check on /dev/disk/by-uuid/4d6ce268-9316-4747-9efa-234b4d127675
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-rfkill@rfkill0.service loaded active exited Load/Save RF Kill Switch Status of rfkill0
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
user@1000.service loaded active running User Manager for UID 1000
user@620.service loaded active running User Manager for UID 620
wpa_supplicant.service loaded active running WPA supplicant
-.slice loaded active active Root Slice
system-getty.slice loaded active active system-getty.slice
system-hdapsd.slice loaded active active system-hdapsd.slice
system-systemd\x2dbacklight.slice loaded active active system-systemd\x2dbacklight.slice
system-systemd\x2dfsck.slice loaded active active system-systemd\x2dfsck.slice
system-systemd\x2drfkill.slice loaded active active system-systemd\x2drfkill.slice
system.slice loaded active active System Slice
user-1000.slice loaded active active user-1000.slice
user-620.slice loaded active active user-620.slice
user.slice loaded active active User and Session Slice
avahi-daemon.socket loaded active running Avahi mDNS/DNS-SD Stack Activation Socket
dbus.socket loaded active running D-Bus System Message Bus Socket
dm-event.socket loaded active listening Device-mapper event daemon FIFOs
lvm2-lvmetad.socket loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log)
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active running udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
dev-disk-by\x2duuid-73e0d726\x2dfedf\x2d41ea\x2d8ede\x2d64b1ed94707d.swap loaded active active /dev/disk/by-uuid/73e0d726-fedf-41ea-8ede-64b1ed94707d
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
nss-user-lookup.target loaded active active User and Group Name Lookups
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
slices.target loaded active active Slices
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
logrotate.timer loaded active waiting Daily rotation of log files
man-db.timer loaded active waiting Daily man-db cache update
shadow.timer loaded active waiting Daily verification of password and group files
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
119 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
Do these running services indicate that HDAPS is indeed running? If so, what is a good way to verify that it is actually working?
Last edited by ac3raven (2015-03-05 13:11:03)
Offline
Pages: 1