Your message dated Thu, 06 Aug 2026 22:09:24 +0000
with message-id <[email protected]>
and subject line Bug#907169: fixed in laptop-detect 0.17
has caused the Debian Bug report #907169,
regarding laptop-detect: Include chassis_type and description for verbose when 
NOT on a laptop
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.)


-- 
907169: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907169
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: laptop-detect
Version: 0.16
Severity: wishlist
Tags: patch

In verbose mode it might be convenient to print the value and description
for chassis_type if found, even when the script determines that we're not
on a laptop.

--- /usr/bin/laptop-detect      2017-08-12 15:24:53.000000000 +0000
+++ /usr/bin/laptop-detect.new  2018-08-24 11:56:54.000000000 +0000
@@ -130,5 +130,37 @@
     fi
 fi
 
-$PRINTIT "We're not on a laptop (no relevant hint found)" >&2
+if [ -n "$chassis_type" ]; then
+    case "$chassis_type" in
+        # https://technet.microsoft.com/en-us/library/ee156537.aspx
+         1) chassis_description="Other";;
+         2) chassis_description="Unknown";;
+         3) chassis_description="Desktop";;
+         4) chassis_description="Low Profile Desktop";;
+         5) chassis_description="Pizza Box";;
+         6) chassis_description="Mini Tower";;
+         7) chassis_description="Tower";;
+         8) chassis_description="Portable";;
+         9) chassis_description="Laptop";;
+        10) chassis_description="Notebook";;
+        11) chassis_description="Hand Held";;
+        12) chassis_description="Docking Station";;
+        13) chassis_description="All in One";;
+        14) chassis_description="Sub Notebook";;
+        15) chassis_description="Space-Saving";;
+        16) chassis_description="Lunch Box";;
+        17) chassis_description="Main System Chassis";;
+        18) chassis_description="Expansion Chassis";;
+        19) chassis_description="Sub Chassis";;
+        20) chassis_description="Bus Expansion Chassis";;
+        21) chassis_description="Peripheral Chassis";;
+        22) chassis_description="Storage Chassis";;
+        23) chassis_description="Rack Mount Chassis";;
+        24) chassis_description="Sealed-Case PC";;
+         *) chassis_description="*UNKNOWN*";;
+    esac
+    $PRINTIT "We're not on a laptop (chassis_type is $chassis_type - 
$chassis_description)" >&2
+else
+    $PRINTIT "We're not on a laptop (no relevant hint found)" >&2
+fi
 $EXIT 1

-- 
Ole G.

--- End Message ---
--- Begin Message ---
Source: laptop-detect
Source-Version: 0.17
Done: Andreas Tille <[email protected]>

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.
Andreas Tille <[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: Tue, 04 Aug 2026 07:06:56 +0200
Source: laptop-detect
Architecture: source
Version: 0.17
Distribution: unstable
Urgency: medium
Maintainer: Debian Commons <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 907169
Changes:
 laptop-detect (0.17) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Andreas Tille ]
   * Orphan package
   * Maintain in Debian team on Salsa
   * Bump debhelper from old 10 to 13.
   * Remove redundant Priority: optional from source stanza.
   * Set debhelper-compat version in Build-Depends.
   * Standards-Version: 4.7.4
 .
   [ Ole G. Gjelland ]
   * Include chassis_type and description for verbose when NOT on a laptop
     Closes: #907169
Checksums-Sha1:
 e4f382fdda65a3897eeb4e0791ed441993bb0d7b 1688 laptop-detect_0.17.dsc
 7f855fcd420823d1e7022407a5103c95909d8564 6496 laptop-detect_0.17.tar.xz
 fe6123f581e5bd9bcaaed3ee50125b1485fedc3e 5658 
laptop-detect_0.17_amd64.buildinfo
Checksums-Sha256:
 0dbe475099eb61ba80309819f89bb52ff6a24de281c5e4972e1c7aac8d54dd94 1688 
laptop-detect_0.17.dsc
 1aff4094786e7167ca18343bb53c93e2efff918799ac77a1b1e75d36edb9d019 6496 
laptop-detect_0.17.tar.xz
 e98dbe4e970e44054c7c820fb30717f03599190a7fc453036f3d9a57258ebb03 5658 
laptop-detect_0.17_amd64.buildinfo
Files:
 71e0d1223f053e79e3107ea2b12e38ee 1688 utils optional laptop-detect_0.17.dsc
 989b98ac7637c8626c2dfb3d77d1fe45 6496 utils optional laptop-detect_0.17.tar.xz
 600be21bedfc85eb03cc87e43425e390 5658 utils optional 
laptop-detect_0.17_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmp0/aERHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFAIBAAggardbL58tql4QNu+iHWAEp6i0RdLX9Y
xWZ0uoE2Z4S0EalD875zWlkmmX7EjKFxSTSHAtJaErMrz6DL5n5mD1KmpfQ+5lo5
V2SmFtrEM0x/W6YHyU+Q7AaSF4Ia/1C08SQi6rbDY3o9n71us9ZYfJZvI7NBfwy3
Lru/cVCuL2lrt+zsRXXV5MiqYmyUYb9Ewp+Lm/gTT3Ln5beTFknyNVKjW8ZTTag7
hP/YtuoGBlUSBEAQoWlKSF/M6Bos9jxb8mHyN1eEYUgqJfxuOcKftJ7h29CGy0sh
DONx3FYx8YU4rHhTK2u9NTnsEtU30/OzetrVsTtKhmawua1m4sYTvLn+O3mUmxcH
HdqfOqpDd+1S/SiYI5kTM53Z2pMdaYVdbR2arnPxitMYxVqE0jnWuc2ZiDvl75rZ
XgXj/vkiwYJfEzpAZvCUsoxNRK+99RzLSWnUUIs3zNXE2rFzkiwr04Nghl9bme11
K6tOaH33nfOJVD+ASHLuINj9dG/5BbYg4aVTOVXAbqpJKv7RvsjaCY5pRS29b+ao
IlyYdqGpRLxZno84gIUCSxXp2ziOz8Xk+Tte3+CnIpD7yLy2rXMZQR1gVwRp77wV
7+loFS3kTgUN1ysGtBTvkMCACqbN/t6bYZOf/1ucc1UiNg69RpJ3D7E+Xsv4/tQD
O7XsLSXr+HQ=
=Siql
-----END PGP SIGNATURE-----

Attachment: pgpBnhzL4KSrJ.pgp
Description: PGP signature


--- End Message ---

Reply via email to