system ddc - more of a delay at start after modprobe

it seems on starts while xrandr is busy talking to screens sometiems
one of my screens doesnt respond... unless we wait a bit. so .. wait
more.
devs/bu5hm4n/pointer-fix
Carsten Haitzler 2 years ago
parent a197e3c1db
commit 32d642d338
  1. 2
      src/bin/system/e_system_ddc.c

@ -334,7 +334,7 @@ _ddc_init(void)
// brute force modprobe this as it likely is needed - probe will fail
// if this doesn't work or find devices anyway
if (system("modprobe i2c-dev") == 0)
usleep(200 * 1000); // and wait for the module to come up... 200ms
usleep(500 * 1000); // and wait for the module to come up... 200ms
if (!_ddc_probe()) return EINA_FALSE;

Loading…
Cancel
Save