rschmaling / hpex49xled-LINUX

HP EX49x LED Monitor Daemon.
GNU General Public License v3.0
0 stars 0 forks source link

"Acer_____________" not "Acer" #1

Open rth630 opened 2 years ago

rth630 commented 2 years ago

The systemVendorstring is "Acer__" not "Acer" and the productName is "Altos easyStore M2___" for Acer Altos. "" is a space.

rschmaling commented 2 years ago

I replaced strcmp() with strncmp(). For Acer, compare the first 4 characters, for 'Altos easyStore M2" compare the first 18. Let me know if this solves your issue. I confirmed it works for HP.