From ThinkWiki
Revision as of 23:27, 12 June 2006 by Blshkv (Talk | contribs) (laptop acpi problem with hdaps)

Jump to: navigation, search

So, this is in the stable kernel now, but what userspace program do we need to actually park the heads? --MrStaticVoid 01:26, 30 Oct 2005 (CEST)

Yes the hdaps driver is in the 2.6.14 kernel, but support to park the heads quickly and freeze the disk queue (to prevent the heads from getting un-parked) is not. There is some disagreement into how that should be implemented.

In other words, the hdaps driver for the moment is rather useless, unless you want to use it to play games.

--Tonko 02:10, 30 Oct 2005 (CEST)

I head rumours that you can make SDL handle this like a joystick, e.g. for playing Neverball. Can anyone confirm or deny that? Thanx --Nomeata 01:16, 16 Nov 2005 (CET)

Yes it is possible to use it as a joystick, as Tonko allready mentioned. /dev/input/jsX modprobe joydev


Thanks, I didn't have the joydev module. Rebuilding... -- 15:30, 16 Nov 2005 (CET)

Yeah, it's a pretty good party trick - set up the HDAPS joystick as xmame input. You can play Ms. Pac-man by tilting your laptop to make pac-man navigate the maze. You can imagine that the pac-man "rolls" downhill, just like those old wooden marble-puzzles that you see around. Heh, can actually clear a level or two.

Marble madness was strangely unsatisfying though, and just didn't work well (probably due to the diagonal nature of the screen in that game).

--gsmenden 20:10, 13 Jan 2006 (CEST)

Anyone got the queue freezing patch running on 2.6.16? I'm going to try to manually merge it but didn't want to duplicate someone else's work.

--Ajbarr 19:12, 22 March 2006 (CET)

I hawe a problem

I tray to start working my IBM x40 with hdaps function but I can't make it right.

The main problem is in a not hanging variables when I read /sys/devices/platform/hdaps/position

I also have this problem!

Hi, I also have this problem that on my X40 the device/platform/hdaps/position does not give the right response. It is simply constant (128,1). Does anyone have a clue? I use the suse kernel from suse10.1. the hdaps sources in that kernel are the same as in the original kernel. thanks in advance,

Does the HDAPS sensor work under Windows (as observed from actual disk parking, or the graphical animation)? Also, try loading tp_smapi, it includes some patches for the hdaps driver. Does it help?

--Thinker 16:45, 8 June 2006 (CEST)

HI Again, HDAPS does work under windows. When I had windows running and then reboot the machine, hdaps is running under suse10.1 also. If I, however, turn off the machine and restart it, then, hdaps does *not* work anymore. I remember that with suse 10.0 and the separate module, hdaps did work. HDAPS now works with tp_smapi as suggested above. Still, where does the problem derive from?

The hdaps in the vanilla kernel has some bugs (i.e., in doesn't talk to the hardware correctly) which tp_smapi fixes. Looks like you've hit one of these.

--Thinker 18:05, 12 June 2006 (CEST)

laptop acpi problem with hdaps

My my both T42/T43 laptops freezes time to times with the follow:

kernel 2.6.16/sata patch
tp_smapi 0.20/latest hdaps/hdapsd

The freez is quite common then I access CD-ROM,but it also might freez without touching anything.
After the freez keyboard doesn't work or priting some character,power button doesn't work, however mouse might continue to work.
KDE batter systray shows discarchged batteries.
Still under invistigation that cases the problem.

--noname 00:25, 13 June 2006 (CEST)Anton