Commit 8c6870a8 authored by Philippe De Swert's avatar Philippe De Swert

[usb-moded] Add configuration for cellular connection sharing

Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
parent 2d30b7cc
[mode]
name = connection_sharing
module = none
network = 1
network_interface = rndis0
appsync = 1
[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
softconnec_disconnect = 0
idProduct = 0A05
nat = 1
[info]
name = udhcpd.service
mode = connection_sharing
systemd = 1
post = 1
......@@ -208,12 +208,26 @@ Group: Config
This package contains the diagnostics info needed to configure a
diagnotic mode
%package connection-sharing-android-config
Summary: USB mode controller - USB/cellular data connection sharing config
Group: Config
%description connection-sharing-android-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 android gadget driver.
%prep
%setup -q
%build
%autogen
%configure --enable-app-sync --enable-udev --enable-n900 --enable-meegodevlock --enable-debug
%configure --enable-app-sync --enable-udev --enable-n900 --enable-meegodevlock --enable-debug --enable-connman
make all doc %{?_smp_mflags}
%install
......@@ -324,3 +338,8 @@ systemctl daemon-reload
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/diag/qa_diagnostic_mode.ini
%{_sysconfdir}/usb-moded/run/qa-diagnostic.ini
%files connection-sharing-android-config
%defattr(-,root,root,-)
%{_sysconfdir}/config/dyn-modes/connection_sharing.ini
%{_sysconfdir}/config/run/udhcpd-connection-sharing.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