Open2
thinkpad x280にdebian testing

ハードウェア情報、診断
inxi のinstallと実行
apt install -y inxi
inxi -Fxz
System:
Kernel: 6.12.27-amd64 arch: x86_64 bits: 64 compiler: gcc v: 14.2.0
Console: pty pts/0 Distro: Debian GNU/Linux 13 (trixie)
Machine:
Type: Laptop System: LENOVO product: 20KF0036JP v: ThinkPad X280
serial: <filter>
Mobo: LENOVO model: 20KF0036JP v: SDK0J40697 WIN serial: <filter>
UEFI: LENOVO v: N20ET71W (1.56 ) date: 10/15/2024
Battery:
ID-1: BAT0 charge: 22.5 Wh (49.9%) condition: 45.1/48.0 Wh (93.9%)
volts: 11.1 min: 11.5 model: SMP 01AV471 status: discharging
CPU:
Info: quad core model: Intel Core i5-8250U bits: 64 type: MT MCP
arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 400 min/max: 400/3400 cores: 1: 400 2: 400 3: 400 4: 400
5: 400 6: 400 7: 400 8: 400 bogomips: 28800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
arch: Gen-9.5 bus-ID: 00:02.0
Device-2: Chicony Integrated Camera (1280x720@30) driver: uvcvideo
type: USB bus-ID: 1-8:3
Display: unspecified server: N/A driver: gpu: i915 tty: 80x24
resolution: 1366x768
API: EGL v: 1.5 drivers: iris,swrast platforms:
active: gbm,surfaceless,device inactive: wayland,x11
API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 25.0.5-1
note: console (EGL sourced) renderer: Mesa Intel UHD Graphics 620 (KBL
GT2), llvmpipe (LLVM 19.1.7 256 bits)
Info: Tools: api: eglinfo,glxinfo x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
API: ALSA v: k6.12.27-amd64 status: kernel-api
Network:
Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6
IF: enp0s31f6 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
bus-ID: 3b:00.0
IF: wlp59s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
bus-ID: 1-7:2
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 4.2
lmp-v: 8
Drives:
Local Storage: total: 238.47 GiB used: 1.84 GiB (0.8%)
ID-1: /dev/sda vendor: Samsung model: MZNLN256HAJQ-00000 size: 238.47 GiB
Partition:
ID-1: / size: 46.57 GiB used: 1.79 GiB (3.9%) fs: btrfs dev: /dev/sda5
ID-2: /boot/efi size: 96 MiB used: 37.6 MiB (39.2%) fs: vfat
dev: /dev/sda1
ID-3: /home size: 141.13 GiB used: 5.8 MiB (0.0%) fs: btrfs dev: /dev/sda6
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 37.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 8 GiB available: 7.53 GiB used: 535.1 MiB (6.9%) igpu: 32 MiB
Processes: 211 Uptime: 6m Init: systemd
Packages: 485 Compilers: N/A Shell: Bash v: 5.2.37 inxi: 3.3.38
バッテリーのテスト
Battery:
ID-1: BAT0 charge: 22.5 Wh (49.9%)
condition: 45.1/48.0 Wh (93.9%)
volts: 11.1 min: 11.5
model: SMP 01AV471
status: discharging
劣化率 約6%ってことで中古の中でも交換されている可能性はありますね。upower
をaptしてさらに見る事ができる
# upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SMP
model: 01AV471
serial: 543
power supply: yes
updated: Sat May 24 13:27:44 2025 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 22.04 Wh
energy-empty: 0 Wh
energy-full: 45.08 Wh
energy-full-design: 48.01 Wh
energy-rate: 3.634 W
voltage: 11.115 V
charge-cycles: 16
time to empty: 6.1 hours
percentage: 48%
capacity: 93.8971%
technology: lithium-polymer
icon-name: 'battery-good-symbolic'
History (charge):
1748060864 48.000 discharging
History (rate):
1748060864 3.634 discharging
- charge-cycles: 16
からも明らかだろう。powertop
でこんな感じでだらだらみれますよ
ディスクの損傷度合
apt install -y smartmontools
# smartctl -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.27-amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Samsung based SSDs
Device Model: SAMSUNG MZNLN256HAJQ-00000
Serial Number: S3TSNX0N705683
LU WWN Device Id: 5 002538 d40707587
Firmware Version: MVT2300Q
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
TRIM Command: Available
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sat May 24 13:36:13 2025 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x53) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 133) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 3140
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 3439
170 Unused_Rsvd_Blk_Ct_Chip 0x0032 100 100 010 Old_age Always - 0
171 Program_Fail_Count_Chip 0x0032 100 100 010 Old_age Always - 0
172 Erase_Fail_Count_Chip 0x0032 100 100 010 Old_age Always - 0
173 Wear_Leveling_Count 0x0033 096 096 005 Pre-fail Always - 46
174 Unexpect_Power_Loss_Ct 0x0032 099 099 000 Old_age Always - 18
178 Used_Rsvd_Blk_Cnt_Chip 0x0013 100 100 010 Pre-fail Always - 0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 627
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0032 072 049 000 Old_age Always - 28
199 CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
233 Media_Wearout_Indicator 0x0013 096 096 000 Pre-fail Always - 16134088
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 13368
242 Total_LBAs_Read 0x0032 099 099 000 Old_age Always - 32116
249 NAND_Writes_1GiB 0x0032 099 099 000 Old_age Always - 13368
250 SATA_Iface_Downshift 0x0032 099 099 000 Old_age Always - 28036345739
251 NAND_Writes 0x0032 099 099 000 Old_age Always - 28036345739
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
255 0 65535 Read_scanning was never started
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
The above only provides legacy SMART information - try 'smartctl -x' for more
見るべき項目
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 3140
通電時間(3140時間)
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 3439
電源投入回数(3439回)
233 Media_Wearout_Indicator 0x0013 096 096 000 Pre-fail Always - 16134088
寿命判定 96%

systemctl suspend
でサスペンド