summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a759de)
raw | patch | inline | side by side (parent: 4a759de)
author | Koen Kooi <koen@dominion.thruhere.net> | |
Tue, 31 Jan 2012 15:34:00 +0000 (16:34 +0100) | ||
committer | Koen Kooi <koen@dominion.thruhere.net> | |
Tue, 7 Feb 2012 16:36:46 +0000 (17:36 +0100) |
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
index d016c099c8c94e9fbf27e3f80c529ed4d289fc59..150ff8eb741cacbb9c46451217e3817da7b9d189 100644 (file)
DESCRIPTION = "Units to initialize usb gadgets"
-PR = "r13"
+PR = "r16"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
file://network-gadget-init.service \
file://udhcpd.service \
file://udhcpd.conf \
- file://99-hokey-pokey.rules \
- file://hokey-pokey.sh \
file://bone-gmass-eject.rules \
file://udhcpd.rules \
file://g-storage-reinsert.sh \
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/*.sh ${D}${bindir}
+
+ install -d ${D}${sysconfdir}/tmpfiles.d
+ echo "w /sys/class/pwm/ehrpwm.1:0/polarity - - - - 1" > ${D}${sysconfdir}/tmpfiles.d/lcd7.conf
}
PACKAGES =+ "${PN}-storage ${PN}-network ${PN}-udhcpd"
-FILES_${PN} = "${sysconfdir}/udev/rules.d/99-hokey-pokey.rules \
- ${bindir}/hokey-pokey.sh \"
+FILES_${PN} = "${sysconfdir}/tmpfiles.d"
FILES_${PN}-storage = "${base_libdir}/systemd/system/storage-gadget-init.service \
${base_libdir}/systemd/system/basic.target.wants/storage-gadget-init.service \
diff --git a/recipes-ti/beagleboard/gadget-init/99-hokey-pokey.rules b/recipes-ti/beagleboard/gadget-init/99-hokey-pokey.rules
+++ /dev/null
@@ -1,2 +0,0 @@
-ACTION=="remove", DEVPATH=="/devices/platform/omap/ti81xx-usbss/musb-hdrc.1/usb1/1-1", RUN+="/usr/bin/hokey-pokey.sh"
-
diff --git a/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh b/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh
index 076a5fe8df8722852630d4a07a51206a52366e55..6e73b155d1262cd1e06b610d52a2f75de2f6543a 100755 (executable)
#!/bin/sh
-if [ -a /sys/devices/platform/omap/ti81xx-usbss/musb-hdrc.0/gadget/lun0/file ]
+if [ -a /sys/devices/platform/omap/musb-ti81xx/musb-hdrc.0/gadget/lun0/file ]
then
- x=$(cat /sys/devices/platform/omap/ti81xx-usbss/musb-hdrc.0/gadget/lun0/file)
+ x=$(cat /sys/devices/platform/omap/musb-ti81xx/musb-hdrc.0/gadget/lun0/file)
if [ -z "$x" ]
then
/bin/systemctl stop storage-gadget-init.service
diff --git a/recipes-ti/beagleboard/gadget-init/hokey-pokey.sh b/recipes-ti/beagleboard/gadget-init/hokey-pokey.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-sleep 1
-echo F > /proc/driver/musb_hdrc.1
-sleep 1
-echo F > /proc/driver/musb_hdrc.1
-