diff options
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/base/autodetection.cpp | 3 | ||||
-rw-r--r-- | rbutil/rbutilqt/configure.cpp | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.cpp b/rbutil/rbutilqt/base/autodetection.cpp index 09cfac5767..8e91dc32b1 100644 --- a/rbutil/rbutilqt/base/autodetection.cpp +++ b/rbutil/rbutilqt/base/autodetection.cpp | |||
@@ -175,6 +175,9 @@ bool Autodetection::detect() | |||
175 | n = ipod_scan(&ipod); | 175 | n = ipod_scan(&ipod); |
176 | if(n == 1) { | 176 | if(n == 1) { |
177 | qDebug() << "[Autodetect] Ipod found:" << ipod.modelstr << "at" << ipod.diskname; | 177 | qDebug() << "[Autodetect] Ipod found:" << ipod.modelstr << "at" << ipod.diskname; |
178 | // if the found ipod is a macpod also notice it as device with problem. | ||
179 | if(ipod.macpod) | ||
180 | m_errdev = ipod.targetname; | ||
178 | m_device = ipod.targetname; | 181 | m_device = ipod.targetname; |
179 | m_mountpoint = resolveMountPoint(ipod.diskname); | 182 | m_mountpoint = resolveMountPoint(ipod.diskname); |
180 | return true; | 183 | return true; |
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp index 2e2f2e3531..7507833297 100644 --- a/rbutil/rbutilqt/configure.cpp +++ b/rbutil/rbutilqt/configure.cpp | |||
@@ -616,6 +616,12 @@ void Config::autodetect() | |||
616 | if(detector.errdev() == "h10") | 616 | if(detector.errdev() == "h10") |
617 | text = tr("H10 20GB in MTP mode found!\n" | 617 | text = tr("H10 20GB in MTP mode found!\n" |
618 | "You need to change your player to UMS mode for installation. "); | 618 | "You need to change your player to UMS mode for installation. "); |
619 | if(SystemInfo::platformValue(detector.errdev(), | ||
620 | SystemInfo::CurBootloaderMethod) == "ipod") | ||
621 | text = tr("%1 \"MacPod\" found!\n" | ||
622 | "Rockbox needs a FAT formatted Ipod (so-called \"WinPod\") " | ||
623 | "to run. ").arg(SystemInfo::platformValue( | ||
624 | detector.errdev(), SystemInfo::CurName).toString()); | ||
619 | text += tr("Unless you changed this installation will fail!"); | 625 | text += tr("Unless you changed this installation will fail!"); |
620 | 626 | ||
621 | QMessageBox::critical(this, tr("Fatal error"), text, QMessageBox::Ok); | 627 | QMessageBox::critical(this, tr("Fatal error"), text, QMessageBox::Ok); |