[Bug 1891032] [NEW] Brightness key freeze screen

2020-08-10 Thread Luciano Hanna El Adji
Public bug reported:

When I press the KEY_BRIGHTNESSDOWN or KEY_BRIGHTNESSUP the screen
freeze for a few seconds.

Sometimes it up/down brightness to max/min with just one press and the
overlay get stuck in the screen.

Maybe useful information:
# evtest
Event: time 1597066500.752632, -- SYN_REPORT 
Event: time 1597066502.755372, type 4 (EV_MSC), code 4 (MSC_SCAN), value 86
Event: time 1597066502.755372, type 1 (EV_KEY), code 225 (KEY_BRIGHTNESSUP), 
value 1
Event: time 1597066502.755372, -- SYN_REPORT 
Event: time 1597066502.761653, type 4 (EV_MSC), code 4 (MSC_SCAN), value 86
Event: time 1597066502.761653, type 1 (EV_KEY), code 225 (KEY_BRIGHTNESSUP), 
value 0
Event: time 1597066502.761653, -- SYN_REPORT 
Event: time 1597066521.533682, type 4 (EV_MSC), code 4 (MSC_SCAN), value 85
Event: time 1597066521.533682, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), 
value 1
Event: time 1597066521.533682, -- SYN_REPORT 
Event: time 1597066521.542973, type 4 (EV_MSC), code 4 (MSC_SCAN), value 85
Event: time 1597066521.542973, type 1 (EV_KEY), code 224 (KEY_BRIGHTNESSDOWN), 
value 0

$ lsb_release -rd
Description:Ubuntu 20.04.1 LTS
Release:20.04

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: udev 245.4-4ubuntu3.2
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
CustomUdevRuleFiles: 70-snap.core.rules
Date: Mon Aug 10 10:44:20 2020
InstallationDate: Installed on 2018-07-23 (749 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: Dell Inc. Inspiron 5558
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic 
root=UUID=c78b51e8-c664-4dd2-8020-7bc5da6f2bc0 ro quiet splash 
acpi_backlight=vendor vt.handoff=7
SourcePackage: systemd
UpgradeStatus: Upgraded to focal on 2020-07-11 (29 days ago)
dmi.bios.date: 02/02/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.name: 0R392V
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvrA15:bd02/02/2018:svnDellInc.:pnInspiron5558:pvr01:rvnDellInc.:rn0R392V:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Inspiron 5558
dmi.product.sku: Inspiron 5558
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

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


** Tags: amd64 apport-bug focal

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

Title:
  Brightness key freeze screen

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891032] Re: Brightness key freeze screen

2020-08-11 Thread Luciano Hanna El Adji
I removed "acpi_backlight=vendor" and didn't helped...

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

Title:
  Brightness key freeze screen

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891032] Re: Brightness key freeze screen

2020-08-12 Thread Luciano Hanna El Adji
I tried apt upgrade and bios update but didn't helped

$ cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic 
root=UUID=c78b51e8-c664-4dd2-8020-7bc5da6f2bc0 ro quiet splash vt.handoff=7


** Attachment added: "dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891032/+attachment/5401031/+files/dmesg.txt

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

Title:
  Brightness key freeze screen

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891032] Re: Brightness key freeze screen

2020-08-12 Thread Luciano Hanna El Adji
$ ls /sys/class/backlight/
intel_backlight


** Attachment added: "acpi.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891032/+attachment/5401244/+files/acpi.log

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

Title:
  Brightness key freeze screen

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891032] Re: Brightness key freeze screen

2020-08-26 Thread Luciano Hanna El Adji
These 3 cause screen freeze

1. sudo acpidbg -b "e EV5 1 0" ("2 0" for brightness down)
2. sudo acpidbg -b "e \_SB.PCI0.GFX0.BRT6 1 0" ("2 0" for brightness down)
3. sudo acpidbg -b "notify \_SB.PCI0.GFX0.LCD 0x86" (0x86 for brightness down)

And these 2 don't work (tee:
/sys/class/backlight/intel_backlight/brightness: Invalid argument)

4. echo 3 | sudo tee /sys/class/backlight/intel_backlight/brightness
5. echo 6 | sudo tee /sys/class/backlight/intel_backlight/brightness

I tried 4 and 5 with root (sudo su) and without the "sudo" and returned
the same error...

I will read this wiki about backlight, thank you

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

Title:
  Brightness key freeze screen

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891032] Re: Brightness key freeze screen

2020-08-26 Thread Luciano Hanna El Adji
This command don't cause screen freeze:

echo 500 > /sys/class/backlight/intel_backlight/brightness

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

Title:
  Brightness key freeze screen

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891032] Re: Brightness key freeze screen

2020-08-26 Thread Luciano Hanna El Adji
I can control the brightness (with step up or down) using these
commands:

gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path
/org/gnome/SettingsDaemon/Power --method
org.gnome.SettingsDaemon.Power.Screen.StepUp

gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path
/org/gnome/SettingsDaemon/Power --method
org.gnome.SettingsDaemon.Power.Screen.StepDown

I was thinking of a workaround that disables the current Fn key program
and I create a script that triggers these commands when I press Fn key
but I don't know how to disable the current trigger

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

Title:
  Brightness key freeze screen

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs