Your message dated Mon, 20 Jan 2020 23:17:09 +0000
with message-id <e1itgi9-000dur...@fasolo.debian.org>
and subject line Bug#934140: fixed in brightd 0.4.1-2+deb10u1
has caused the Debian Bug report #934140,
regarding brightd does not fade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
934140: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934140
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: brightd
Version: 0.4.1-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
brightd does not fade because it wrongly thinks laptop is always on AC.
The problem is in the patch
0002-Don-t-use-deprecated-proc-acpi-for-AC-detection.patch
| FILE *ac = fopen("/sys/class/power_supply/AC/online", "r");
| ...
| ac_state = fgetc(ac);
| fclose(ac);
| return ac_state;
In the kernel from debian buster the file opened contains '0' or '1',
the patch does not parse the character '0' but simple returns the
character casted to an int.
Which means the function isOnAC always returns true, which means brightd
currently does nothing, it never fades.
Output of brightd when on battery (or on AC, doesn't matter)
|brightd -w 5 -v
|Maximum brightness is 4437
|Opened X11 Display from ENV{DISPLAY}
|Opened a connection
|Would fade, but on AC
|Would fade, but on AC
|Would fade, but on AC
| ...
best regards,
gebi
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages brightd depends on:
ii libc6 2.28-10
ii libx11-6 2:1.6.7-1
ii libxss1 1:1.2.3-1
brightd recommends no packages.
brightd suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: brightd
Source-Version: 0.4.1-2+deb10u1
We believe that the bug you reported is fixed in the latest version of
brightd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 934...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <a...@debian.org> (supplier of updated brightd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 13 Jan 2020 17:40:37 +0100
Source: brightd
Architecture: source
Version: 0.4.1-2+deb10u1
Distribution: buster
Urgency: medium
Maintainer: Andrej Shadura <andre...@debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Closes: 934140
Changes:
brightd (0.4.1-2+deb10u1) buster; urgency=medium
.
* Non-maintainer upload.
.
[ Andrej Shadura ]
* Actually compare the value read out of /sys/class/power_supply/AC/online
with '0'
(Closes: #934140)
Checksums-Sha1:
e011c6a84d138ba52c77e11ca60a71d60c65d953 1917 brightd_0.4.1-2+deb10u1.dsc
5121651fc11dac01a6b7d51ed930a7d2583111f1 5132
brightd_0.4.1-2+deb10u1.debian.tar.xz
7c3a6fe57045860a3d558ecd3acd5f9060278d12 5795
brightd_0.4.1-2+deb10u1_source.buildinfo
Checksums-Sha256:
b6860a64edd546ae1974a0412cf9184c7a7d3afad156421b4e8bd19984a3302d 1917
brightd_0.4.1-2+deb10u1.dsc
e03c9deb6e880b83c4425616ccd4fb135f33f2eafbce525945cdbc6d07426fe3 5132
brightd_0.4.1-2+deb10u1.debian.tar.xz
d72646af41a5a76378bbb680d7f86202d250f18922b637cb5e2caa72de86025a 5795
brightd_0.4.1-2+deb10u1_source.buildinfo
Files:
f9b761ed2a676733c085d5daa529bba2 1917 utils optional
brightd_0.4.1-2+deb10u1.dsc
c0ce48aa4aa2863a20c1442594af9e42 5132 utils optional
brightd_0.4.1-2+deb10u1.debian.tar.xz
30df69132b654add725e7905b23a3f78 5795 utils optional
brightd_0.4.1-2+deb10u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAl4cydEQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCALtEACMVclowHx+xQ4/tjpjX8GAHyFK66lca66o
N1nQvistX/gJWuZOQt8PRrlu6m73CTYogOV7WV41ol+rZrY0RouP460uYSY0skZv
xfwQiLc19Mp3SjLsBaSmAci7jgXE1IzyBzGFDQwHM1RvEDlFYQds8b24NEGiWSnK
aqUIW+pEvk4QkYAKMHSZXERl7IMXylW1UvxqYYaL78qjwIgQG88asN2fXgZlIeR4
ZsuBsO/puAbYt1HcVRDdyTKTGjizcPuHpc2lZJwiJUnDuOuelJiZaO4pUvIAPIab
kTdFyKmXyEfbHI42RzaOCa86gUfjK3TEghy14quD0O3ttPQQqu2C5Gdng0MdFCOW
LwyIway4y0ikhtjBfuYgtYYbxsrI0n1yAZJc3QnpM8GB2N4k/2282/94kGHsGT35
Uky1N2dBqEbHHxs9zrQHAWfjJbRLxBQJsxyHv8emB9uJE5mI7zi429Xya38qSKJY
+0v+NIr70ciQH1Tx8Qk8IN2KAWC+/yEUfK4nlepa4mHW4+bIM/NZX/lixN72h0dJ
sqwIXMcb2rV3ZXDaUaJLSr6SLiy+MXvAf6Ez3vOwwBAkI1VejcI+Goh4PRURBJaR
yeKgYCSRTpOdYm9oSNfiTHcHg5THsE8+ZsIJwrsD2/qi8SkOYXIBdpim7E+qyrIR
6WgfoyI1eg==
=DnXk
-----END PGP SIGNATURE-----
--- End Message ---