From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 18 02:22:04 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1413111 for ; Wed, 18 Mar 2015 02:22:04 +0000 (UTC) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A329617 for ; Wed, 18 Mar 2015 02:22:04 +0000 (UTC) Received: by webcq43 with SMTP id cq43so21299292web.2 for ; Tue, 17 Mar 2015 19:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fxiPqLRnwHtA1UeP1pgHEz2UvRyCoPXe4rQVzUVNjI4=; b=bctquSMuYW3q/b0fHp5ieo/+hoJpFP5ZNKrEZ2JcyLFTST/hnzSGLv+ltIXLgrOxHW dYNf5eo94Hih5NM7J28pGPmBRywhtBdQgQW/fI2XLIQ5nFnuGYT4ObKJf1EI3dPxq4vr rXi/ZGU5NCrwbz3IJd4JWPl4nbuhtV1fI0CfV0ylBn02oKO+8ZLmQL7ZB/C+LiK46l/S L3VeoqI3BV2D3AFm1GUPLFsAcjnZY1+/fK2KfTFvkWOGfYhVGhiRjaRmI8fiTY3oIYyW Rxm/RzSMEDmMzLQa3Mq5ZeOAlcvVhGE7sVA/yo4ZdZLecQ5NnYgCIiw/ft+UFCJXyWm1 peKg== MIME-Version: 1.0 X-Received: by 10.194.75.168 with SMTP id d8mr139793079wjw.87.1426645321891; Tue, 17 Mar 2015 19:22:01 -0700 (PDT) Received: by 10.27.214.136 with HTTP; Tue, 17 Mar 2015 19:22:01 -0700 (PDT) In-Reply-To: References: <0AD7A2F7-37BE-4F6A-9FD6-F6C81B2CAF36@gmail.com> Date: Tue, 17 Mar 2015 19:22:01 -0700 Message-ID: Subject: Re: register HID with SDP error From: Waitman Gobble To: Maksim Yevmenkin Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" , Iain Hibbert X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2015 02:22:04 -0000 On Tue, Mar 17, 2015 at 9:33 AM, Maksim Yevmenkin wrote: >> Thanks, that's very helpful. I added the 0x0206 and 0x0207 but NOW i >> see i didn't do it correctly based on your information. >> >> btw i tried running 'bluetoothctl' on a machine running mainline Linux >> kernel with 'hcidump' running on the FreeBSD machine, kinda looks like >> a good way to find issues/debug. I don't yet see how to query from >> FreeBSD so that it's 'parsing' the sdp records. > > can't you just use bthidcontrol(8)? the "query" command is what you > are looking for. > > thanks, > max Yes, bthidcontrol does work, thank you Max, that really helps. Debugging has been a great deal of trouble for me without seeing this information. scan from r277133 machine https://gist.github.com/waitman/d08c2a027479137c2a3a dump (r279971M machine) https://gist.github.com/waitman/c5cc2c9a75eefcf9231a still more items to I'm still troubled by the bluetooth errors though.. I wish I could solve that problem. This device reports mfg 0x0a12 product 0x0001 (well idProduct is 0x0001, iProduct is 0x0002?) on a laptop running r275492, I cannot get bluetooth to work at all with any of the CSR devices I have on hand. (apparently all bt devices at the local electronics store are CSR based. I bought every V1, 2, 3, 4 device they had on the shelf ) here's log from that r275492 machine. https://gist.github.com/waitman/d5659088f572f431b20b Yes that laptop it is past due for a system rebuild... about 5k commits back. I can order some bt dongles online with an aim to get various chipsets, which I should probably do anyway to experiment. BUT, i'm curious mostly because the example in the FreeBSD manual page actually shows the 0x0a12 0x0001 device as working. :) I don't think these devices require firmware, they seem to work fine (without bluetooth stack 'running') with the work I've been doing so far on two machines, just not the laptop. -- Waitman Gobble Los Altos California USA 510-830-7975