You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going by the code of this function, aft-mtp-mount should support filtering devices by "vendor:product".
Example: aft-mtp-mount -D 0e8d:2008 /tmp/mtp
It is a very useful feature for other script and apps.
But to do so, the following line if (device && device->Matches(filter))
should be changed to if (device && ((vendor >= 0 && product >= 0) || device->Matches(filter)))
The text was updated successfully, but these errors were encountered:
Going by the code of this function, aft-mtp-mount should support filtering devices by "vendor:product".
Example:
aft-mtp-mount -D 0e8d:2008 /tmp/mtp
It is a very useful feature for other script and apps.
But to do so, the following line
if (device && device->Matches(filter))
should be changed to
if (device && ((vendor >= 0 && product >= 0) || device->Matches(filter)))
The text was updated successfully, but these errors were encountered: