From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 11:06:55 2010 Return-Path: Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1656B106564A for ; Mon, 6 Dec 2010 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DD5698FC27 for ; Mon, 6 Dec 2010 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oB6B6sKI068180 for ; Mon, 6 Dec 2010 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oB6B6s5u068178 for freebsd-bluetooth@FreeBSD.org; Mon, 6 Dec 2010 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Dec 2010 11:06:54 GMT Message-Id: <201012061106.oB6B6s5u068178@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-bluetooth@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-bluetooth@FreeBSD.org X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/140590 bluetooth [bluetooth] ng_ubt(4) ng_l2cap_process_cmd_rej warning 1 problem total. From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 10:23:02 2010 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1005A106564A for ; Fri, 10 Dec 2010 10:23:02 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from mail.ukfsn.org (mail.ukfsn.org [77.75.108.10]) by mx1.freebsd.org (Postfix) with ESMTP id A008F8FC25 for ; Fri, 10 Dec 2010 10:23:00 +0000 (UTC) Received: from localhost (smtp-filter.ukfsn.org [192.168.54.205]) by mail.ukfsn.org (Postfix) with ESMTP id C2B67DEC2E for ; Fri, 10 Dec 2010 09:59:57 +0000 (GMT) Received: from mail.ukfsn.org ([192.168.54.25]) by localhost (smtp-filter.ukfsn.org [192.168.54.205]) (amavisd-new, port 10024) with ESMTP id GHIIIVJpP8K4 for ; Fri, 10 Dec 2010 09:59:57 +0000 (GMT) Received: from galant.ukfsn.org (unknown [89.194.197.127]) by mail.ukfsn.org (Postfix) with ESMTP id C233DDEC3A for ; Fri, 10 Dec 2010 09:59:54 +0000 (GMT) Received: by galant.ukfsn.org (Postfix, from userid 1000) id 85B6C260261; Fri, 10 Dec 2010 09:59:49 +0000 (GMT) Date: Fri, 10 Dec 2010 09:59:49 +0000 (GMT) From: Iain Hibbert To: bluetooth@freebsd.org Message-ID: User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-609162667-1291975189=:1298" Cc: Subject: obexapp: handle 32-bit uuid in ProtocolDescriptorList X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 10:23:02 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-609162667-1291975189=:1298 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi I found that Mac OS X (10.3.5 at least, more recent probably not) provides a 32-bit UUID for L2CAP in the OBEX records, this defeats obexapp trying to send a file, eg from hcidump output < ACL data: handle 13 flags 0x02 dlen 24 L2CAP(d): cid 0x0040 len 20 [psm 1] SDP SSA Req: tid 0x1 len 0xf pat uuid-16 0x1106 (OBEXObjTrnsf) max 653 aid(s) 0x0004 - 0x0004 cont 00 > ACL data: handle 13 flags 0x02 dlen 40 L2CAP(d): cid 0x0044 len 36 [psm 1] SDP SSA Rsp: tid 0x1 len 0x1f count 28 record #0 aid 0x0004 (ProtocolDescList) < < uuid-32 0x0100 (L2CAP) > < uuid-16 0x0003 (RFCOMM) uint 0xf > < uuid-16 0x0008 (OBEX) > > cont 00 which returns 'Could not obtain RFCOMM channel' error patch attached fixes this.. regards, iain --0-609162667-1291975189=:1298 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=uuid.diff Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=uuid.diff LS0tIHNkcC5jCTIwMTAtMTAtMTkgMTg6NDg6MjcuMDAwMDAwMDAwICswMTAw DQorKysgc2RwLmMJMjAxMC0xMi0xMCAwOTozNDoxNS4wMDAwMDAwMDAgKzAw MDANCkBAIC0yMzAsNyArMjMwLDE2IEBAIHJmY29tbV9wcm90b19saXN0X3Bh cnNlKHVpbnQ4X3QgKnN0YXJ0LCANCiAJCQkJZ290byBuZXh0X3Byb3RvY29s Ow0KIAkJCWJyZWFrOw0KIA0KLQkJY2FzZSBTRFBfREFUQV9VVUlEMzI6ICAv KiBYWFggRklYTUUgY2FuIHdlIGhhdmUgMzItYml0IFVVSUQgKi8NCisJCWNh c2UgU0RQX0RBVEFfVVVJRDMyOg0KKwkJCWlmIChlbmQgLSBzdGFydCA8IDUp DQorCQkJCXJmY29tbV9wcm90b19saXN0X3BhcnNlX2V4aXQoRUlOVkFMKTsN CisNCisJCQlTRFBfR0VUMzIodmFsdWUsIHN0YXJ0KTsgbGVuIC09IHNpemVv Zih1aW50MzJfdCk7DQorCQkJaWYgKHZhbHVlICE9IFNEUF9VVUlEX1BST1RP Q09MX1JGQ09NTSkNCisJCQkJZ290byBuZXh0X3Byb3RvY29sOw0KKw0KKwkJ CWJyZWFrOw0KKw0KIAkJY2FzZSBTRFBfREFUQV9VVUlEMTI4OiAvKiBYWFgg RklYTUUgY2FuIHdlIGhhdmUgMTI4LWJpdCBVVUlEICovDQogCQlkZWZhdWx0 Og0KIAkJCXJmY29tbV9wcm90b19saXN0X3BhcnNlX2V4aXQoRU5PQVRUUik7 DQo= --0-609162667-1291975189=:1298-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 18:18:48 2010 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 491DF106566C for ; Fri, 10 Dec 2010 18:18:48 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-iw0-f174.google.com (mail-iw0-f174.google.com [209.85.214.174]) by mx1.freebsd.org (Postfix) with ESMTP id 126258FC0C for ; Fri, 10 Dec 2010 18:18:47 +0000 (UTC) Received: by iwn9 with SMTP id 9so6284936iwn.19 for ; Fri, 10 Dec 2010 10:18:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=4Bvkzfgh/iiyDtWOg+UI20Msvc9Ub3YaV9ecz+O1wcg=; b=fEzpVfgkPJNyYHmneHYmATL0bEUSi6wuqTiRnxj2MA8XUJVAwnBllDblD8Nl6CU2RZ mX00xeOjzSYV+z/IG3aQdj8bF5nocn8NRacp5PmGCr/oviWePiMJ8hrjzroT+7KdlF6Z 8wOtmFS8BYpkrxsEJYQ28Pp6wyDbRc9aoz7lE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZhYBFT1YY7D9BvFWV+ct6utPCob8gnWYyd9TCSH6rm8cxEvIBZB0rKAQiulCv3b2yS TsQRqwFMKMpzqAViiJM1rsXkN3CwCMeXAWkXLagHEIvHrCwNt9lCKvV7pULfQb07vSjk +dlu2/Xe773Cb7zbBhdGmT/4jumUOL4LA+ddk= MIME-Version: 1.0 Received: by 10.231.15.204 with SMTP id l12mr730408iba.148.1292003594513; Fri, 10 Dec 2010 09:53:14 -0800 (PST) Received: by 10.231.208.13 with HTTP; Fri, 10 Dec 2010 09:53:14 -0800 (PST) In-Reply-To: References: Date: Fri, 10 Dec 2010 09:53:14 -0800 Message-ID: From: Maksim Yevmenkin To: Iain Hibbert Content-Type: text/plain; charset=ISO-8859-1 Cc: bluetooth@freebsd.org Subject: Re: obexapp: handle 32-bit uuid in ProtocolDescriptorList X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 18:18:48 -0000 Hi Iain, > I found that Mac OS X (10.3.5 at least, more recent probably not) provides > a 32-bit UUID for L2CAP in the OBEX records, this defeats obexapp trying > to send a file, eg from hcidump output [...] > which returns 'Could not obtain RFCOMM channel' error > > patch attached fixes this.. thanks a lot for the patch. it looks good. i will commit it shortly :) thanks, max