Bjoern Olausson | 10 Apr 01:09
Picon

Leonovo Thinpad W510 - Axes totally messed up

Hi,

I just wanted to ask if it s possible to support Lenovo ThinkPad W510 properly.

I added the following to hdaps.c and it turned out to work - in some way:

--- hdaps.c.org 2011-04-09 23:31:57.029871784 +0200
+++ hdaps.c     2011-04-09 23:57:44.059274533 +0200
@@ -526,6 +526,7 @@ static struct dmi_system_id __initdata h
        HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T60", HDAPS_BOTH_AXES),
        HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61p", HDAPS_BOTH_AXES),
        HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61", HDAPS_BOTH_AXES),
+       HDAPS_DMI_MATCH_NORMAL("LENOVO", "ThinkPad W510"),
        HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad X40"),
        HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad X41", HDAPS_Y_AXIS),
        HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X60", HDAPS_BOTH_AXES),

The problem is that the directions are completely of. I tested it with
hdaps_gl and got the following:

Tilt to the left: hdaps_gl --> backward.
Tilt to the right: hdaps_gl --> front.
Tilt to the back: hdaps_gl --> right.
Tilt to the front: hdaps_gl --> left.

Since I can't code in C I failed to fix it on my own :-( and inverting
axis does not resolve this problem.
I guess the directions are not essential for HDAPS since it works
flawless, except this little cosmetic problem mentioned above.

(Continue reading)

Tomasz Torcz | 22 Dec 14:49
Picon

CPU usage


Hello list,

  Let me introduce myself:  I'm packaging hdapsd in Fedora.
Recently I've received bugreport about hdapsd constantly using
about 2% CPU on older T60 laptop.  Powertop shows about 50 wakeups
per second which looks normal.  Is this CPU consumption per-design
or should I ask user for ltrace/strace dump of hdapsd activity?

  (In Fedora we do not ship latest tp_smapi, because it's not
in mainstream kernel.  But I think T60 should be supported by
upstream Linux).

--

-- 
Tomasz Torcz                Only gods can safely risk perfection,
xmpp: zdzichubg@...     it's a dangerous thing for a man.  -- Alia

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
Javier | 27 Nov 19:31
Gravatar

Lenovo S10-3t hdaps research

So the other day I received a S10-3t as a present. Kept the stock Windows 
7 and decided to fire up WinDbg and see why the Linux HDAPS driver wasn't 
working when the device clearly has an accelerometer.

Don't read the rest of the post if your local legislation forbids you 
from doing so.

Seemingly, HDAPS on the IdeaPad is an entirely different beast. 

There seems to be a memory accessible by the IO ports 0x702 (address) and 
0x703 (data), and some device at ports 0x6C (seems like a command port) 
and 0x68 (seems like a port where error codes are returned, also reading 
it resets "something"). The memory is around 64 bytes long (rest reads as 
zeros). Sending a 0x11 command causes values on the memory to change.

>From dumping the memory, I've found that:
- @0x10 the driver writes here commands it also sends to IO port 0x6C.
- @0x12-0x13 this seems to be coordinate X of the accelerometer, as a 
s16. Ranges are from 400..740.
- @0x14-0x15 coordinate Y. Range 420..740
- @0x17-0x18 mirror of coordinate X?
- @0x19-0x21 mirror of coordinate Y?

No idea about the rest of data, some of it also changes when sending 
command 0x11. Might be temperature.

I've made a preliminary driver based of the current inkernel one and the 
above that seems to work on my S10-3t. It does the minimal amount of 
chatter that will make the device work (the sleeps are required, 
otherwise error condition "3" happens) even after a cold boot (so, no 
(Continue reading)

Till Straumann | 28 Sep 06:37
Picon
Favicon

hdapsd on intel macbook

Hi.

Thanks for hdapsd. Is this software still maintained?
I found that it is straightforward to use it on newer
intel x86-based macbooks.

I can provide patches if anybody is interested.

Please cc me on any replies - I'm not subscribed to
this list.

WKR
-- Till

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
Tom Gelinas | 17 Mar 09:35
Picon

Lenovo ThinkPad T510 Needs HDAPS Inversion

Howdy,

The Lenovo ThinkPad T510 requires HDAPS to be inverted at "7" to
function correctly. Thanks so much for your efforts!

-Tom Gelinas

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Evgeni Golov | 7 Mar 19:49
Favicon
Gravatar

RFT: hdapsd for Intel MacBooks and Hewlett-Packard laptops

[ Yes, this is most probably the wrong list, but who else listens to 
  hdapsd stuff out there? Feel free to forward there ;)              ]

After quite some time (last release 01-04-2009), hdapsd got a bit of 
love.
Brice Arnould has contributed some code for Hewlett-Packard laptops 
(those supported by the hp_accel module, see drivers/hwmon/hp_accel.c[1]) 
and I finally crossed all lines and wrote support for Apple MacBooks 
(the Intel ones, via applesmc module, see drivers/hwmon/applesmc.c[2]).

The HP code is interesting, as it support a hardware-logic mode, where 
hdapsd only parks the heads when told so by the HP hardware. As I do not 
own any compatible hardware, this is only tested by Brice himself.
The Apple SMC code isn't tested at all, as I don't have the hardware 
either.

That's why I want YOU to test it further (both, on HP and Apple) and 
report me bugs (mail to evgeni@... preferred) if you find any :)

You can get the latest source either via git from github:

git clone -b new-interfaces git://github.com/evgeni/hdapsd.git

Or from githubs tarball generator: 
http://github.com/evgeni/hdapsd/tarball/eb711f30395ac9bc682b14c22d8445b7ddf0b4a0

After you got the source, a simple

./autogen.sh
make
(Continue reading)

alkos333 | 15 Dec 21:44

Could not find a suitable interface

The title says it all - when I try to start hdapsd, I get that message above.

--

-- 
Alex Lysenka
Computer Science Major
Operations Management & Information Systems Major
Northern Illinois University
alysenka@...

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Peter Jordan | 10 Nov 15:43
Picon

Gemalto ExpressCard Smart Card Reader under linux?

Hello,

does someone know, if the Gemalto ExpressCard Smart Card Reader from 
Lenovo (41N3043) runs with linux?

thanks,

PJ

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Gen Zhang | 19 Oct 00:10
Picon
Gravatar

Lenovo IdeaPad U350

Hello,

The Lenovo IdeaPad U350 has HDAPS support under Windows, and does the
usual Thinkpad-like things, but the current driver doesn't work under
Linux. Disabling the whitelisting just makes it spew stuff about IO
errors. I'm guessing that a different set of magic ports numbers are
required, but I have no idea how to get a hold of them. I was
wondering if anyone has already done it, or maybe knows how to get it
from the Windows driver?

Cheers,
Gen

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Sten Heinze | 31 Aug 03:27
Picon
Picon

hdapsd: no input device

Hi,

hdapsd falls back to polling on my system. At startup ('/etc/init.d/hdapsd 
start') it prints: 
Mon Aug 31 00:35:06 2009: Starting hdapsd
Mon Aug 31 00:35:06 2009: Forcely enabled UNLOAD for hda
Mon Aug 31 00:35:06 2009: Selected interface: HDAPS
Mon Aug 31 00:35:06 2009: WARNING: Could not find hdaps input device (No such 
file or directory). You may be using an incompatible version of the hdaps 
module. Falling back to reading the position from sysfs (uses more power).
Use '-y' to silence this warning.

But /var/log/messages shows while hdapsd is starting: 
Aug 31 00:35:06 [  152.650811] hdaps: IBM ThinkPad X40 detected, setting 
orientation 3
Aug 31 00:35:06 [  152.651308] hdaps: device successfully initialized.
Aug 31 00:35:06 [  152.651459] input: ThinkPad HDAPS joystick emulation as 
/devices/virtual/input/input8
Aug 31 00:35:06 [  152.651666] input: ThinkPad HDAPS accelerometer data as 
/devices/virtual/input/input9
Aug 31 00:35:06 [  152.651734] hdaps: driver successfully loaded.

While /devices/virtual/input/input* do not exist, /sys/devices/* do. Why is it 
unable to find the input device? Polling reduces battery runtime noticeably.

I use a self-compiled kernel (vanilla 2.6.31-rc8-git1 currently with some 
patches, created as deb by Debian's kernel-package) which includes tp_smapi 
0.40. The tp_smapi patch is created by:
$ make patch KVER=2.6.31-rc8 KSRC=/tmp/kernel/linux-2.6 
KBUILD=/tmp/kernel/linux-2.6 HDAPS=1
(Continue reading)

Daniel Castro | 27 May 15:19
Picon
Picon
Favicon

HDAPS on a T61p

Hello,

Anyone reading this with a T61p, Ubuntu 8.10 and HDAPS working?
If so, could you please share with me how to do it.

Thanks!

--
________________________

Daniel Castro, M.Sc.
+353 083-318-2058
dancasmo <at> gmail.com
castromd <at> tcd.ie
________________________


Gmane