Skip to content

Commit

Permalink
chore: add OnePlus 8T PTP and MTP support (close #240) (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 authored Dec 10, 2022
1 parent 0701277 commit fbe0e0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 51-android.rules
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ ATTR{idProduct}=="9015", ENV{adb_adb}="yes"
ATTR{idProduct}=="9039", ENV{adb_adb}="yes"
ATTR{idProduct}=="904e", ENV{adb_adb}="yes"
ATTR{idProduct}=="90dc", ENV{adb_adb}="yes"
ATTR{idProduct}=="90bb", ENV{adb_adb}="yes", ENV{midi_user}="yes"
GOTO="android_usb_rule_match"
LABEL="not_Fairphone2"

Expand Down Expand Up @@ -486,6 +485,9 @@ ATTR{idProduct}=="2024", ENV{adb_user}="yes"
ATTR{idProduct}=="200e", ENV{adb_user}="yes"
ATTR{idProduct}=="2028", ENV{adb_user}="yes"
ATTR{idProduct}=="2026", ENV{adb_user}="yes"
# OnePlus 8T (22d9:2771=adb,PTP, 22d9:2772=adb,MTP)
ATTR{idProduct}=="2771", ENV{adb_adb}="yes"
ATTR{idProduct}=="2772", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
GOTO="android_usb_rule_match"
LABEL="not_Oppo"

Expand Down

0 comments on commit fbe0e0c

Please sign in to comment.