File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -763,8 +763,10 @@ int InitPlatform(void)
763
763
764
764
drmModeConnector * con = drmModeGetConnector (platform .fd , res -> connectors [i ]);
765
765
TRACELOG (LOG_TRACE , "DISPLAY: Connector modes detected: %i" , con -> count_modes );
766
-
767
- if ((con -> connection == DRM_MODE_CONNECTED ) && (con -> encoder_id ))
766
+
767
+ // In certain cases the status of the conneciton is reported as UKNOWN, but it is still connected.
768
+ // This might be a hardware or software limitation like on Raspberry Pi Zero with composite output.
769
+ if (((con -> connection == DRM_MODE_CONNECTED ) || (con -> connection == DRM_MODE_UNKNOWNCONNECTION )) && (con -> encoder_id ))
768
770
{
769
771
TRACELOG (LOG_TRACE , "DISPLAY: DRM mode connected" );
770
772
platform .connector = con ;
You can’t perform that action at this time.
0 commit comments