fusioninventory / FusionInventory

Open and follow issues about the project (agent, plugin for GSIT, website and documentation)
1 stars 0 forks source link

Wrong serial number in Monitors #45

Open kofe88 opened 3 years ago

kofe88 commented 3 years ago

Hello. For many Acer monitors, the serial number falls into Allserial, and the Serial gets an alternative serial number as I understand it. This results in a very large number of monitors with the same serial number, and automatic inventory does not work. Sample code from the agent logs below:

Acer V193 First monitor:

<MONITORS>
<ALTSERIAL>LDQ0C0419190064d4040</ALTSERIAL>
<BASE64>AP///////wAEckwATQaQkRMTAQMIJh546prlplhJmSMRUFS/74BxTwEBAQEBAQEBAQEBAQEBMCoAmFEAKkAwcBMAeC0RAAAeAAAA/QA4Sx5TDgAKICAgICAgAAAA/wBMRFEwQzA0MTQwNDAKAAAA/ABWMTkzCiAgICAgICAgABU=</BASE64>
<CAPTION>V193</CAPTION>
<DESCRIPTION>19/2009</DESCRIPTION>
<MANUFACTURER>Acer Technologies</MANUFACTURER>
<NAME>Generic PnP Monitor</NAME>
<PORT>VGA</PORT>
<SERIAL>LDQ0C0414040</SERIAL>
<TYPE>Generic PnP Monitor</TYPE>
</MONITORS>

Second monitor:

<MONITORS>
      <ALTSERIAL>LDQ0C041921088f54040</ALTSERIAL>
      <BASE64>AP///////wAEckwA9YgQkhUTAQMIJh546prlplhJmSMRUFS/74BxTwEBAQEBAQEBAQEBAQEBMCoAmFEAKkAwcBMAeC0RAAAeAAAA/QA4Sx5TDgAKICAgICAgAAAA/wBMRFEwQzA0MTQwNDAKAAAA/ABWMTkzCiAgICAgICAgAGg=</BASE64>
      <CAPTION>V193</CAPTION>
      <DESCRIPTION>21/2009</DESCRIPTION>
      <MANUFACTURER>Acer Technologies</MANUFACTURER>
      <NAME>Универсальный монитор PnP</NAME>
      <PORT>VGA</PORT>
      <SERIAL>LDQ0C0414040</SERIAL>
      <TYPE>Универсальный монитор PnP</TYPE>
    </MONITORS>

third monitor:

<MONITORS>
      <ALTSERIAL>LDQ0C041921089304040</ALTSERIAL>
      <BASE64>AP///////wAEckwAMIkQkhUTAQMIJh546prlplhJmSMRUFS/74BxTwEBAQEBAQEBAQEBAQEBMCoAmFEAKkAwcBMAeC0RAAAeAAAA/QA4Sx5TDgAKICAgICAgAAAA/wBMRFEwQzA0MTQwNDAKAAAA/ABWMTkzCiAgICAgICAgACw=</BASE64>
      <CAPTION>V193</CAPTION>
      <DESCRIPTION>21/2009</DESCRIPTION>
      <MANUFACTURER>Acer Technologies</MANUFACTURER>
      <NAME>Универсальный монитор PnP</NAME>
      <PORT>VGA</PORT>
      <SERIAL>LDQ0C0414040</SERIAL>
      <TYPE>Универсальный монитор PnP</TYPE>
    </MONITORS>

Acer K242HQL

    <MONITORS>
      <ALTSERIAL>T2JEE0140160e81f4223</ALTSERIAL>
      <BASE64>AP///////wAEci4EH+hgARAeAQOANB14KgvVoldQoSgPUFS/7wDRwIGAgcCBQJUAswABAQEBAjqAGHE4LUBYLEUACSUhAAAeAAAA/QAyTB5TEQAKICAgICAgAAAA/wBUMkpFRTAxNDQyMjMKAAAA/ABBY2VyIEsyNDJIUUwKAAs=</BASE64>
      <CAPTION>Acer K242HQL</CAPTION>
      <DESCRIPTION>16/2020</DESCRIPTION>
      <MANUFACTURER>Acer Technologies</MANUFACTURER>
      <PORT>DVI</PORT>
      <SERIAL>T2JEE0144223</SERIAL>
    </MONITORS>

Acer sa240y

   <MONITORS>
      <ALTSERIAL>T92EE006034013032460</ALTSERIAL>
      <BASE64>AP///////wAEcn8FAxNAAyIeAQSlNR545gVlp1ZSnCcPUFSzDABxT4GAgcCBAJUAswDRwAEBAjqAGHE4LUBYLEUADyghAAAeAAAA/QA4Sx9LEgAKICAgICAgAAAA/ABTQTI0MFkKICAgICAgAAAA/wBUOTJFRTAwNjI0NjAKAOA=</BASE64>
      <CAPTION>SA240Y</CAPTION>
      <DESCRIPTION>34/2020</DESCRIPTION>
      <MANUFACTURER>Acer Technologies</MANUFACTURER>
      <NAME>Generic PnP Monitor</NAME>
      <PORT>DisplayPort</PORT>
      <SERIAL>T92EE0062460</SERIAL>
      <TYPE>Generic PnP Monitor</TYPE>
    </MONITORS>

and e.t.c. image

Monitors: Acer V193 esia_id: 004c Acer K242HQL esia_id: 042e Acer V246HQL esia_id: 0424 Acer sa240y esia_id: 057F Acer V226HQL esia_id: 032d Acer ET221Q esia_id: 056b FusionInventory agent 2.6 same issue as https://github.com/fusioninventory/fusioninventory-agent/issues/829 @g-bougard need help =)

kofe88 commented 3 years ago

@g-bougard , Hi! Can you help us?

RogueSnipa commented 3 years ago

@kofe88 Check fusioninventory/fusioninventory-agent#892.

kofe88 commented 3 years ago

@kofe88 Check fusioninventory/fusioninventory-agent#892.

Hi, yes, i check, same problem, but different monitor models.

g-bougard commented 2 years ago

Hi @kofe88 I implemented your request in glpi-agent. You will be able to test it with next nightly. You can also wait for next fusioninventory-agent release if @ddurieux decides to backport it.

FloJ12 commented 2 years ago

Same issue here: `

LXVEE0018030951c8511 AP///////wAEcjoDHJUwgAMcAQNoLx54ypJlplVVnygNUFS/74BxT4FAgYCBwIEAlQABAQEBJjmQMGIaJ0BosDYA2igRAAAcAAAA/QA3TB5QEQAKICAgICAgAAAA/ABCMjI2V0wKICAgICAgAAAA/wBMWFZFRTAwMTg1MTEKAJQ=
  <CAPTION>B226WL</CAPTION>
  <DESCRIPTION>3/2018</DESCRIPTION>
  <MANUFACTURER>Acer Technologies</MANUFACTURER>
  <NAME>Generic PnP Monitor</NAME>
  <PORT>VGA</PORT>
  <SERIAL>LXVEE0018511</SERIAL>
  <TYPE>Generic PnP Monitor</TYPE>
</MONITORS>

`

ALTSERIAL is the right serial number!