Udev rules for a problematic device
Posted: Sat Jul 01, 2017 6:33 am
Hi. I have a Yotaphone 2 and I can't achieve connect it in MTP mode. Just can connect it correctly in PTP mode, even with adb I just can play with it in PTP mode, because in MTP mode only shows ?????? in the device list. So I am trying with udev rules. First I tried, taking que ID vendor and ID product for matching, this :
ANy idea? I tried in 2 different linux.
Thanks
Then someone pass me this link : https://github.com/M0Rf30/android-udev- ... roid.rules ,And from it take the info and writed a new udev rule like this :ATTR(vendor)=="2916" , ATTR(product)=="9139" , NAME="Yota" , SYMLINK+="Yota"
But no one worked. I savedthe file in /etc/udev/rules.d/10-local.rules. In /proc/partitions appears nothing about it, nor in fdisk -lATTR{idVendor}!="2916", GOTO="not_Yota" , ENV{adb_user}="yes" , ATTR{idProduct}=="9139", SYMLINK+="android_adb" , GOTO="android_usb_rule_match" , LABEL="not_Yota"
ANy idea? I tried in 2 different linux.
Thanks