glpi-agent icon indicating copy to clipboard operation
glpi-agent copied to clipboard

Les numéros de serie des écrans Samsung ne sont pas ou mal remonter par l'agent

Open kevinvasseurnovatlas opened this issue 11 months ago • 3 comments

Bug reporting acknowledgment

Yes, I read it

Professional support

Yes, I know

Describe the bug

Bonjour,

Sur certains écrans Samsung le numéro de série remonté par l'agent GLPI n'est pas le bon.

Exemple avec des câbles Display ou des docking cela fonctionne, certains écrans ne sont pas remonté du tout car pas de numéro de série détecté d’après l'agent.

Ci-dessous différent exemple avec 3 modèls d'écrans différents :

Pas de numéro de série et numéro altserial faux, branchement HDMI

        {
          "altserial": "5a5a4841",
            "base64": "AP\/\/\/\/\/\/\/wBMLaMMQUhaWgcbAQOANR54Kp\/xpVVQniYQUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUAEyshAAAeAR0AclHQHiBuKFUAEyshAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRFNDUwCiAgICAgAcc=",
            "caption": "S24E450",
            "description": "7\/2017",
            "manufacturer": "Samsung Electric Company",
            "serial": ""
        },

Numéro de serie erronée en branchement HDMI

        {
            "base64": "AP\/\/\/\/\/\/\/wBMLbgMTUdaWiobAQOANB14Kn3RpFZQoSgPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUACSUhAAAeAR0AclHQHiBuKFUACSUhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRFNjUwCiAgICAgAeICAxrxRpAEHxMSAyMJBweDAQAAZgMMABAAgAEdALxS0B4guChVQAklIQAAHowK0JAgQDEgDEBVAAklIQAAGIwK0Iog4C0QED6WAAklIQAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyQ==",
            "caption": "S24E650",
            "description": "42\/2017",
            "manufacturer": "Samsung Electric Company",
            "serial": "5a5a474d"
        },

Numéro de serie et remonté OK avec un cable USB vers Display sur l'écran

        {
            "altserial": "MGZZH4ZJA03772",
            "base64": "AP\/\/\/\/\/\/\/wBMLbcMWlpHTSobAQSlNB14Io7hpFdQoSgPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUACSUhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRFNjUwCiAgICAgAAAA\/wBINFpKQTAzNzcyCiAgAT0CAw7BQZAjCQcHgwEAAAI6gBhxOC1AWCxFAAklIQAAHgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfQ==",
            "caption": "S24E650",
            "description": "42\/2017",
            "manufacturer": "Samsung Electric Company",
            "serial": "H4ZJA03772"
        },

Numéro de série erronée HDMI

        {
            "base64": "AP\/\/\/\/\/\/\/wBMLUwKNTMzMAkYAQOANB14Kn3RpFZQoSgPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUACSUhAAAeAR0AclHQHiBuKFUACSUhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRDNTUwCiAgICAgAfQCAxrxRpAEHxMSAyMJBweDAQAAZgMMABAAgAEdALxS0B4guChVQAklIQAAHowK0JAgQDEgDEBVAAklIQAAGIwK0Iog4C0QED6WAAklIQAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyQ==",
            "caption": "S24C550",
            "description": "9\/2014",
            "manufacturer": "Samsung Electric Company",
            "serial": "30333335"
        }

Numéro de série erronée en HDMI

        {
            "base64": "AP\/\/\/\/\/\/\/wBMLdwINDYxMCkWAQOAPCJ4KvgxpFZPnScPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUAVlAhAAAeAR0AclHQHiBuKFUAVlAhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjdCMzUwCiAgICAgAXYCAxGxRpAEHxMDEmUDDAAQAAEdALxS0B4guChVQFZQIQAAHowK0JAgQDEgDEBVAFZQIQAAGIwK0Iog4C0QED6WAFZQIQAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6Q==",
            "caption": "S27B350",
            "description": "41\/2012",
            "manufacturer": "Samsung Electric Company",
            "serial": "30313634"
        },

N’hésitez pas à revenir vers moi pour plus d'informations.

To reproduce

A chaque inventaire automatique ou manuel les numéros de serie de certains écrans ne remonte pas.

Expected behavior

Obtenir les bon numéros de série avec tout type de branchement

Operating system

Windows

GLPI Agent version

1.7.1

GLPI version

10.0.13

GLPIInventory plugin or other plugin version

GLPI Inventory v1.3.5

Additional context

No response

kevinvasseurnovatlas avatar Mar 14 '24 16:03 kevinvasseurnovatlas

Hi @kevinvasseurnovatlas

please use english to have a larger audience.

I think you have the same symptom than for this Philips manufacturer case #641: The EDID block is simply wrong when a monitor is connected via HDMI. This is a recurrent problem with few manufacturers.

This is definitively a manufacturer problem and we can't do anything unless the manufacturer provides a way to find their monitor serialnumber when the monitor is connected via hdmi.

In Samsung case, this seems to be even worth than for Philips one as the serial part is even generic and is probably shared with all same models.

g-bougard avatar Apr 12 '24 16:04 g-bougard

Good morning,

Previously with Fusion Inventory we didn't have this problem, that's what's surprising.

kevinvasseurnovatlas avatar Apr 25 '24 08:04 kevinvasseurnovatlas

Hi @kevinvasseurnovatlas

are you able to provide the <MONITORS></MONITORS> XML nodes of any FI Agent version with the expected serial number ?

For your information, you can install FI Agent at the same time than GLPI Agent. You should just use the "manual" mode to avoid any conflict on use httpd-port and so it won't run as a service. Then you can run from as administrative console and prom the FI Agent folder the following command to generate an inventory.xml file under its installation folder: fusioninventory-inventory >inventory.xml

To be honest, You may think it worked before but the monitor was in one of the following context:

  • not connected via HDMI
  • this is another Samsung model without that EDID bloc problem when connected via HDMI
  • maybe serialnumber was fixed and locked manually in GLPI and you has a GLPI rule to not import Samsung monitors
  • maybe a bug in windows broke the EDID block recovery when connected via HDMI since then (but why only on Samsung ?)
  • last but not least, you were aware of the EDID_OVERRIDE trick I implemented few years ago in FI Agent for a client and still available in GLPI-Agent which permits to provide to the Windows OS a fixed edid block with the right serialnumber. The problem of this trick is it only fixes the problem on the system where the EDID_OVERRIDE registry key has been set.

g-bougard avatar May 06 '24 15:05 g-bougard