cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Genero
Fanfold Paper
Posts: 9
Registered: ‎04-13-2019
Location: FR
Views: 663
Message 31 of 58

Re: can i configure backlit keyboard on a P51 to be always on

Hi, 

 

I've just registered to say a big thank you to all the contributors of this topic Smiley Happy Especially JooJooBee666 (and liguis), you did great with the LBCService program! That's actually really surprising that Lenovo doesn't offer a better backlight management. In standard, it's just on/off, period, that's far from ideal.

I own a T480 for 2 weeks now and using the 1.4 version of the LBCServiceSetup. Overall, I'm definitely happy with it, I could customize it the way I wanted and eventhough I'm not familiar with the .NET framwork, the details on GitHub are more than enough to use it -> you install it and... boom it works. 

 

However, @JooJooBee666, it appears there is a small glitch with this program -> each time I'm restarting or shutting down my laptop, Windows displays something like: "the .NET program is preventing Windows from shutting down" (I don't have the exact wording as my OS isn't in english, sorry about that). It's doing it only when the Lenovo Backlight Control is running prior to restarting / shutting down. That's a bit annoying, it looks like the service cannot be ended properly. My Windows 10 is up to date. I'm ready to perform checks and provide logs out of my system. Can you help out?

JooJooBee666
Fanfold Paper
Posts: 14
Registered: ‎11-21-2018
Location: US
Views: 648
Message 32 of 58

Re: can i configure backlit keyboard on a P51 to be always on

@Genero

Hmm, strange.  I'll take a look at the code and see if I can do anything about the shutdown.  Tough to debug when I can't reproduce; I'm not having that issue.  However, if you can enable the debug logging and send those along after a shutdown, it may help shed some light on the problem.

Genero
Fanfold Paper
Posts: 9
Registered: ‎04-13-2019
Location: FR
Views: 639
Message 33 of 58

Re: can i configure backlit keyboard on a P51 to be always on

Wow, a light speed reply. Thank you so much for your help Smiley Happy

I sequentially restarted and then shut down and started. You can find the logs below:

2019-04-13 22:36:25 - HandlerCallback(control:5, eventType:0, eventData:0, context: 0)
2019-04-13 22:36:59 - Debug Logging Enabled.
2019-04-13 22:36:59 - LenovoBacklightControl service starting...
2019-04-13 22:36:59 - LenovoBacklightControl service started.
2019-04-13 22:36:59 - HandlerCallback(control:13, eventType:32787, eventData:12506188, context: 0)
2019-04-13 22:36:59 - Detected system resume. Activating backlight.
2019-04-13 22:38:51 - HandlerCallback(control:13, eventType:32787, eventData:12936708, context: 0)
2019-04-13 22:39:16 - HandlerCallback(control:13, eventType:32787, eventData:12936548, context: 0)
2019-04-13 22:39:16 - Detected system resume. Activating backlight.

Genero
Fanfold Paper
Posts: 9
Registered: ‎04-13-2019
Location: FR
Views: 633
Message 34 of 58

Re: can i configure backlit keyboard on a P51 to be always on

Logs from the previous post are for 1.3.0.0. Below ones are for 1.4.0.0 - the issue remain when shutting down / restarting:

2019-04-13 22:50:00 - Debug Logging Enabled.
2019-04-13 22:50:00 - LenovoBacklightControl service starting...
2019-04-13 22:50:00 - LenovoBacklightControl service started.
2019-04-13 22:50:00 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-13 22:50:00 - HandlerCallback(control:13, eventType:32787, eventData:24206044, context: 0)
2019-04-13 22:50:00 - Detected system resume but backlight state option enabled, not activating.
2019-04-13 22:50:50 - HandlerCallback(control:5, eventType:0, eventData:0, context: 0)
2019-04-13 22:51:24 - Debug Logging Enabled.
2019-04-13 22:51:24 - LenovoBacklightControl service starting...
2019-04-13 22:51:24 - LenovoBacklightControl service started.
2019-04-13 22:51:24 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-13 22:51:24 - HandlerCallback(control:13, eventType:32787, eventData:22540956, context: 0)
2019-04-13 22:51:24 - Detected system resume but backlight state option enabled, not activating.

I tried version 1.3.0.0 because with 1.4.0.0, it looks like the keyboard isn't lit after a restart where it was lit before (this doesn't happen with 1.3.0.0).

JooJooBee666
Fanfold Paper
Posts: 14
Registered: ‎11-21-2018
Location: US
Views: 630
Message 35 of 58

Re: can i configure backlit keyboard on a P51 to be always on

@Genero

Can you replace the service exe with the following and see if it helps?

https://github.com/JooJooBee666/LBCService/releases/download/1.5.0.0/LBCService.exe

 

If this fixes it let me know and I'll post a new full release.

Genero
Fanfold Paper
Posts: 9
Registered: ‎04-13-2019
Location: FR
Views: 620
Message 36 of 58

Re: can i configure backlit keyboard on a P51 to be always on

@JooJooBee666: again, thank you for your help. As a matter of fact, it doesn't help :/ 

-> When restarting, it doesn't remember the backlight used to be on at intensity 1 on 2

-> The .NET framework is still preventing Windows from restarting / shutting down

 

Find the .xml configuration down below (if somehow it helps):

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<Keyboard_Core_Path>C:\ProgramData\Lenovo\ImController\Plugins\ThinkKeyboardPlugin\x86\Keyboard_Core.dll</Keyboard_Core_Path>
<Light_Level>1</Light_Level>
<Timeout_Preference>10</Timeout_Preference>
<Enable_Debug_Log>true</Enable_Debug_Log>
<Save_Backlight_State>true</Save_Backlight_State>
</configuration>

JooJooBee666
Fanfold Paper
Posts: 14
Registered: ‎11-21-2018
Location: US
Views: 613
Message 37 of 58

Re: can i configure backlit keyboard on a P51 to be always on

@Genero: Bleh...Ok. Smiley Frustrated Let me dig a bit more. Probably won't have anything today but check back tomorrow.

Genero
Fanfold Paper
Posts: 9
Registered: ‎04-13-2019
Location: FR
Views: 610
Message 38 of 58

Re: can i configure backlit keyboard on a P51 to be always on

That's fantastic! Absolutely no problem at all. 

Good luck in your investigations. Let me know if I can help, anyhow. 

Cheers. 

JooJooBee666
Fanfold Paper
Posts: 14
Registered: ‎11-21-2018
Location: US
Views: 563
Message 39 of 58

Re: can i configure backlit keyboard on a P51 to be always on

@Genero: There is a new build up but I'm thinking your problem will still be present.  However, I added some additional debugging info so if the problem still persists, sne me some more logs. Smiley Happy

 

https://github.com/JooJooBee666/LBCService/releases/tag/1.5.0.0

Genero
Fanfold Paper
Posts: 9
Registered: ‎04-13-2019
Location: FR
Views: 539
Message 40 of 58

Re: can i configure backlit keyboard on a P51 to be always on

Hey Smiley Happy I've just tried version 1.5.0.0.

 

I indeed tried to shut down, restart several times. Sometimes, the Windows message around .NET preventing the system to stop didn't show up. I couldn't clearly identify the pattern when it didn't. 

With 1.5.0.0, level 1 backlight isn't back at restart, for level 2 it is... (mind blown) Then maybe it's related to my computer? U_U I have no clue. Definitely hope the logs are helping. I'll try my best to repy to you the way you're committed to post replies here, though past 11pm here ^^

 

Please find the below logs:

 

2019-04-14 23:00:07 - Debug Logging Enabled.
2019-04-14 23:00:07 - LenovoBacklightControl service starting...
2019-04-14 23:00:07 - LenovoBacklightControl service started.
2019-04-14 23:00:07 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-14 23:00:07 - HandlerCallback(control:13, eventType:32787, eventData:20698388, context: 0)
2019-04-14 23:00:07 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:00:23 - Starting new PipeServer.
2019-04-14 23:01:09 - HandlerCallback(control:13, eventType:32787, eventData:21095332, context: 0)
2019-04-14 23:01:09 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:01:38 - HandlerCallback(control:13, eventType:32787, eventData:21093572, context: 0)
2019-04-14 23:01:38 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:01:52 - Starting new PipeServer.
2019-04-14 23:02:30 - HandlerCallback(control:5, eventType:0, eventData:0, context: 0)
2019-04-14 23:03:03 - Debug Logging Enabled.
2019-04-14 23:03:03 - LenovoBacklightControl service starting...
2019-04-14 23:03:03 - LenovoBacklightControl service started.
2019-04-14 23:03:03 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-14 23:03:03 - HandlerCallback(control:13, eventType:32787, eventData:16385708, context: 0)
2019-04-14 23:03:03 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:03:18 - Starting new PipeServer.
2019-04-14 23:04:38 - Starting new PipeServer.
2019-04-14 23:04:40 - Starting new PipeServer.
2019-04-14 23:05:22 - Starting new PipeServer.
2019-04-14 23:05:30 - Starting new PipeServer.
2019-04-14 23:05:38 - HandlerCallback(control:5, eventType:0, eventData:0, context: 0)
2019-04-14 23:06:11 - Debug Logging Enabled.
2019-04-14 23:06:11 - LenovoBacklightControl service starting...
2019-04-14 23:06:11 - LenovoBacklightControl service started.
2019-04-14 23:06:11 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-14 23:06:11 - HandlerCallback(control:13, eventType:32787, eventData:11158204, context: 0)
2019-04-14 23:06:11 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:06:26 - Starting new PipeServer.
2019-04-14 23:07:19 - HandlerCallback(control:5, eventType:0, eventData:0, context: 0)
2019-04-14 23:07:53 - Debug Logging Enabled.
2019-04-14 23:07:53 - LenovoBacklightControl service starting...
2019-04-14 23:07:53 - LenovoBacklightControl service started.
2019-04-14 23:07:53 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-14 23:07:53 - HandlerCallback(control:13, eventType:32787, eventData:20004604, context: 0)
2019-04-14 23:07:53 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:08:08 - Starting new PipeServer.
2019-04-14 23:09:05 - HandlerCallback(control:5, eventType:0, eventData:0, context: 0)
2019-04-14 23:09:38 - Debug Logging Enabled.
2019-04-14 23:09:38 - LenovoBacklightControl service starting...
2019-04-14 23:09:38 - LenovoBacklightControl service started.
2019-04-14 23:09:38 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-14 23:09:38 - HandlerCallback(control:13, eventType:32787, eventData:9781628, context: 0)
2019-04-14 23:09:38 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:09:53 - Starting new PipeServer.
2019-04-14 23:10:43 - HandlerCallback(control:5, eventType:0, eventData:0, context: 0)
2019-04-14 23:11:16 - Debug Logging Enabled.
2019-04-14 23:11:16 - LenovoBacklightControl service starting...
2019-04-14 23:11:16 - LenovoBacklightControl service started.
2019-04-14 23:11:16 - Registering Service for Power Notifications:LenovoBacklightControl.
2019-04-14 23:11:16 - HandlerCallback(control:13, eventType:32787, eventData:14376940, context: 0)
2019-04-14 23:11:16 - Detected system resume but backlight state option enabled, not activating.
2019-04-14 23:11:31 - Starting new PipeServer.
2019-04-14 23:11:41 - Starting new PipeServer.
2019-04-14 23:11:50 - Starting new PipeServer.

 

Many thanks again. 

Check out current deals!


Shop current deals

Top Kudoed Authors