Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit our eSupport here.

English Community

ThinkPad NotebooksThinkPad: P and W Series Mobile Workstations
All Forum Topics
Options

9 Posts

04-13-2019

France

12 Signins

137 Page Views

  • Posts: 9
  • Registered: ‎04-13-2019
  • Location: France
  • Views: 137
  • Message 31 of 62

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

2019-04-13, 18:00 PM

Hi, 

 

I've just registered to say a big thank you to all the contributors of this topic :) 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?

Reply
Options

14 Posts

11-22-2018

United States of America

25 Signins

120 Page Views

  • Posts: 14
  • Registered: ‎11-22-2018
  • Location: United States of America
  • Views: 120
  • Message 32 of 62

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

2019-04-13, 20:19 PM

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

Reply
Options

9 Posts

04-13-2019

France

12 Signins

137 Page Views

  • Posts: 9
  • Registered: ‎04-13-2019
  • Location: France
  • Views: 137
  • Message 33 of 62

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

2019-04-13, 20:44 PM

Wow, a light speed reply. Thank you so much for your help :)

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.

Reply
Options

9 Posts

04-13-2019

France

12 Signins

137 Page Views

  • Posts: 9
  • Registered: ‎04-13-2019
  • Location: France
  • Views: 137
  • Message 34 of 62

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

2019-04-13, 20:58 PM

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

Reply
Options

14 Posts

11-22-2018

United States of America

25 Signins

120 Page Views

  • Posts: 14
  • Registered: ‎11-22-2018
  • Location: United States of America
  • Views: 120
  • Message 35 of 62

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

2019-04-13, 21:05 PM

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

Reply
Options

9 Posts

04-13-2019

France

12 Signins

137 Page Views

  • Posts: 9
  • Registered: ‎04-13-2019
  • Location: France
  • Views: 137
  • Message 36 of 62

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

2019-04-13, 21:16 PM

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

Reply
Options

14 Posts

11-22-2018

United States of America

25 Signins

120 Page Views

  • Posts: 14
  • Registered: ‎11-22-2018
  • Location: United States of America
  • Views: 120
  • Message 37 of 62

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

2019-04-13, 21:31 PM

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

Reply
Options

9 Posts

04-13-2019

France

12 Signins

137 Page Views

  • Posts: 9
  • Registered: ‎04-13-2019
  • Location: France
  • Views: 137
  • Message 38 of 62

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

2019-04-13, 21:33 PM

That's fantastic! Absolutely no problem at all. 

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

Cheers. 

Reply
Options

14 Posts

11-22-2018

United States of America

25 Signins

120 Page Views

  • Posts: 14
  • Registered: ‎11-22-2018
  • Location: United States of America
  • Views: 120
  • Message 39 of 62

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

2019-04-14, 20:41 PM

@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. :smileyhappy:

 

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

Reply
Options

9 Posts

04-13-2019

France

12 Signins

137 Page Views

  • Posts: 9
  • Registered: ‎04-13-2019
  • Location: France
  • Views: 137
  • Message 40 of 62

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

2019-04-14, 21:19 PM

Hey :) 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. 

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms