Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
deepin-devicemanager (6.0.25) unstable; urgency=medium

* new version 6.0.25.

-- shuaijie <shuaijie@uniontech.com> Sun, 07 Apr 2024 10:19:06 +0800

deepin-devicemanager (6.0.24) unstable; urgency=medium

* Update tag to 6.0.24.

-- lvwujun <lvwujun@uniontech.com> Thur, 28 Mar 2024 17:03:34 +0800
-- lvwujun <lvwujun@uniontech.com> Thu, 28 Mar 2024 17:03:34 +0800

deepin-devicemanager (6.0.23) unstable; urgency=medium

* new version 6.0.23

-- shuaijie <shuaijie@uniontech.com> Thu, 13 Mar 2024 14:50:06 +0800
-- shuaijie <shuaijie@uniontech.com> Wed, 13 Mar 2024 14:50:06 +0800

deepin-devicemanager (6.0.22) unstable; urgency=medium

Expand Down
13 changes: 12 additions & 1 deletion deepin-devicemanager/src/commonfunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@ static bool isModeW525(void)
return ret;
}

static QString readDmidecode11_String4(void)
{
QProcess process;
process.start("bash", QStringList() << "-c" << "dmidecode -t 11 | grep -i \"String 4\"");
process.waitForStarted();
process.waitForFinished();
QString ret = process.readAll();
process.close();
return ret;
}

QString Common::checkBoardVendorFlag()
{
if(specialComType != -1){
Expand Down Expand Up @@ -134,7 +145,7 @@ QString Common::checkBoardVendorFlag()
boardVendorKey = "PGUV";
} else if (info.contains("PGUW", Qt::CaseInsensitive)) {
boardVendorKey = "PGUW";
} else if (info.contains("PGUX", Qt::CaseInsensitive)) { // /HUAWEI QingYun WXXX PGUX-L5651
} else if (readDmidecode11_String4().contains("PGUX", Qt::CaseInsensitive)) {
boardVendorKey = "PGUX";
}
process.close();
Expand Down