Commit 059905e1 authored by Slava Monich's avatar Slava Monich

[usb-moded] Configuration files for connman tethering

Contributes to JB#15005
parent 5722b4f2
[mode]
name = connection_sharing
module = none
[options]
sysfs_path = /sys/class/android_usb/android0/functions
sysfs_value = rndis
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnect_disconnect = 0
idProduct = 0A02
connman_tethering = /net/connman/technology/gadget
......@@ -235,6 +235,19 @@ system bus.
This package contains configuration to enable sharing the cellular data
connection over the USB with the android gadget driver.
%package connection-sharing-android-connman-config
Summary: USB mode controller - USB/cellular data connection sharing config
Group: Config
%description connection-sharing-android-connman-config
Usb_moded is a daemon to control the USB states. For this
it loads unloads the relevant usb gadget modules, keeps track
of the filesystem(s) and notifies about changes on the DBUS
system bus.
This package contains configuration to enable sharing the cellular data
connection over the USB with the connman gadget driver.
%package mass-storage-android-config
Summary: USB mode controller - mass-storage config with android gadget
Group: Config
......@@ -420,6 +433,10 @@ systemctl daemon-reload || :
%{_sysconfdir}/usb-moded/dyn-modes/connection_sharing.ini
%{_sysconfdir}/usb-moded/run/udhcpd-connection-sharing.ini
%files connection-sharing-android-connman-config
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/connection_sharing-android-connman.ini
%files mass-storage-android-config
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/mass_storage_android.ini
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment