From 761bfdca711fcfd38a1be2f15119ec3a6a0d63ee Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 12 Feb 2007 18:32:28 +0000 Subject: bluez-utils 3.9: Add patch to handle EINTR while being attached to uart properly. * EINTR is not really an error, but a Unix (mis)feature, and requires special handling (i.e. retrying). Bluez authors/maintainers really should do a bit of trivial Unix programming reading before wring BT stacks. * Specifically EINTR happens when resuming from suspend. So, with this patch (and assuming there're no weird APM scripts), configured BT finally survives suspend/resume (tested on h4000). Hurrah! --- packages/bluez/bluez-utils.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/bluez/bluez-utils.inc') diff --git a/packages/bluez/bluez-utils.inc b/packages/bluez/bluez-utils.inc index 912c419f8c..21cbea1b70 100644 --- a/packages/bluez/bluez-utils.inc +++ b/packages/bluez/bluez-utils.inc @@ -11,7 +11,8 @@ LICENSE = "GPL" SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \ file://hcid.conf \ file://02dtl1_cs.sh \ - file://hciattach-ti-bts.patch;patch=1" + file://hciattach-ti-bts.patch;patch=1 \ + file://handle-eintr.patch;patch=1" # Almost all serial CF cards w/ manfid 0x0000,0x0000 seem to use the bcs protocol # Let's default to that instead of 'any' until further notice... -- cgit v1.2.3 From 6b632d5626c5fd6936afa1e8a38352f3fef494c6 Mon Sep 17 00:00:00 2001 From: Andrew Paulsen Date: Mon, 12 Feb 2007 21:39:26 +0000 Subject: bluez-utils: ship pass-agent --- packages/bluez/bluez-utils.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/bluez/bluez-utils.inc') diff --git a/packages/bluez/bluez-utils.inc b/packages/bluez/bluez-utils.inc index 21cbea1b70..a22431eaf9 100644 --- a/packages/bluez/bluez-utils.inc +++ b/packages/bluez/bluez-utils.inc @@ -42,6 +42,7 @@ do_install_append() { chmod u+s ${D}${base_sbindir}/hciattach ${D}${base_sbindir}/hciconfig install -m 0644 ${WORKDIR}/hcid.conf ${D}${sysconfdir}/bluetooth/ install -m 0755 ${WORKDIR}/02dtl1_cs.sh ${D}${sysconfdir}/apm/event.d/ + install -m 0755 ${S}/daemon/.libs/passkey-agent ${D}${base_bindir}/ } CONFFILES_${PN} = "${sysconfdir}/bluetooth/hcid.conf ${sysconfdir}/bluetooth/rfcomm.conf \ -- cgit v1.2.3