OS/2, eCS & ArcaOS - Technical > Utilities
Accelerometer / Screen Orientation / Screen Resolution
Martin Iturbide:
Hi Andy.
Can you verify if tpmain.exe has the utility to see the pause the thinkpad HDD when detects movement? (Like the screenshot I posted before from Windows). I think it this tool was available on older TP software for OS/2, but I'm only relying in my memory, so I can be wrong.
Regards
Andy Willis:
I miswrote the executable names... should have been ps2.exe and ps2main.exe rather than the tp. Anyhow, I do not recall anything for stopping the HDD but I can't actually double check as the basedev isn't loaded.
Andi B.:
I think you're mixing two different 'systems' here in this thread.
1) The hard disk protection built f.e. into Thinkpads since many years uses accelerometer devices to detect the strength of acceleration. Not sure if the accelerometer is built into the hard disk or on the motherboard or anywhere else in the Notebook. Either hard disk firmware or BIOS immediately puts the heads onto parking position when strong accelerations are detected.
If BIOS or hard disk stores such events and where that information is saved for reading by the user (OS via driver) is unknown to me. But obviously some models do as you pictures show.
2) Screen orientation change can be made by a simple switch, an extra accelerometer chip or the same accelerometer chip which is used for disk protection. Which one to choice is up to the Notebook manufacturer and can vary between different devices. Guess it's usually not the same as the one used for protection but who knows. As usual PC manufacturers hardly give any information on which system the use and no information about where these switches/chips are connected. If you do not find information where these data can be read for your specific device you will have a hard time re-engineering from what other systems/drivers do.
Question - which of the two systems is really important for OS/2? IMHO it's pretty useless to read out if the BIOS/hard disk does currently detected a crash and prevent disk failures by moving heads. Maybe if there were stored a counter somewhere how often this protection mechanism was triggered could be of some interest, but....
Screen orientation might be interesting if you have such device and it is usable with OS/2 (I suspect no for real work). If you can find the information about the connection of the switch to the system, the address where the information of current state is stored and coding of the info I can write you a driver to read it. But that does not help you very much cause someone has to check how hard it is to rotate screen in SNAP or Panorama. This largely depends on the used graphic controller too as for performance reason you hardly want to rotate screen in software (although doable).
Andy Willis:
--- Quote from: Andi B. on November 05, 2015, 12:33:41 pm ---I think you're mixing two different 'systems' here in this thread.
1) The hard disk protection built f.e. into Thinkpads since many years uses accelerometer devices to detect the strength of acceleration. Not sure if the accelerometer is built into the hard disk or on the motherboard or anywhere else in the Notebook. Either hard disk firmware or BIOS immediately puts the heads onto parking position when strong accelerations are detected.
If BIOS or hard disk stores such events and where that information is saved for reading by the user (OS via driver) is unknown to me. But obviously some models do as you pictures show.
--- End quote ---
Are you certain? From what I recall from looking into it years ago was that a driver for the OS was required to park the drives.
Martin Iturbide:
Hi
I only need a way to trick the installer so I can test the files.
http://tp.omgema.lt/download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/uttpfos2.exe
My issue is that the installer recognize that I'm not using that TP model and the files of the installer are like FUELOS2.EX_, Is there a trick to make that kind of files to work without the installer? maybe that is to basic but I don't know.
Regards
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version