Merge pull request #263 from mskiptr/main

Meizu M6T and miscellaneous improvements
This commit is contained in:
Gianluca Boiano 2023-07-07 11:06:21 +02:00 committed by GitHub
commit 975043da7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 21 deletions

View File

@ -1,12 +1,13 @@
# SPDX-FileCopyrightText: 2022 JoesCat, M0Rf30 and contributors # SPDX-FileCopyrightText: 2012-2023 JoesCat, M0Rf30 and contributors
# # SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0
# Latest version can be found at:
# <https://github.com/M0Rf30/android-udev-rules>
# These rules refer to: # These rules refer to:
# https://developer.android.com/studio/run/device.html # <https://developer.android.com/studio/run/device.html>
# and include many suggestions from Arch Linux, GitHub and other Communities. # and include many suggestions from Arch Linux, GitHub and other Communities.
# Latest version can be found at:
# https://github.com/M0Rf30/android-udev-rules
# Skip testing for android devices if device is not add, or usb # Skip testing for android devices if device is not add, or usb
ACTION!="add", ACTION!="bind", GOTO="android_usb_rules_end" ACTION!="add", ACTION!="bind", GOTO="android_usb_rules_end"
@ -19,6 +20,7 @@ ENV{ID_USB_INTERFACES}=="*:0701??:*", ENV{adb_adb}="yes", GOTO="android_usb_rule
LABEL="android_usb_rules_begin" LABEL="android_usb_rules_begin"
# Devices listed here in android_usb_rules_{begin...end} are connected by USB # Devices listed here in android_usb_rules_{begin...end} are connected by USB
# Acer # Acer
ATTR{idVendor}!="0502", GOTO="not_Acer" ATTR{idVendor}!="0502", GOTO="not_Acer"
# Iconia Tab A1-830 # Iconia Tab A1-830
@ -61,7 +63,6 @@ ATTR{idProduct}=="03cb", ENV{adb_adbfast}="yes"
GOTO="android_usb_rule_match" GOTO="android_usb_rule_match"
LABEL="not_Amazon" LABEL="not_Amazon"
# Archos # Archos
ATTR{idVendor}!="0e79", GOTO="not_Archos" ATTR{idVendor}!="0e79", GOTO="not_Archos"
# 43 # 43
@ -399,6 +400,8 @@ ATTR{idVendor}!="2a45", GOTO="not_Meizu"
ATTR{idProduct}=="0c01", ENV{adb_adb}="yes" ATTR{idProduct}=="0c01", ENV{adb_adb}="yes"
# MX6 # MX6
ATTR{idProduct}=="0c02", ENV{adb_adb}="yes" ATTR{idProduct}=="0c02", ENV{adb_adb}="yes"
# M6T (untested; See <https://github.com/M0Rf30/android-udev-rules/issues/262>
ATTR{idProduct}=="201c", ENV{adb_adb}="yes"
GOTO="android_usb_rule_match" GOTO="android_usb_rule_match"
LABEL="not_Meizu" LABEL="not_Meizu"

View File

@ -56,6 +56,7 @@ adb devices
``` ```
### Using the automtic install script ### Using the automtic install script
1. Clone this repository 1. Clone this repository
2. Run the `install.sh` as root on your terminal 2. Run the `install.sh` as root on your terminal
@ -65,3 +66,6 @@ adb devices
2. Make your edits. 2. Make your edits.
3. TEST THEM! 3. TEST THEM!
4. Create a pull request. 4. Create a pull request.
You may also want to take a look at the
[wiki](https://github.com/M0Rf30/android-udev-rules/wiki).

1
debian/changelog vendored
View File

@ -3,4 +3,3 @@ android-udev-rules (20220102-1) stable; urgency=low
* Latest stable tag. * Latest stable tag.
-- Builder <builder@builder.com> Sun, 02 Jan 2022 19:41:00 +0100 -- Builder <builder@builder.com> Sun, 02 Jan 2022 19:41:00 +0100

2
debian/control vendored
View File

@ -1,5 +1,5 @@
Source: android-udev-rules Source: android-udev-rules
Section: developer-tools Section: devel
Priority: extra Priority: extra
Maintainer: Simon Sickle <simon@simonsickle.com> Maintainer: Simon Sickle <simon@simonsickle.com>
Build-Depends: debhelper (>= 9) Build-Depends: debhelper (>= 9)

1
debian/copyright vendored
View File

@ -20,4 +20,3 @@ License: GPL-3+
. .
On Debian systems, the complete text of the GNU General On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

View File

@ -2,7 +2,7 @@ Name: android-udev-rules
Version: 20230310 Version: 20230310
Release: 1%{?dist} Release: 1%{?dist}
Summary: Udev rules to connect Android devices to your linux box Summary: Udev rules to connect Android devices to your linux box
License: GPLv3+ License: GPL-3.0-or-later
URL: https://github.com/M0Rf30/android-udev-rules URL: https://github.com/M0Rf30/android-udev-rules
Source0: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/main/51-android.rules Source0: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/main/51-android.rules
Source1: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/main/README.md Source1: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/main/README.md
@ -55,4 +55,3 @@ systemctl restart systemd-udevd.service
* Sun Jan 02 2022 Håkon Løvdal <kode@denkule.no> - 20220102-1 * Sun Jan 02 2022 Håkon Løvdal <kode@denkule.no> - 20220102-1
- Latest stable tag. - Latest stable tag.