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.

Automatic board detection for initiation

See original GitHub issue

Further fleshing out our discussion of automatic board detection/initiation so hopefully we don’t need to manually initiate the board, in both init and CLI files.

I suppose if there’s a reliable way to detect the board type, we could have automatic detection if no board type is explicitly provided - perhaps by checking the existence of each path in _BACKLIGHT_SYSFS_PATHS?

I was thinking of using /proc/device-tree/model

root@Harbormaster:~# cat /proc/device-tree/model
ASUS Tinker Board 2 (Linux Opensource)

What is the output on the Pi?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
linusgcommented, Jun 10, 2021

What is the output on the Pi?

$ cat /proc/device-tree/model
Raspberry Pi 3 Model B Rev 1.2
0reactions
p1r473commented, Jun 14, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Strategies for Automatic Track Initiation
Th- concept of an automatic tracking radar is appealing. It holds forth the promise of incre,,sing imber and accuracy of target tracks while...
Read more >
907.2.1.1 System initiation in Group A occupancies.
An automatic smoke detection system shall be installed in corridors, waiting areas open to corridors and habitable spaces other than sleeping units and...
Read more >
Fire Alarm Initiation, Occupant Notification, and Monitoring ...
The second type of fire alarm initiation, automatic detection, can come in many forms. For example, some systems detect smoke, while others ...
Read more >
RFC 7332 - Loop Detection Mechanisms for Session ...
Loop Detection Mechanisms for Session Initiation Protocol (SIP) Back-to-Back User Agents (B2BUAs) (RFC 7332, August 2014)
Read more >
Automatic Chessboard Detection for Intrinsic and Extrinsic ...
The method proposed in this article uses a pattern similar to that of a chess board, which is found automatically in each image,...
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