You are not logged in.

#1 2020-10-27 19:39:02

Serrg
Member
Registered: 2019-12-21
Posts: 23

libmtp does not respect rules in /etc/udev/rules.d/

I have created rule in

/etc/udev/rules.d

for blocking detection my mobile phone by libmtp, because i want to use gphoto2 instead. I remember that it succesfuly worked over a month ago: it was blocked for libmtp and discovered by gvfs-gphoto2 in my DE.
But now when i connect my phone and use "mtp-detect" libmtp recognize my device.

I have created file "69-libmtp.rules":

#Exclude Pixel_3XL from libmtp in storage mode + debug
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", GOTO="libmtp_rules_end"
LABEL="libmtp_rules_end"

I have also installed adb, and android udev-rules.

lsusb:

Bus 001 Device 010: ID 18d1:4ee2 Google Inc. Nexus/Pixel Device (MTP + debug)

What can i do for blocking my device for libmtp?

Offline

Board footer

Powered by FluxBB