如何找到使用 Linux 的筆記型電腦螢幕面板製造商/型號? (三星、LG、奇美等)+型號?
我嘗試在 Ubuntu 中使用此命令“lshw”,但似乎沒有列出該面板。
謝謝。
答案1
使用任何顯示 EDID 資訊的實用程式。尋找此資訊的一個地方是 /var/log/Xorg.0.log
答案2
我的信息沒有顯示在 XOrg.log 中。但我發現我可以從 Linux 核心的 DRM(直接渲染管理器)子組件獲取信息,該子組件在 sysfs 中公開。所以我做了以下事情:
root@dark:~# ls /sys/class/drm/
card0 card0-DP-2 card0-eDP-1 card0-HDMI-A-2 card0-VGA-1 version
card0-DP-1 card0-DP-3 card0-HDMI-A-1 card0-HDMI-A-3 controlD64
您可以透過在此處進行一些探測來找出哪些螢幕處於活動狀態:
root@dark:/sys/class/drm# cat card0-HDMI-A-2/enabled
enabled
root@dark:/sys/class/drm# cat card0-HDMI-A-3/enabled
disabled
然後我從我感興趣的畫面中解析 EDID 訊息,如下所示:
root@dark:/sys/class/drm# cat card0-HDMI-A-1/edid | edid-decode
Extracted contents:
header: 00 ff ff ff ff ff ff 00
serial number: 09 d1 0a 78 45 54 00 00 16 12
version: 01 03
basic params: 80 34 20 78 2e
chroma info: c5 c4 a3 57 4a 9c 23 12 4f 52
established: a5 6b 80
standard: 71 00 81 00 95 00 81 80 b3 00 a9 40 d1 00 01 01
descriptor 1: 28 3c 80 a0 70 b0 23 40 30 20 36 00 07 44 21 00 00 1a
descriptor 2: 00 00 00 ff 00 56 35 38 30 30 34 35 35 5a 4c 30 0a 20
descriptor 3: 00 00 00 fd 00 32 55 1f 5e 11 00 0a 20 20 20 20 20 20
descriptor 4: 00 00 00 fc 00 42 65 6e 51 20 47 32 34 30 30 57 0a 20
extensions: 01
checksum: e5
Manufacturer: BNQ Model 780a Serial Number 21573
Made week 22 of 2008
EDID version: 1.3
Digital display
Maximum image size: 52 cm x 32 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
Default (sRGB) color space is primary color space
First detailed timing is preferred timing
Established timings supported:
720x400@70Hz
640x480@60Hz
640x480@75Hz
800x600@60Hz
800x600@75Hz
832x624@75Hz
1024x768@60Hz
1024x768@75Hz
1280x1024@75Hz
1152x870@75Hz
Standard timings supported:
1152x720@60Hz
1280x800@60Hz
1440x900@60Hz
1280x1024@60Hz
1680x1050@60Hz
1600x1200@60Hz
1920x1200@60Hz
Detailed mode: Clock 154.000 MHz, 519 mm x 324 mm
1920 1968 2000 2080 hborder 0
1200 1203 1209 1235 vborder 0
+hsync -vsync
Serial number: V5800455ZL0
Monitor ranges: 50-85HZ vertical, 31-94kHz horizontal, max dotclock 170MHz
Monitor name: BenQ G2400W
Has 1 extension blocks
Checksum: 0xe5
CEA extension block
Extension version: 3
22 bytes of CEA data
Video data block
VIC 04
VIC 16 (native)
VIC 03
VIC 01
VIC 05 (native)
Vendor-specific data block, OUI 000c03 (HDMI)
Source physical address 1.0.0.0
Speaker allocation data block
Audio data block
Underscans PC formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
1280 1390 1430 1650 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
1920 2008 2052 2200 hborder 0
540 542 547 562 vborder 0
+hsync +vsync interlaced
Detailed mode: Clock 27.000 MHz, 708 mm x 398 mm
720 736 798 858 hborder 0
480 489 495 525 vborder 0
-hsync -vsync
Detailed mode: Clock 148.500 MHz, 708 mm x 398 mm
1920 2008 2052 2200 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync analog composite
Detailed mode: Clock 25.180 MHz, 530 mm x 398 mm
640 648 744 800 hborder 8
480 482 484 525 vborder 8
-hsync -vsync
Checksum: 0x2c
巨大的成功!
答案3
如果可以安裝的話讀取edid,那麼你可以嘗試使用get-edid | parse-edid
.
答案4
這基本上只是總結了對我有用的亞歷山大·托斯特林的答案。它基本上只是一個循環,從所有檢測到的設備獲取資訊(以及從無法探測到的設備獲取錯誤)。它只是更快地為您提供資訊。
在我的 ubuntu 19.10 上,我必須先安裝 edid-decode 套件
sudo apt install edid-decode
然後是循環,列印出設備名稱和資訊:
for i in $(ls /sys/class/drm/); do echo $i; cat /sys/class/drm/$i/edid | edid-decode; done
這應該是對 Alexander Torslings 答案的評論,而不是獨立的評論,但看起來,我還不能發表評論......;-)