Distribution: Fedora 17 Hardware Environment: Lenovo Thinkpad X60s # sudo systemctl status hdapsd@sda.service hdapsd@sda.service - sda shock protection daemon Loaded: loaded (/usr/lib/systemd/system/hdapsd@.service; static) Active: failed (Result: exit-code) since Sat, 13 Oct 2012 18:05:20 +0200; 1min 32s ago Process: 763 ExecStart=/usr/sbin/hdapsd -d %I $HDAPSD_OPTIONS (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/hdapsd@.service/sda hdapsd(sda)[763]: Sat Oct 13 18:05:20 2012: Could not read from /sys/devices/platform/hdaps/position device busy hpapsd(sda)[763]: Sat Oct 13 18:05:20 2012: Could not read position from sysfs. hdapsd(sda)[763]: Sat Oct 13 18:05:20 2012: Starting hdapsd hdapsd(sda)[763]: Sat Oct 13 18:05:20 2012: Selected interface: HDAPS hdapsd(sda)[763]: Sat Oct 13 18:05:20 2012: Selected HDAPS input device: /dev/input/event9 Please see: https://bugzilla.redhat.com/show_bug.cgi?id=866734 Sticking "ExecStartPre=/usr/bin/sleep 1" in unit file helps, but true fix should be done in kernel, according to: https://bugzilla.redhat.com/show_bug.cgi?id=866734#c1 best regards
Hey Stefan, just stumbled over your report and have a few questions: - is this the in-kernel hdaps.ko? I wonder because I thought it does not have the event-interface, which tp_smapi has. - do you know if hdaps.ko was already loaded, or was it loaded by hdapsd?
Hi again, I can reproduce this on my X61t, but not on my X201s with the tp_smapi hdaps driver. The in-kernel hdaps driver behaves fine on both machines. I reproduce it by calling sudo rmmod hdaps; sudo modprobe hdaps; cat /sys/devices/platform/hdaps/position Can you confirm, that this is a tp_smapi issue? We should move to the proper bug tracker then ;) Greets
Oh, and the same applies to an old X40.
Hi, thank you for looking into this. It seems, that it is indeed related to tp_smapi's hdaps.ko. I totally overlooked, that I'm not using the build in module. $modinfo hdaps filename: /lib/modules/3.11.6-202.fc17.i686.PAE/extra/tp_smapi/hdaps.ko license: GPL v2 description: IBM Hard Drive Active Protection System (HDAPS) driver author: Robert Love depends: thinkpad_ec vermagic: 3.11.6-202.fc17.i686.PAE SMP mod_unload 686 parm: invert:axis orientation code (uint) best regards
Could you by any chance try pathing hdapsd with this patch and see if it behaves properly after it? https://github.com/evgeni/hdapsd/commit/2658f3510f1a38b6701e5a39d5e5e8c69bc8c77d On my X61t it results in the "busy" message about 3-4 times and works fine afterwards.