LCD-Smartie / LCDSmartie

The New Official LCD Smartie Repository (LCD Smartie Lazarus port)
GNU General Public License v2.0
32 stars 5 forks source link

LCD Screen goes blank on my Windows 10 machine about 1 per hour #20

Closed PaulJohanson closed 7 months ago

PaulJohanson commented 7 months ago

I'm running a pretty beefy Windows 10 machine. I have LCD smartie running on a Sure Electronics 4x40 display (which is pretty old). It's connected by a USB Mini port on the screen end, and a double ended USB A connected to my PC. I'm using Matrix.dll to emulate a COM port.

IMG_7055 IMG_7056

Here's a shot of my settings: image And here's a bit more detail about the drivers: image

About once an hour, the screen will go blank. Sometimes I get a message on the app saying it can't see the COM port, but I've not managed to capture that. It doesn't write anything to the event log, nor does it seem to write any log files.

I only have two screens active, one using BigNum to show the time, and one using some of the Winamp settings (I'm still using Winamp as my main music player!) image image

My guess is the crusty USB to COM driver I'm using is to blame. I've not been able to find a more recent one, if anyone has suggestions about alternatives please tell me! Or indeed if it's time I updated to a more recent display.

I'm probably skilled enough to actually clone the repo and build it for myself, I was a developer for many years before moving into management. But I also have limited spare time, so any suggestions would be appreciated.

stokie-ant commented 7 months ago

Could you give this test version a try LCDSmartie_exe_5.6.0.1 (1).zip I recently fixed an issue where under some condition the power event handler would be triggered. I don't know if this is a similar issue

Labrat-alter commented 7 months ago

I have same problem with lcd2usb, after about 2-3 hours screen goes blank

stokie-ant commented 7 months ago

Did you try the test version above? Or, if you don't have a shutdown message set could you set one to see if it being shown when the bug is triggered

Labrat-alter commented 7 months ago

I've just set shutdown message, now We have to wait. I'll try updated version and give You a feedback if problem occurred or not. And question if I found another bug should I create another topic or write it down right here?

stokie-ant commented 7 months ago

If it's unrelated please open another issue. That way I can keep track of what's being fixed

PaulJohanson commented 7 months ago

Could you give this test version a try LCDSmartie_exe_5.6.0.1 (1).zip I recently fixed an issue where under some condition the power event handler would be triggered. I don't know if this is a similar issue

Trying this out now...

PaulJohanson commented 7 months ago

So far so good, the app has been running on my machine for about 6 hours today without the LCD screen going blank.

PaulJohanson commented 7 months ago

I'm going to call this one fixed, in the 5.6.0.1 build. Hasn't reoccurred in two solid days of running the screen