After the latest kernel update I noticed a new information line in the Ksyslogs about detecting the Acer BMA150 accelerometer on my Acer V3-771, which is used to detect sudden changes in the laptop and park the hard drive.
I did some research and discovered that info, and some more.
http://askubuntu.com/questions/75694...50-not-working
The net result is that utility hdapsd does not work on my V3, nor does iio-sensor-proxy, so I removed them after testing them.
I did some research and discovered that info, and some more.
http://askubuntu.com/questions/75694...50-not-working
The net result is that utility hdapsd does not work on my V3, nor does iio-sensor-proxy, so I removed them after testing them.
Selecting previously unselected package libconfig9:amd64.
(Reading database ... 288206 files and directories currently installed.)
Preparing to unpack .../libconfig9_1.5-0.2_amd64.deb ...
Unpacking libconfig9:amd64 (1.5-0.2) ...
Selecting previously unselected package hdapsd.
Preparing to unpack .../hdapsd_1%3a20141203-1_amd64.deb ...
Unpacking hdapsd (1:20141203-1) ...
Selecting previously unselected package tp-smapi-dkms.
Preparing to unpack .../tp-smapi-dkms_0.41-1_all.deb ...
Unpacking tp-smapi-dkms (0.41-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up libconfig9:amd64 (1.5-0.2) ...
Setting up hdapsd (1:20141203-1) ...
Setting up tp-smapi-dkms (0.41-1) ...
Creating symlink /var/lib/dkms/tp-smapi/0.41/source ->
/usr/src/tp-smapi-0.41
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.4.0-65-generic -C /lib/modules/4.4.0-65-generic/build M=/var/lib/dkms/tp-smapi/0.41/build.....
cleaning build area....
DKMS: build completed.
thinkpad_ec:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-65-generic/extra/
tp_smapi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-65-generic/extra/
hdaps.ko:
Running module version sanity check.
- Original module
- Found /lib/modules/4.4.0-65-generic/kernel/drivers/platform/x86/hdaps.ko
- Storing in /var/lib/dkms/tp-smapi/original_module/4.4.0-65-generic/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /lib/modules/4.4.0-65-generic/updates/
depmod.........
DKMS: install completed.
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
hdapsd -v
Wed Mar 8 11:53:41 2017: Starting hdapsd
Wed Mar 8 11:53:41 2017: WARNING: You did not supply any devices to protect, trying autodetection.
Wed Mar 8 11:53:41 2017: Adding autodetected device: sda
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_AMS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:53:41 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:53:41 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:53:41 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:53:41 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:53:41 2017: Trying to load the correct kernel module
Wed Mar 8 11:53:41 2017: Loading hdaps_ec
Wed Mar 8 11:53:41 2017: Loading hdaps
Wed Mar 8 11:53:41 2017: Loading ams
Wed Mar 8 11:53:41 2017: Loading hp_accel
Wed Mar 8 11:53:41 2017: Loading applesmc
Wed Mar 8 11:53:41 2017: Loading smo8800
Wed Mar 8 11:53:41 2017: Loading toshiba_haps
Wed Mar 8 11:53:41 2017: Loading toshiba_acpi
Wed Mar 8 11:53:41 2017: Loading acer_wmi
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_AMS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:53:41 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:53:41 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:53:41 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:53:41 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:53:41 2017: Could not find a suitable interface
:~$ iio-sensor-proxy
jerry@jerry-Aspire-V3-771:~$ man iio-sensor-proxy
No manual entry for iio-sensor-proxy
See 'man 7 undocumented' for help when manual pages are not available.
jerry@jerry-Aspire-V3-771:~$ hdapsd -v
Wed Mar 8 11:57:15 2017: Starting hdapsd
Wed Mar 8 11:57:15 2017: WARNING: You did not supply any devices to protect, trying autodetection.
Wed Mar 8 11:57:15 2017: Adding autodetected device: sda
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_AMS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:57:15 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:57:15 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:57:15 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:57:15 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:57:15 2017: Trying to load the correct kernel module
Wed Mar 8 11:57:15 2017: Loading hdaps_ec
Wed Mar 8 11:57:15 2017: Loading hdaps
Wed Mar 8 11:57:15 2017: Loading ams
Wed Mar 8 11:57:15 2017: Loading hp_accel
Wed Mar 8 11:57:15 2017: Loading applesmc
Wed Mar 8 11:57:15 2017: Loading smo8800
Wed Mar 8 11:57:15 2017: Loading toshiba_haps
Wed Mar 8 11:57:15 2017: Loading toshiba_acpi
Wed Mar 8 11:57:15 2017: Loading acer_wmi
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_AMS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:57:15 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:57:15 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:57:15 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:57:15 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:57:15 2017: Could not find a suitable interface
jerry@jerry-Aspire-V3-771:~$
(Reading database ... 288206 files and directories currently installed.)
Preparing to unpack .../libconfig9_1.5-0.2_amd64.deb ...
Unpacking libconfig9:amd64 (1.5-0.2) ...
Selecting previously unselected package hdapsd.
Preparing to unpack .../hdapsd_1%3a20141203-1_amd64.deb ...
Unpacking hdapsd (1:20141203-1) ...
Selecting previously unselected package tp-smapi-dkms.
Preparing to unpack .../tp-smapi-dkms_0.41-1_all.deb ...
Unpacking tp-smapi-dkms (0.41-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up libconfig9:amd64 (1.5-0.2) ...
Setting up hdapsd (1:20141203-1) ...
Setting up tp-smapi-dkms (0.41-1) ...
Creating symlink /var/lib/dkms/tp-smapi/0.41/source ->
/usr/src/tp-smapi-0.41
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.4.0-65-generic -C /lib/modules/4.4.0-65-generic/build M=/var/lib/dkms/tp-smapi/0.41/build.....
cleaning build area....
DKMS: build completed.
thinkpad_ec:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-65-generic/extra/
tp_smapi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-65-generic/extra/
hdaps.ko:
Running module version sanity check.
- Original module
- Found /lib/modules/4.4.0-65-generic/kernel/drivers/platform/x86/hdaps.ko
- Storing in /var/lib/dkms/tp-smapi/original_module/4.4.0-65-generic/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /lib/modules/4.4.0-65-generic/updates/
depmod.........
DKMS: install completed.
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
hdapsd -v
Wed Mar 8 11:53:41 2017: Starting hdapsd
Wed Mar 8 11:53:41 2017: WARNING: You did not supply any devices to protect, trying autodetection.
Wed Mar 8 11:53:41 2017: Adding autodetected device: sda
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_AMS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:53:41 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:53:41 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:53:41 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:53:41 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:53:41 2017: Trying to load the correct kernel module
Wed Mar 8 11:53:41 2017: Loading hdaps_ec
Wed Mar 8 11:53:41 2017: Loading hdaps
Wed Mar 8 11:53:41 2017: Loading ams
Wed Mar 8 11:53:41 2017: Loading hp_accel
Wed Mar 8 11:53:41 2017: Loading applesmc
Wed Mar 8 11:53:41 2017: Loading smo8800
Wed Mar 8 11:53:41 2017: Loading toshiba_haps
Wed Mar 8 11:53:41 2017: Loading toshiba_acpi
Wed Mar 8 11:53:41 2017: Loading acer_wmi
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_AMS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:53:41 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:53:41 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:53:41 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:53:41 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:53:41 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:53:41 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:53:41 2017: Could not find a suitable interface
:~$ iio-sensor-proxy
jerry@jerry-Aspire-V3-771:~$ man iio-sensor-proxy
No manual entry for iio-sensor-proxy
See 'man 7 undocumented' for help when manual pages are not available.
jerry@jerry-Aspire-V3-771:~$ hdapsd -v
Wed Mar 8 11:57:15 2017: Starting hdapsd
Wed Mar 8 11:57:15 2017: WARNING: You did not supply any devices to protect, trying autodetection.
Wed Mar 8 11:57:15 2017: Adding autodetected device: sda
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_AMS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:57:15 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:57:15 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:57:15 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:57:15 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:57:15 2017: Trying to load the correct kernel module
Wed Mar 8 11:57:15 2017: Loading hdaps_ec
Wed Mar 8 11:57:15 2017: Loading hdaps
Wed Mar 8 11:57:15 2017: Loading ams
Wed Mar 8 11:57:15 2017: Loading hp_accel
Wed Mar 8 11:57:15 2017: Loading applesmc
Wed Mar 8 11:57:15 2017: Loading smo8800
Wed Mar 8 11:57:15 2017: Loading toshiba_haps
Wed Mar 8 11:57:15 2017: Loading toshiba_acpi
Wed Mar 8 11:57:15 2017: Loading acer_wmi
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HDAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_AMS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_FREEFALL
Wed Mar 8 11:57:15 2017: Trying INTERFACE_HP3D
Wed Mar 8 11:57:15 2017: Trying INTERFACE_APPLESMC
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_HAPS
Wed Mar 8 11:57:15 2017: Trying INTERFACE_TOSHIBA_ACPI
Wed Mar 8 11:57:15 2017: Trying INTERFACE_INPUT
Wed Mar 8 11:57:15 2017: Trying input for Acer BMA150 accelerometer
Wed Mar 8 11:57:15 2017: Got hdaps_input_nr=-1
Wed Mar 8 11:57:15 2017: Could not find a suitable interface
jerry@jerry-Aspire-V3-771:~$
Comment