Difference between revisions of "Talk:HDAPS"

From ThinkWiki
Jump to: navigation, search
(laptop acpi problem with hdaps)
(laptop acpi problem with hdaps)
Line 63: Line 63:
  
 
==laptop acpi problem with hdaps==
 
==laptop acpi problem with hdaps==
My my both T42/T43 laptops freezes time to times with the follow:
+
My my both IBM T42/T43 laptops freezes time to times with the follow:
  
 
kernel 2.6.16/sata patch<br>
 
kernel 2.6.16/sata patch<br>
Line 70: Line 70:
 
The freez is quite common then I access CD-ROM,but it also might freez without touching anything.<br>
 
The freez is quite common then I access CD-ROM,but it also might freez without touching anything.<br>
 
After the freez keyboard doesn't work or priting some character,power button doesn't work, however mouse might continue to work.<br>
 
After the freez keyboard doesn't work or priting some character,power button doesn't work, however mouse might continue to work.<br>
KDE batter systray shows discarchged  batteries.<br>
+
KDE battery systray shows discarchged  batteries.<br>
Still under invistigation that cases the problem.
+
Still under investigation that cases the problem.
  
 
--noname 00:25, 13 June 2006 (CEST)Anton
 
--noname 00:25, 13 June 2006 (CEST)Anton
Line 83: Line 83:
 
--[[User:Thinker|Thinker]] 11:53, 13 June 2006 (CEST)
 
--[[User:Thinker|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.
 +
--noname 08:34, 22 June 2006 (CEST)Anton

Revision as of 07:34, 22 June 2006

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

Ozi

Thanks, I didn't have the joydev module. Rebuilding... --129.13.186.1 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 2.6.16.13-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

My my both IBM 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 battery systray shows discarchged batteries.
Still under investigation that cases the problem.

--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.

BTW, if you have swsusp or Software Suspend 2 installed, you can do a suspend-to-disk cycle to recover from the hang.

--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. --noname 08:34, 22 June 2006 (CEST)Anton