question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not working at boot

See original GitHub issue

Even if I ran the “linux-enable-ir-emitter boot enable” command and the status is:

● linux-enable-ir-emitter.service - enable the infrared emitter
     Loaded: loaded (/lib/systemd/system/linux-enable-ir-emitter.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Thu 2021-10-14 08:28:01 CEST; 3h 24min ago
   Main PID: 1477 (code=exited, status=0/SUCCESS)

okt 14 08:28:01 user-linux systemd[1]: Starting enable the infrared emitter...
okt 14 08:28:01 user-linux systemd[1]: linux-enable-ir-emitter.service: Succeeded.
okt 14 08:28:01 user-linux systemd[1]: Finished enable the infrared emitter.

It just doesn’t enable the emitter during face scan. I need to run the command again to make it work at the current session. I’m on Ubuntu 20.4.3 LTS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
AndrejOrsulacommented, Nov 20, 2021

I was having the same issue as described above. However, it seems to work on every boot after changing the type of the service to forking, i.e. Type=forking in /usr/lib/systemd/system/linux-enable-ir-emitter.service.

It is probably not an ideal solution, but it fixes some timing issue for me. With oneshot, my success rate was otherwise ~5%.

PS: Many thanks for the great work on this project.

1reaction
benoe77commented, Nov 6, 2021

Even the previous version was working sometimes, sometimes wasn’t. Let me test it for a few more days, then I will report back Now it seems to be working btw.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Keyboard Not Working In BIOS [1 Minute Fix 2022]
If your keyboard is not working on the boot menu, it could be caused by many factors. Some of them are keyboard drivers...
Read more >
Windows 10/11 Bootable USB Drive Not Working (5 Ways)
How to solve Windows 10 not booting from USB stick (5 ways) · Fix 1. Make Sure the file system of USB drive...
Read more >
Troubleshooting - My Computer Won't Boot Windows - Intel
Your computer won't boot windows? Our guide will show you what steps to take if your PC is turning on, but it's not...
Read more >
Advanced troubleshooting for Windows boot problems
To troubleshoot problems that affect services, do a clean boot by using System Configuration ( msconfig ). Select Selective startup to test the ......
Read more >
Keyboard Not Working in BIOS? Try These Solutions Now
USB 3.0 is used during boot on newer motherboards, which causes some keyboards not working properly. In this case, disable USB 3.0.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found