No more tears (updated)

PalmOS

I don't know if some of you noticed it, but Alex released a nice hack to make your LD/TX (and probably other XScale palms) stop whining ... my TX is a lot happier now!

Go and grab it on sourceforge

Version 1.1 released
- For fun and pain relief you can now select a "hack level" from the menubar. Hopefully Ultra Violence mode will kill screen whine permanently even when using Pocket Tunes and co.
- Should also work on T|C & T|E2 now but please test it doesn't reset using Info menu -> Whine test before selecting a hack level to avoid getting into a reset loop.

Thanks to Magon whose svn commit to do the same thing in Linux originally inspired this hack.

P.S. (from kaafree). 'No more tears' - song by Ozzy Osbourne. What a coincidence...

Wow. I got to say, this

Wow. I got to say, this will get rid of the headache I get from using my T5. I have a quick question though.

I know it was posted that this was designed for the LD/TX, however it does work on the T5. The only problem I have is when a new program is open or I switch to the program menu, the whine appears again. Suspending the T5 and then turning it back on removes the whine until a new program or program menu is opened.

Is this a bug because the T5 was not included or is this a problem that is occurring with the LD/TX.

Thanks,

Goostoff

goostoff wrote:I know it was

goostoff wrote:
I know it was posted that this was designed for the LD/TX, however it does work on the T5. The only problem I have is when a new program is open or I switch to the program menu, the whine appears again. Suspending the T5 and then turning it back on removes the whine until a new program or program menu is opened.
Strange. It sounds like it's a T5 thing, that definately doesn't happen on the LD. This hack works very simply, it just hooks the resume and startup events and when one of those happen it writes to one of the LCD registers (LCCR3) and pumps up the pixel clock speed a bit so that (I presume) the whining is out of the range of human hearing. What I guess must be happenning on your T5 is PalmOS is overwriting the new quiet value each time you switch applications. I'll have a play around and see if I can find a way to hook application startup and rerun the hack code then.

Edit: goostoff: Could you please try this version and see if there's any difference. It tries to rerun the hack when programs are started/quit. It may do it before the PalmOS overwrites the value though, so it could have no effect. Perhaps putting it on a timer might be a better idea.

Alex wrote:find a way to

Alex wrote:
find a way to hook application startup and rerun the hack code then.
hook to ApplicationStart notification, that's most easy way.

Farcaller wrote: hook to

Farcaller wrote:
hook to ApplicationStart notification, that's most easy way.
Yep that's the way I discovered. We'll just have to see whether it's too early a time to set it.

I was using it on my LD and

I was using it on my LD and it worked great. But one thing that happened to me just a few minutes ago before typing this message is that the screen whine came back. I was listening to pocket tunes and I switched to memos to write something. That was when I heard the screen whining again. But if I turn off and turn on the LD, the whining would be gone.

Blazer wrote:I was listening

Blazer wrote:
I was listening to pocket tunes and I switched to memos to write something. That was when I heard the screen whining again.
Ah. You're right. Thanks for reporting that. It also happens if you play something in pocket tunes and then let the screen blank while the music is still playing. I'll see what I can do about it.

Alex wrote:Ah. You're right.

Alex wrote:
Ah. You're right. Thanks for reporting that. It also happens if you play something in pocket tunes and then let the screen blank while the music is still playing. I'll see what I can do about it.

You're welcomed...

And thank you for trying to fix it.

I don't see much of a

I don't see much of a difference from a user's perspective with the new version. I've been playing around with both versions to understand the problem more and this is what I had found.

  • It seems that by accessing the recently used programs by pressing down on the touch screen on the Home button will keep my T5 silent.
  • The T5 will always whine when Favorites or Applications is accessed, regardless if it is through a hard button press or a tap on the touchscreen's Home button.
  • If the T5 is suspended on the Favorites or Applications screen and then turned back on, the T5 will become silent.
  • I have noticed where it will whine and selecting the different recently used programs will cause the T5 to go silent again. I've observed this as random, selecting 4.0 Student sometimes ceases the whine, othertimes the whine will remain. WhineHack almost always ceases the whine.
  • More often than not, the default settings for the hard press buttons (Calendar, Contacts, Files) will resume the whine. Selecting a previously used program or suspend/revive will remove it again.

I've been testing the

I've been testing the program further with my LD and have found another problem. I was playing some games on my LD which were installed on the hard disk. The first game i played was alright. But when I closed it and selected another game, the whine came back. I then had to turn off and turn on the LD to stop the whine.

I've run into another

I've run into another problem which may have been caused by whine hack. I was using Blazer to browse the web when I decided to close it by pressing the home button on the menubar at the bottom. Suddenly the screen went crazy.. it was shaking and there were lines and then the LD reset itself. I am using PXA Clocker to underclock my LD speed to 208mhz. I don't know if the 2 are connected, but I've never gotten this problem with Blazer until today.