Skip to contentSkip to conversation

usb-gadget-mode: Add defaults for omap3-pandora and fix broken script.

PATCH Koen Kooi 1 participant 1 message May 30, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Koen Kooi

author Applied
#1 lore raw
Quoted 4 lines · John Willis

Add default usb-gadget mode for the omap3-pandora and fix typo in recipes/usb-gadget-mode/files/usb-gadget that breaks package.

Applied, I'll push it out with the rest of my commits next week

regards,

Koen

Quoted 50 lines
---
  .../files/omap3-pandora/usb-gadget.conf            |    3 +++
  recipes/usb-gadget-mode/files/usb-gadget           |    2 +-
  recipes/usb-gadget-mode/usb-gadget-mode.bb         |    2 +-
  3 files changed, 5 insertions(+), 2 deletions(-)

create mode 100755
recipes/usb-gadget-mode/files/omap3-pandora/usb-gadget.conf
mode change 100644 => 100755 recipes/usb-gadget-mode/usb-gadget-mode.bb

recipes/usb-gadget-mode/files/omap3-pandora/usb-gadget.conf new file +3 -0
new file mode 100755
index 0000000..35ff0d4
@@ -0,0 +1,3 @@
+USB_MODE="composite"
+MODULE_OPTIONS=""
+
recipes/usb-gadget-mode/files/usb-gadget +1 -1
index c9ff2f0..0e6b39f 100755
@@ -26,7 +26,7 @@ go() {
  	networking)	setup_usb g_ether "$MODULE_OPTIONS" ;;
  	zero)		setup_usb g_zero "$MODULE_OPTIONS" ;;
  	midi)		setup_usb g_midi "$MODULE_OPTIONS" ;;
-	printer		setup_usb g_printer "$MODULE_OPTIONS" ;;
+	printer)	setup_usb g_printer "$MODULE_OPTIONS" ;;
  	gadgetfs) 	setup_usb gadgetfs "$MODULE_OPTIONS" ;;
  	composite)	setup_usb g_cdc "$MODULE_OPTIONS" ;;
  	storage)	setup_usb g_file_storage "$MODULE_OPTIONS" ;;
recipes/usb-gadget-mode/usb-gadget-mode.bb +1 -1
old mode 100644
new mode 100755
index cc00a88..e6e8e51
@@ -9,7 +9,7 @@ DESCRIPTION = "Manage the default USB gadget mode"
  SECTION = "console/network"
  LICENSE = "GPL"
  PV = "0.0.2"
-PR = "r2"
+PR = "r3"
 
  SRC_URI = "\
    file://usb-gadget.conf \