hdapsd doesn't work in Hardy despite hdaps-gl working perfectly

Bug #234601 reported by Lele83x
4
Affects Status Importance Assigned to Milestone
hdapsd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: hdapsd

I have successfully loaded the tp_smapi and the hdaps_ec module in a Hardy installation on my Thinkpad X60s:

myname@myname-laptop:~$ lsmod
Module Size Used by
[...]
hdaps_ec 14556 0
tp_smapi 23952 0
thinkpad_ec 8464 2 hdaps_ec,tp_smapi
[...]

I install both the hdapsd packet and the hdaps-utils packet via synaptic, I reboot and i try to run the hdapsd deamon to protect my hard drive:

myname@myname-laptop:~$ hdapsd -d sda -s 15 -a
WARNING: Cannot open hdaps position input file /dev/input/hdaps/accelerometer-event (Permission denied). You may be using an incompatible version of the hdaps module, or missing the required udev rule. Falling back to reading the position from sysfs (uses more power). Use '-y' to silence this warning.
open(protect_file): No such file or directory

if I run it with sudo:

myname@myname-laptop:~$ sudo hdapsd -d sda -s 15 -a
Password or swipe finger:
open(protect_file): No such file or directory

but when I run hdaps-gl IT WORKS I can see the 3d image of my computer moving and the movement is perfect, totally calibrated.

In fact /dev/input/hdaps/accelerometer-event is actually present on my comp, because hdaps installed a udev rule that creates this sym link, the link is root only tough, probably that is why I can't access it without sudo.

the Ubuntu version is:
Description: Ubuntu 8.04
Release: 8.04

the tp_smapi and the hdaps_ec modules are in the package:
linux-ubuntu-modules-2.6.24-16-generic
or
linux-ubuntu-modules-2.6.24-17-generic
probably both but I'm running 2.6.24-17 kernel now

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.