簡體   English   中英

Windows USB 大容量存儲 - Garmin Alpha 200i 安裝為“設備”而不是“驅動器”

[英]Windows USB mass storage - Garmin Alpha 200i mounted as a 'Device' but not a 'Drive'

我們有一個 python 程序,它掃描已安裝的驅動器號(或 Linux 的卷)以查找指示 Garmin 手持設備 GPS 的某個文件。 But, the Garmin Alpha 200i is mounted by windows as a 'Device' and not as a 'Drive', and therefore it has no drive letter and you can't get to it from Windows batch or Powershell in the standard C:/Folder符號。

我們如何 go 從 python(或批處理或 PowerShell)訪問“設備”上的文件?

在此處輸入圖像描述

它絕對是一個大容量存儲設備,並且有一個目錄結構——只是不知道如何以編程方式訪問它:

在此處輸入圖像描述

在此處輸入圖像描述

認為這是 Windows 或 python 問題,而不是 Garmin 問題。 這是我們遇到的第一款安裝為“設備”而非“驅動器”的 Garmin 手持設備 GPS model。

Garmin 手冊說手持設備應該被識別為一個或兩個可移動驅動器,但事實並非如此。 早期的 GPS 型號確實安裝為兩個驅動器 - 一個用於手持設備的內部存儲,另一個用於其 memory 卡(如果有)。

現代設備使用媒體傳輸協議 (MTP)而不是 USB 大容量存儲。

然而,這個協議是故意緊張的,並且不能提供驅動器號。

您可以嘗試 LibMTP 的Python包裝器之一。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM