public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-mobilephone/usb-tethering/, app-mobilephone/usb-tethering/files/
@ 2021-12-09 23:48 Gerben Jan Dijkman
  0 siblings, 0 replies; only message in thread
From: Gerben Jan Dijkman @ 2021-12-09 23:48 UTC (permalink / raw
  To: gentoo-commits

commit:     169602fb9ba61aa5d9537027a27c7ddd841a4ace
Author:     Gerben Jan Dijkman <gjdijkman <AT> gjdwebserver <DOT> nl>
AuthorDate: Thu Dec  9 10:58:24 2021 +0000
Commit:     Gerben Jan Dijkman <gjdijkman <AT> gjdwebserver <DOT> nl>
CommitDate: Thu Dec  9 10:58:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=169602fb

app-mobilephone/usb-tethering: Version bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Gerben Jan Dijkman <gjdijkman <AT> gjdwebserver.nl>

 app-mobilephone/usb-tethering/files/usb-tethering                   | 6 ++++++
 .../{usb-tethering-0.1.ebuild => usb-tethering-0.2.ebuild}          | 0
 2 files changed, 6 insertions(+)

diff --git a/app-mobilephone/usb-tethering/files/usb-tethering b/app-mobilephone/usb-tethering/files/usb-tethering
index aaa63eb55..b4b434e44 100644
--- a/app-mobilephone/usb-tethering/files/usb-tethering
+++ b/app-mobilephone/usb-tethering/files/usb-tethering
@@ -46,6 +46,12 @@ setup_usb_network_configfs() {
 	# Create rndis function. The function can be named differently in downstream kernels.
 	mkdir $CONFIGFS/g1/functions/"$usb_rndis_function" \
 		|| echo "  Couldn't create $CONFIGFS/g1/functions/$usb_rndis_function"
+	# https://github.com/RobertCNelson/boot-scripts/commit/714e162ba98cf3d2897e7fc95e951c6df15a7d0a
+	if [ -f $CONFIGFS/g1/functions/"$usb_rndis_function"/class ]; then
+		echo EF > $CONFIGFS/g1/functions/"$usb_rndis_function"/class
+		echo 04 > $CONFIGFS/g1/functions/"$usb_rndis_function"/subclass
+		echo 01 > $CONFIGFS/g1/functions/"$usb_rndis_function"/protocol
+	fi || echo "$CONFIGFS/g1/functions/$usb_rndis_function/class not found"
 
 	# Create configuration instance for the gadget
 	mkdir $CONFIGFS/g1/configs/c.1 \

diff --git a/app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild b/app-mobilephone/usb-tethering/usb-tethering-0.2.ebuild
similarity index 100%
rename from app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild
rename to app-mobilephone/usb-tethering/usb-tethering-0.2.ebuild


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-09 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-09 23:48 [gentoo-commits] repo/proj/guru:dev commit in: app-mobilephone/usb-tethering/, app-mobilephone/usb-tethering/files/ Gerben Jan Dijkman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox