From a5183f4109b72725cda4e0f42c181984c70e70b7 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 7 Oct 2023 16:15:11 -0400 Subject: [PATCH] FIX don't strickly check for graphics bus --- src/validate.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/validate.lua b/src/validate.lua index c868700..04f41a7 100644 --- a/src/validate.lua +++ b/src/validate.lua @@ -141,7 +141,8 @@ local validate_filesystem = function(x) end local validate_graphics = function(x) - M.assert_file_readable('graphics.dev_power', x.dev_power) + -- NOTE don't check that the bus exists because some optimus laptops 'turn + -- off' by pulling the entire kernel module and making the bus go poof M.validate_plot_ticks_y('graphics.geometry', x.geometry.plot.ticks_y) end