Your message dated Wed, 14 Jun 2017 22:48:37 +0000
with message-id <[email protected]>
and subject line Bug#860193: fixed in laptop-detect 0.14.1
has caused the Debian Bug report #860193,
regarding laptop-detect: false-positive on desktop if bluetooth k/b or mouse
are used
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 [email protected]
immediately.)
--
860193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860193
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: laptop-detect
Version: 0.13.8
Severity: normal
Dear Maintainer,
laptop-detect returns "We're a laptop..." if a desktop station uses bluetooth
keyboard or mouse.
May be other w/less devices get the same F/P.
debug for 0.13.8:
$ bash -x /usr/sbin/laptop-detect
+ PRINTIT=/bin/true
+ '[' '' '!=' '' ']'
+ test -d /proc/pmu
+ '[' -r /dev/mem -a -x /usr/sbin/dmidecode ']'
+ /sbin/modprobe battery
+ '[' -d /sys/class/power_supply ']'
+ grep -q Battery /sys/class/power_supply/hid-f0:65:dd:7a:a1:26-battery/type
+ /bin/true 'We'\''re a laptop (ACPI batteries found)'
+ exit 0
debug for 0.14:
$ bash -x /usr/bin/laptop-detect
+ PRINTIT=/bin/true
+ '[' '' '!=' '' ']'
+ test -d /proc/pmu
++ command -v dmidecode
+ dmidecode=
+ '[' -r /dev/mem -a -x '' ']'
+ '[' -e /sys/devices/virtual/dmi/id/chassis_type ']'
++ cat /sys/devices/virtual/dmi/id/chassis_type
+ chassis_type=3
+ case "$chassis_type" in
+ /sbin/modprobe battery
+ '[' -d /sys/class/power_supply ']'
+ grep -q Battery /sys/class/power_supply/hid-f0:65:dd:7a:a1:26-battery/type
+ /bin/true 'We'\''re a laptop (ACPI batteries found)'
+ exit 0
$ cat /sys/class/power_supply/hid-f0:65:dd:7a:a1:26-battery/type
Battery
$ ls -l /sys/class/power_supply/
total 0
lrwxrwxrwx 1 root root 0 Apr 11 23:28 hid-f0:65:dd:7a:a1:26-battery ->
../../devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/bluetooth/hci0/hci0:42/0005:17EF:6038.0005/power_supply/hid-f0:65:dd:7a:a1:26-battery
$ bluetoothctl
...
[NEW] Device F0:65:DD:7A:A1:26 ThinkPad Bluetooth Laser Mouse
...
Do '/sys/class/power_supply/*/scope' can help?
--
Thanks,
Damir
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages laptop-detect depends on:
ii dmidecode 3.0-4
laptop-detect recommends no packages.
laptop-detect suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: laptop-detect
Source-Version: 0.14.1
We believe that the bug you reported is fixed in the latest version of
laptop-detect, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simó Albert i Beltran <[email protected]> (supplier of updated laptop-detect
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 14 Jun 2017 23:48:05 +0200
Source: laptop-detect
Binary: laptop-detect
Architecture: source
Version: 0.14.1
Distribution: experimental
Urgency: medium
Maintainer: Simó Albert i Beltran <[email protected]>
Changed-By: Simó Albert i Beltran <[email protected]>
Closes: 860193
Description:
laptop-detect - system chassis type checker
Changes:
laptop-detect (0.14.1) experimental; urgency=medium
.
* Avoid false-positive if device batteries (Closes: #860193)
* Fix "command -v dmidecode" invocation
Checksums-Sha1:
017a09afa825742a11a971f70cfba1a2b2ab699d 1737 laptop-detect_0.14.1.dsc
fd20a4b8631871b82acea1a15dbcb6e8b4f3d6c8 5812 laptop-detect_0.14.1.tar.xz
Checksums-Sha256:
45371abc57660d6a190b99839d2e6df17dc496f0dc7cf05e4d3ede5028066425 1737
laptop-detect_0.14.1.dsc
652b882db0882c4bce4ab7a42666689167b5e05284766a1304548fdae5fb40a3 5812
laptop-detect_0.14.1.tar.xz
Files:
c2ffb0ed5e73d4492a48d15322dd767b 1737 utils optional laptop-detect_0.14.1.dsc
0a07a6ca72d2bae9d2338312018b4d4a 5812 utils optional
laptop-detect_0.14.1.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAllBux1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgZEGA/9H4Qcc0zmaGk8Vx0qzYu5OoiuCTGRcxonVN/Bt68BqREk0sSeNxmtLS2c
S1I0U2Xwcmg8T34jfnlduOjOaORcwF793ZGuxelvj4t8DENsBZ5KtlQeQoPd+2pj
vj8TpJH9XjPGhSJSk+XD3bX9mDjw9DfilB2VfrITrIM5qR5nWpDuXXRf54dgD782
UIM4sxF6xuALMHLROoGPSjbXgfr2pGu/iQq7044v1L8miEz+KXsJt5YF7I5pcGjK
9qtES7aJf+T9/o/IbH+cXyUfS2b7nlyfLIIafBPS5rnz/8PSxQNQOjPKdJhZForV
tSxpzHgXBjQIsQVR4CwZnM5vFLmiuMRlMBuIV+FOolZ98E0MdAHOcrKWvNWkjqF+
gHclL9kY9oVEkn/zNOzXfTxFOBffWiI2HoSMfjxGtqOT+i+/zi/q44N8LWUQwhze
D3PTQLE3GXSQhnj2wUw3PIFbKAkmkfm6f7MVQl3TnkUhEqN9q635WXj21pAgaUjP
f6Wjbsuxe+dpmZ1M2mOGqkrr9IoErhzfNPaJo5TtIF4MJZLfDialyu8KcB6uJ3yE
r6sFVzaqDoVPUDQaKtGJfvsn4RqL4A5G+BD/QEzKJ+v59jxZU0Z84eJYbzzOkc8K
MyMZc0jHEwTrZ9mlkKSQxIOIy5Jenp7X2HwnHpoytDCRHS7nMSc=
=xCPM
-----END PGP SIGNATURE-----
--- End Message ---