From ec2d2c7b5523fcb35b07d93d6a7c31a4a3f397f8 Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Tue, 22 Aug 2023 22:34:10 -0700 Subject: [PATCH] Add/edit Samsung Core Enter values as per core phone. Seeing device hunter webpage, changed false positives to ony pass 6??? --- 51-android.rules | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/51-android.rules b/51-android.rules index 544b03b..9e574ba 100644 --- a/51-android.rules +++ b/51-android.rules @@ -613,8 +613,8 @@ LABEL="not_RIM" # Samsung ATTR{idVendor}!="04e8", GOTO="not_Samsung" -# False positive printer -ATTR{idProduct}=="3???", GOTO="android_usb_rules_end" +# False positive printer and other devices +ATTR{idProduct}!="6???", GOTO="android_usb_rules_end" # Galaxy i5700 ATTR{idProduct}=="681c", GOTO="adbfast" # Galaxy i5800 (681c=debug,6601=fastboot,68a0=mediaplayer) @@ -632,13 +632,12 @@ ATTR{idProduct}=="689e", GOTO="adbfast" # Galaxy Tab ATTR{idProduct}=="6877", GOTO="adbfast" # Galaxy Nexus (GSM) (6860=mtp,adb 6864=rndis,adb 6866=ptp,adb) -ATTR{idProduct}=="6860", SYMLINK+="android_adb" -ATTR{idProduct}=="6864", SYMLINK+="android_adb" -ATTR{idProduct}=="6866", SYMLINK+="android_adb" +# Galaxy Core ([6860=mtp+6860=mtp,adb] 6863=tether 6864=tether,adb 6865=ptp 6866=ptp,adb) +ATTR{idProduct}=="6860", SYMLINK+="android_adb", GOTO="mtp" +ATTR{idProduct}=="6864", GOTO="adbrndis" +ATTR{idProduct}=="6866", GOTO="adbptp" # Galaxy Core, Tab 10.1, i9100 S2, i9300 S3, N5100 Note (8.0), Galaxy S3 SHW-M440S 3G (Korea only) ATTR{idProduct}=="685e", GOTO="adbfast" -# Galaxy i9300 S3 -ATTR{idProduct}=="6866", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" # Galaxy S4 GT-I9500 ATTR{idProduct}=="685d", SYMLINK+="android_adb" ENV{adb_user}="yes"