Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package android-udev-rules for openSUSE:Factory checked in at 2023-06-20 16:48:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/android-udev-rules (Old) and /work/SRC/openSUSE:Factory/.android-udev-rules.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "android-udev-rules" Tue Jun 20 16:48:24 2023 rev:14 rq:1093794 version:20230614 Changes: -------- --- /work/SRC/openSUSE:Factory/android-udev-rules/android-udev-rules.changes 2023-03-05 20:08:10.940755602 +0100 +++ /work/SRC/openSUSE:Factory/.android-udev-rules.new.15902/android-udev-rules.changes 2023-06-20 16:48:34.375438792 +0200 @@ -1,0 +2,9 @@ +Thu Jun 15 08:14:53 UTC 2023 - mun...@googlemail.com + +- Update to version 20230614 + * Add support for OnePlus Nord N10 4G in USB tethering mode (#258) + * Add Kindle Fire 10, Anbernic RG353P, Pinephone (#257) + * Add Amazon Fire 7 tablet (#260) + * Add Pixel 7/Pixel 7 Pro to working Tensor Pixel devices. (#255) + +------------------------------------------------------------------- Old: ---- android-udev-rules-20230303.tar.gz New: ---- android-udev-rules-20230614.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ android-udev-rules.spec ++++++ --- /var/tmp/diff_new_pack.TDidfs/_old 2023-06-20 16:48:34.991442494 +0200 +++ /var/tmp/diff_new_pack.TDidfs/_new 2023-06-20 16:48:34.995442518 +0200 @@ -17,7 +17,7 @@ Name: android-udev-rules -Version: 20230303 +Version: 20230614 Release: 0 Summary: Android udev rules list aimed to be the most comprehensive on the net License: GPL-3.0-or-later ++++++ android-udev-rules-20230303.tar.gz -> android-udev-rules-20230614.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/android-udev-rules-20230303/51-android.rules new/android-udev-rules-20230614/51-android.rules --- old/android-udev-rules-20230303/51-android.rules 2023-03-03 11:13:54.000000000 +0100 +++ new/android-udev-rules-20230614/51-android.rules 2023-05-26 22:40:28.000000000 +0200 @@ -41,10 +41,25 @@ ATTR{idVendor}=="0a5c", ATTR{idProduct}=="e681", ENV{adb_adb}="yes" # Amazon Lab126 +ATTR{idVendor}!="1949", GOTO="not_Amazon" # Amazon Kindle Fire -ATTR{idVendor}=="1949", ATTR{idProduct}=="0006", ENV{adb_adbfast}="yes" +ATTR{idProduct}=="0006", ENV{adb_adbfast}="yes" +# Amazon Kindle 8 2016 (giza) (0bb4:0c01=fastboot 0231=mtp 0232=adb,mtp 0233=ptp 0234=adb,ptp) +ATTR{idProduct}=="0232", ENV{adb_adbmtp}="yes" +ATTR{idProduct}=="0234", ENV{adb_adbptp}="yes" +# Amazon Kindle 10 2021 (trona) (05e0=fastboot 05e1=mtp 05e1=chg 05e2=adb,mtp 05e3=ptp 05e4=adb,ptp 05e8=adb,chg=05e8 2046=midi 2048=adb,midi) +ATTR{idProduct}=="05e0", ENV{adb_adbfast}="yes" +ATTR{idProduct}=="05e2", ENV{adb_adbmtp}="yes" +ATTR{idProduct}=="05e4", ENV{adb_adbptp}="yes" +ATTR{idProduct}=="05e8", ENV{adb_adb}="yes" +ATTR{idProduct}=="2048", ENV{adb_adbmidi}="yes" # Amazon Fire TV Stick Lite (3rd gen) -ATTR{idVendor}=="1949", ATTR{idProduct}=="03a8", ENV{adb_adbfast}="yes" +ATTR{idProduct}=="03a8", ENV{adb_adbfast}="yes" +# Amazone Fire 7 (mustang) +ATTR{idProduct}=="03c8", ENV{adb_adbfast}="yes" +ATTR{idProduct}=="03cb", ENV{adb_adbfast}="yes" +GOTO="android_usb_rule_match" +LABEL="not_Amazon" # Archos @@ -140,9 +155,17 @@ # Fuzhou Rockchip Electronics # Mediacom Smartpad 715i -ATTR{idVendor}=="2207", ATTR{idProduct}=="0000", ENV{adb_adb}="yes" +ATTR{idVendor}!="2207", GOTO="not_Fuzhou" +ATTR{idProduct}=="0000", ENV{adb_adb}="yes" # Ubislate 7Ci -ATTR{idVendor}=="2207", ATTR{idProduct}=="0010", ENV{adb_adb}="yes" +ATTR{idProduct}=="0010", ENV{adb_adb}="yes" +# Anbernic RG353P - AOSP12beta#1 (0003=rndis 0006=adb,chg 0007=mtp 0008=ptp 0013=adb,rndis 0017=adb,mtp 0018=adb,ptp) +ATTR{idProduct}=="0006", ENV{adb_adb}="yes" +ATTR{idProduct}=="0013", ENV{adb_adbtet}="yes" +ATTR{idProduct}=="0017", ENV{adb_adbmtp}="yes" +ATTR{idProduct}=="0018", ENV{adb_adbptp}="yes" +GOTO="android_usb_rule_match" +LABEL="not_Fuzhou" # Garmin-Asus ATTR{idVendor}=="091e", ENV{adb_user}="yes" @@ -153,6 +176,7 @@ # See https://android.googlesource.com/device/google/wahoo/+/master/init.hardware.usb.rc # OnePlus 6, 4ee1=charging, 4ee2=MTP+debug, 4ee6=PTP+debug, 4ee7=charging+debug # Pico i.MX7 Dual Development Board 4ee7=debug +# PinePhone (v1.2) (4ee0=fast 4ee1=mtp, 4ee2=mtp,adb 4ee3=rndis 4ee4=rndis,adb 4ee5=ptp, 4ee6=ptp,adb 4ee7=adb) # Yandex Phone 4ee7=debug ATTR{idProduct}=="4ee0", ENV{adb_adbfast}="yes" ATTR{idProduct}=="4ee2", ENV{adb_adb}="yes" @@ -161,7 +185,7 @@ ATTR{idProduct}=="4ee7", ENV{adb_adb}="yes" ATTR{idProduct}=="4ee9", ENV{adb_adb}="yes" -# Tensor Pixel phones (Pixel 6/6A/6 Pro) 4eeb=cdc-ncm; 4eec=cdc-ncm,adb +# Tensor Pixel phones (Pixel 7/7 pro/6/6A/6 Pro) 4eeb=cdc-ncm; 4eec=cdc-ncm,adb ATTR{idProduct}=="4eec", ENV{adb_adb}="yes" # Pixel C Tablet @@ -188,10 +212,11 @@ # Nexus One (4e11=normal,4e12=debug,0fff=debug) ATTR{idProduct}=="4e12", ENV{adb_adb}="yes" ATTR{idProduct}=="0fff", ENV{adb_adbfast}="yes" -# Recovery adb entry for Nexus Family (orig d001, OP3 has 18d1:d002) -ATTR{idProduct}=="d00?", ENV{adb_adb}="yes" # Generic and unspecified debug interface (test after d00?) +# examples: Xiaomi Mi/Redmi 2, Anbernic RG353P ATTR{idProduct}=="d00d", ENV{adb_adbfast}="yes" +# Recovery adb entry for Nexus Family (orig d001, OP3 has 18d1:d002) +ATTR{idProduct}=="d00?", ENV{adb_adb}="yes" # Other vendors that also used duplicated Google's idVendor code follows: # IDEA XDS-1078 (debug=2c11) @@ -218,6 +243,7 @@ # fastboot mode enabled ATTR{idProduct}=="0fff", ENV{adb_adbfast}="yes", GOTO="android_usb_rule_match" # ADP1, Dream, G1, HD2, Magic, Tatoo (0c01=mass_storage) +# NOTE: Amazon Kindle 8 2016 (giza) (fastboot=0bb4:0c01 conflicts with mass storage=0c01) ATTR{idProduct}=="0c02", ENV{adb_adbfast}="yes" # ChaCha ATTR{idProduct}=="0cb2", ENV{adb_adbfast}="yes" @@ -471,6 +497,8 @@ ATTR{idProduct}=="4ee2", ENV{adb_adb}="yes" ATTR{idProduct}=="4ee6", ENV{adb_adb}="yes" ATTR{idProduct}=="4ee7", ENV{adb_adb}="yes" +# OnePlus Nord N10 4G USB tethering mode +ATTR{idProduct}=="9024", ENV{adb_adb}="yes" # OnePlus 3T with Oreo MIDI mode 90bb=adb+midi, 9011=MTP, 904e=PTP ATTR{idProduct}=="90bb", ENV{adb_adb}="yes" ATTR{idProduct}=="9011", SYMLINK+="android_adb" @@ -845,6 +873,10 @@ # Symlink shortcuts to reduce code in tests above ENV{adb_adbfast}=="yes", ENV{adb_adb}="yes", ENV{adb_fast}="yes" +ENV{adb_adbmtp}=="yes", ENV{adb_adb}="yes", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" +ENV{adb_adbptp}=="yes", ENV{adb_adb}="yes" +ENV{adb_adbtet}=="yes", ENV{adb_adb}="yes" +ENV{adb_adbmidi}=="yes", ENV{adb_adb}="yes", SYMLINK+="midi", SYMLINK+="midi0%n" ENV{adb_adb}=="yes", ENV{adb_user}="yes", SYMLINK+="android_adb" ENV{adb_fast}=="yes", SYMLINK+="android_fastboot" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/android-udev-rules-20230303/rpm/android-udev-rules.spec new/android-udev-rules-20230614/rpm/android-udev-rules.spec --- old/android-udev-rules-20230303/rpm/android-udev-rules.spec 2023-03-03 11:13:54.000000000 +0100 +++ new/android-udev-rules-20230614/rpm/android-udev-rules.spec 2023-05-26 22:40:28.000000000 +0200 @@ -1,40 +1,58 @@ Name: android-udev-rules -Version: 20220102 +Version: 20230310 Release: 1%{?dist} Summary: Udev rules to connect Android devices to your linux box License: GPLv3+ URL: https://github.com/M0Rf30/android-udev-rules -Source0: https://github.com/M0Rf30/android-udev-rules/raw/master/51-android.rules -Source1: https://github.com/M0Rf30/android-udev-rules/raw/master/README.md -Source2: https://github.com/M0Rf30/android-udev-rules/raw/master/LICENSE +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 +Source2: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/main/LICENSE +Source3: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/main/android-udev.conf BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# Build with: rpmbuild --undefine=_disable_source_fetch -bb android-udev-rules.spec + %description Android udev rules list aimed to be the most comprehensive on the net. Based on the official Android Studio documentation as well as suggestions from the Archlinux and Github Communities. %prep -cp %{SOURCE0} %{SOURCE1} %{SOURCE2} . +cp %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} . %build %install mkdir -p %{buildroot}/etc/udev/rules.d/. install -m 644 51-android.rules %{buildroot}/etc/udev/rules.d/. +mkdir -p %{buildroot}/usr/lib/sysusers.d/. +install -m 644 android-udev.conf %{buildroot}/usr/lib/sysusers.d/. %clean rm -rf %{buildroot} %files %config(noreplace) /etc/udev/rules.d/51-android.rules +%config /usr/lib/sysusers.d/android-udev.conf %{!?_licensedir:%global license %%doc} %license LICENSE %doc README.md +%post +systemd-sysusers +udevadm control --reload-rules +systemctl restart systemd-udevd.service + +%postun +udevadm control --reload-rules +systemctl restart systemd-udevd.service + %changelog +* Fri Mar 10 2023 Giedrius Masalskis <giedr...@masalskis.net> - 20230310-1 +- Install android-udev.conf and create system group. + * Sun Jan 02 2022 Håkon Løvdal <k...@denkule.no> - 20220102-1 - Latest stable tag.