diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/usb-gadget-mode/files/spitz/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/usb-gadget-mode/files/spitz/usb-gadget.conf | 3 | ||||
-rwxr-xr-x | packages/usb-gadget-mode/files/usb-gadget | 3 | ||||
-rw-r--r-- | packages/usb-gadget-mode/usb-gadget-mode.bb | 4 |
4 files changed, 8 insertions, 2 deletions
diff --git a/packages/usb-gadget-mode/files/spitz/.mtn2git_empty b/packages/usb-gadget-mode/files/spitz/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/usb-gadget-mode/files/spitz/.mtn2git_empty diff --git a/packages/usb-gadget-mode/files/spitz/usb-gadget.conf b/packages/usb-gadget-mode/files/spitz/usb-gadget.conf new file mode 100644 index 0000000000..717687d4c3 --- /dev/null +++ b/packages/usb-gadget-mode/files/spitz/usb-gadget.conf @@ -0,0 +1,3 @@ +USB_MODE="networking" +MODULE_OPTIONS="" + diff --git a/packages/usb-gadget-mode/files/usb-gadget b/packages/usb-gadget-mode/files/usb-gadget index 4fdc429f5b..6f957fd263 100755 --- a/packages/usb-gadget-mode/files/usb-gadget +++ b/packages/usb-gadget-mode/files/usb-gadget @@ -9,6 +9,7 @@ ################################################################################# # # 20070606 - v0.0.1 - Initial release +# 20070630 - v0.0.2 - Add forgotten host mode CONF_FILE="/etc/default/usb-gadget" @@ -23,6 +24,8 @@ go() { case "$USB_MODE" in networking) setup_usb g_ether "$MODULE_OPTIONS" ;; storage) setup_usb g_file_storage "$MODULE_OPTIONS" ;; + hostmode) unload_usb_gadgets + setup_usb ohci_hcd "$MODULE_OPTIONS" ;; none) unload_usb_gadgets ;; esac diff --git a/packages/usb-gadget-mode/usb-gadget-mode.bb b/packages/usb-gadget-mode/usb-gadget-mode.bb index ae1f08b5ea..d1fab638f2 100644 --- a/packages/usb-gadget-mode/usb-gadget-mode.bb +++ b/packages/usb-gadget-mode/usb-gadget-mode.bb @@ -13,8 +13,8 @@ LICENSE = "GPL" ###################################################################################### -PV = "0.0.1" -PR = "r3" +PV = "0.0.2" +PR = "r0" ###################################################################################### |