-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Raspbian on a Raspberry pi zero W doesn't retrieve any graphics info #66
Comments
Let me check it on my raspberry machines... Need to see what the issue can be here ... |
Could it be because the resolution is set in the /boot/config.txt |
Not sure right now. I will be at my office tomorrow. There I can test several raspberry machines. OK for you? |
yeah ofcourse. Take your time. I'm just working on a little hobby project 👍 |
Probing the raspberry pi drivers to retrieve the resolution could present itself as very difficult (semi open-source drivers). The solution that comes to mind is like @jjtbsomhorst mentioned to read out the config file under /boot/config.txt. |
@ItsEcholot how would you retrieve the screen resolution when the user has not set the reso in the config? |
I read somewhere that the pi uses CEC to get information about the timings & resolution from the display. Another approach would be |
@jjtbsomhorst Did the approach mentioned by me ( |
@ItsEcholot haven't tested it yet. I will come back with my findings when I have time to do so |
I thought, if I have time to write a reaction that I will do it in the future I could also just fire up my raspberry and see what happens. So When I use the command fbset -s I do get the resolution. |
Setting up a new Raspberry today ... maybe I can come up with some fix here ... |
Just commited a fix on GitHub. Will release the npm package (as new version 4.0 with lot of changes / new features) within the next 2 weeks. |
Should work now. Version 4.0.0 published |
Hi,
I'm currently using your package for retrieval of the graphics information of the system. On my windows device I get the information I need ( resolution of all connected displays). On my raspberry pi zero W on the other hand I get the following:
{
"controllers": [],
"displays": [
{
"connection": "default",
"main": false,
"builtin": false
}
]
}
The text was updated successfully, but these errors were encountered: