您如何找到使用Linux的笔记本电脑屏幕面板制造商/型号?(三星,LG,奇美等)


15

您如何找到使用Linux的笔记本电脑屏幕面板制造商/型号?(三星,LG,奇美等)+型号?

我曾尝试在Ubuntu中使用此命令“ lshw”,但似乎没有列出该面板。

谢谢。

Answers:


9

使用任何显示EDID信息的实用程序。查找此信息的一个地方是/var/log/Xorg.0.log


谢谢fpmurphy,该日志文件确实在其中引用了面板。有趣的是,一个名为HWINFO64的Windows程序似乎提供了有关监视器“ AU Optronics [型号]等”的详细说明,但Linux Xorg.0.log文件中包含“ AUO”。我希望我能找到与Linux的HWINFO64类似的程序。.仍将您的回答标记为已接受,因为我至少可以将其用作线索,并且它确实表明了品牌。谢谢!
Mikeweb49 2013年

20

我的信息未显示在XOrg.log中。但是我发现可以从sysfs中公开的Linux内核的DRM(直接渲染管理器)子组件中获取信息。所以我做了以下事情:

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.18.12内核进行尝试感到失望,并且无法在/ sys / class / drm /内找到任何edid节点。我认为自2013
。–突变Bob

@MutantBob:我只在3.11上,所以我无法确认您的问题。但是我仍然有drm子目录,并且一些谷歌搜索建议它仍然应该存在。您的内核是否装有DRM模块,并且您有支持它的图形卡驱动程序?unix.stackexchange.com/questions/7622/edid-information还建议尝试使用“ xrandr --verbose”,也许它可以哄骗信息?
亚历山大·托斯汀


2

用于read-edid在Ubuntu 14.04上获取此信息。

$ sudo apt-get install read-edid
$ sudo get-edid | parse-edid
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
3 potential busses found: 6 7 8
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
256-byte EDID successfully retrieved from i2c bus 6
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
    Identifier "�
                     @"
    ModelName "�
                    @"
    VendorName "LGD"
    # Monitor Manufactured week 0 of 2014
    # EDID version 1.4
    # Digital Display
    DisplaySize 310 170
    Gamma 2.20
    Option "DPMS" "true"
    Modeline    "Mode 0" 138.70 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync 
    Modeline    "Mode 1" 110.90 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync 
EndSection
$ 

在/ sys / class / drm / card0周围拨动似乎是一个简单的选择。

cd /sys/class/drm/card0
$ for n in `find . -name edid` ; do cat $n | parse-edid 2>/dev/null; done
Section "Monitor"
    Identifier "�
                     @"
    ModelName "�
                    @"
    VendorName "LGD"
    # Monitor Manufactured week 0 of 2014
    # EDID version 1.4
    # Digital Display
    DisplaySize 310 170
    Gamma 2.20
    Option "DPMS" "true"
    Modeline    "Mode 0" 138.70 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync 
    Modeline    "Mode 1" 110.90 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync 
EndSection
Section "Monitor"
    Identifier "VX2250 SERIES"
    ModelName "VX2250 SERIES"
    VendorName "VSC"
    # Monitor Manufactured week 40 of 2010
    # EDID version 1.3
    # Analog Display
    Option "SyncOnGreen" "true"
    DisplaySize 480 270
    Gamma 2.20
    Option "DPMS" "true"
    Horizsync 24-82
    VertRefresh 50-75
    # Maximum pixel clock is 210MHz
    #Not giving standard mode: 1680x1050, 60Hz
    #Not giving standard mode: 1600x1200, 60Hz
    #Not giving standard mode: 1600x900, 60Hz
    #Not giving standard mode: 1440x900, 60Hz
    #Not giving standard mode: 1400x1050, 60Hz
    #Not giving standard mode: 1280x1024, 60Hz
    #Not giving standard mode: 1280x800, 60Hz
    #Not giving standard mode: 1152x864, 75Hz
    Modeline    "Mode 0" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
EndSection
$

1

我在Linux Mint 18.1上发现了两个提供不同结果的工具。首先,我尝试了read-edid:

rich@laptop ~ $ sudo apt install read-edid

有了这个,我得到了以下信息,但是没有找到型号:

rich@laptop ~ $ sudo get-edid | parse-edid
    This is read-edid version 3.0.2. Prepare for some fun.
    Attempting to use i2c interface
    No EDID on bus 0
    No EDID on bus 1
    No EDID on bus 3
    No EDID on bus 4
    No EDID on bus 5
    1 potential busses found: 2
    128-byte EDID successfully retrieved from i2c bus 2
    Looks like i2c was successful. Have a good day.
    Checksum Correct

    Section "Monitor"
        Identifier " 
                         @"
        ModelName " 
                        @"
        VendorName "LGD"
        # Monitor Manufactured week 0 of 2010
        # EDID version 1.3
        # Digital Display
        DisplaySize 380 220
        Gamma 2.20
        Option "DPMS" "false"
        Modeline    "Mode 0" 149.80 1920 1984 2080 2276 1080 1082 1085 1097 -hsync -vsync 
    EndSection

因此,我尝试了另一种工具来解析EDID:

rich@laptop ~ $ sudo apt install edid-decode

这似乎提供了有关面板模型的更多信息:

rich@laptop ~ $ sudo get-edid | edid-decode
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
1 potential busses found: 2
128-byte EDID successfully retrieved from i2c bus 2
Looks like i2c was successful. Have a good day.
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 e4 83 02 00 00 00 00 00 14
version:         01 03
basic params:    90 26 16 78 0a
chroma info:     f1 95 a3 55 52 a1 26 0f 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    84 3a 80 64 71 38 11 40 40 60 23 00 7f d7 10 00 00 19
descriptor 2:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 3:    00 00 00 fe 00 4c 47 20 44 69 73 70 6c 61 79 0a 20 20
descriptor 4:    00 00 00 fe 00 4c 50 31 37 33 57 46 31 2d 54 4c 42 32
extensions:      00
checksum:        ba

Manufacturer: LGD Model 283 Serial Number 0
Made week 0 of 2010
EDID version: 1.3
Digital display
Maximum image size: 38 cm x 22 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 149.800 MHz, 383 mm x 215 mm
               1920 1984 2080 2276 hborder 0
               1080 1082 1085 1097 vborder 0
               -hsync -vsync 
Manufacturer-specified data, tag 0
ASCII string: LG
ASCII string: LP173WF1
Checksum: 0xba (valid)
EDID block does NOT conform to EDID 1.3!
    Digital display field contains garbage: 10
    Missing name descriptor
    Missing monitor ranges
    Detailed block string not properly terminated

0

在Fedora Core上,您可以安装monitor-edidread-edid软件包似乎仅适用于Ubuntu-建议在此添加Fedora信息,因为该论坛不是askubuntu,而是superuser)。

它输出EISA ID,您可以在Internet上找到供应商和设备信息。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.