summaryrefslogtreecommitdiff
path: root/packages/bluez/bluez-utils.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-01-19 19:12:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-19 19:12:48 +0000
commit909321269e98db8a265ef4787e7a002cf4569b3c (patch)
tree9b6a93e68b938aa5594f68d505453d169fa034c1 /packages/bluez/bluez-utils.inc
parentccd085b5c2c92b81daf115fca291e89ba1140073 (diff)
bluez-utils: added workaround for dtl1_cs CF cards
- dtl1_cs driver does not support suspend/resume so after resume we have to eject/insert card to get it working again - close #417
Diffstat (limited to 'packages/bluez/bluez-utils.inc')
-rw-r--r--packages/bluez/bluez-utils.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/bluez/bluez-utils.inc b/packages/bluez/bluez-utils.inc
index 5babed48dc..c68df7bd47 100644
--- a/packages/bluez/bluez-utils.inc
+++ b/packages/bluez/bluez-utils.inc
@@ -10,7 +10,8 @@ SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
file://blueboxes.patch;patch=1 \
file://hcid.conf \
file://bluetooth.default \
- file://bluetooth.conf "
+ file://bluetooth.conf \
+ file://02dtl1_cs.sh"
# Almost all serial CF cards w/ manfid 0x0000,0x0000 seem to use the bcs protocol
# Let's default to that instead of 'any' and see if we break something with that
@@ -32,7 +33,7 @@ do_compile_prepend() {
}
do_install_append() {
- install -d ${D}${base_sbindir} ${D}${base_bindir}/
+ install -d ${D}${base_sbindir} ${D}${base_bindir}/ ${D}${sysconfdir}/apm/event.d/
mv ${D}${sbindir}/* ${D}${base_sbindir}/
mv ${D}${bindir}/* ${D}${base_bindir}/
rmdir ${D}${bindir} ${D}${sbindir}
@@ -41,6 +42,7 @@ do_install_append() {
install -m 0644 ${WORKDIR}/hcid.conf ${D}${sysconfdir}/bluetooth/
install -m 0644 ${WORKDIR}/bluetooth.default ${D}${sysconfdir}/default/bluetooth
cat ${WORKDIR}/bluetooth.conf >> ${D}${sysconfdir}/pcmcia/bluetooth.conf
+ install -m 0755 ${WORKDIR}/02dtl1_cs.sh ${D}${sysconfdir}/apm/event.d/
}
CONFFILES_${PN} = "${sysconfdir}/bluetooth/hcid.conf ${sysconfdir}/bluetooth/rfcomm.conf \