Public bug reported:

[Impact]
Found on new platforms that UART require more than 1 second to respond
commands in the first 10 seconds after booted.
And the first command we send to scalar is dell_uart_get_scalar_status()
to tell if scalar is in charge of the backlight, and it always fails to get
response because of timeout.

[Fix]
Adding retry and increasing read timeout for dell_uart_get_scalar_status()

[Test]
Verified on the target Dell AIO, it can now read the response from scalar.

[Regression Potential]
Low, adding retry and increasing read timeout doesn't change the code flow.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Disco)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Eoan)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1858761

Title:
  Dell AIO can't adjust brightness

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1858761/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to