rr- / screeninfo

Fetch location and size of physical screens.
Other
208 stars 36 forks source link

Exception on Raspberry Pi 4 #67

Open ThisLimn0 opened 2 years ago

ThisLimn0 commented 2 years ago

Any chance to support the Raspberry 4?

a common way to check for screen resolution on bullseye is to run fbset -s in the command line. But there i don't get the manufacturer of the screen and other info.

Python 3.9.2 (default, Feb 28 2021, 17:03:44) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from screeninfo import get_monitors
>>> get_monitors()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pi/.local/lib/python3.9/site-packages/screeninfo/screeninfo.py", line 32, in get_monitors
    raise ScreenInfoError("No enumerators available")
screeninfo.common.ScreenInfoError: No enumerators available
>>> 
rkiss-technoorg commented 1 year ago

I think pr #68 will solve this issue.