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... --18.104.22.168 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 22.214.171.124-4-default 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
UPDATE: the problem seems fixed in the version 0.21
My my both IBM T42/T43 laptops freezes time to times with the follow:
kernel 2.6.16/sata patch
hdaps build as a module from the kernel. tp_smapi 0.20/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 battery systray shows discarchged batteries.
Still under investigation that cases the problem.
The related software: khdapsmon 0.1.2
ibm-acpi build-in as a module from the kernel(for ksensors) modified ksensors without lm_sensors with a patch http://bugs.gentoo.org/show_bug.cgi?id=116661
--noname 00:25, 13 June 2006 (CEST)Anton
You're the 2nd one reporting this. The fact you can reproduce it on two machines may be very helpful! Are these machines configured identically? Do they run the same software? Can you send your kernel .config, and precise kernel version + patches, to the e-mail address in the tp_smapi README? Please specify which hdaps or tp_smapi -related applications you're typically running.
--Thinker 11:53, 13 June 2006 (CEST)
I also have the follow Problems_with_SATA_and_Linux#No_DMA_on_DVD_drive. So I switched cdrom driver from IDE to ATA and it fixed the problem. However HDAPS has stared to freez a machine if I shake it then HDD is active. The issue might be not related to ACPI but I'll log it here for now.
I'll send configs. Thank you.
ps. 0.21 is out so let me try the new version.
--noname 08:34, 22 June 2006 (CEST)Anton
hdaps and /sys
I've just upgraded from 126.96.36.199, where the patches all dropped in ok and all was well, to 188.8.131.52, where hdaps is built into the kernel. the hdapsd daemon referenced on thinkwiki looks in /sys/block/<drive>/queue/protect to get started. The default drivers that come with 184.108.40.206 for hdaps apparently dont put anything in /queue there, so there is no 'protect' directory. Has anyone else experienced this? I'd love to get my drive protection back :) ON THE UPSIDE! - the Ricoh card reader in my z60m came to life, and I can read sd cards (but not sony memory sticks, oddly enough) Any input would be awesome! email@example.com
You need an extra kernel patch for "protect". Please read the page more carefully.
--Thinker 00:24, 22 July 2006 (CEST)