From owner-freebsd-bluetooth@FreeBSD.ORG Sun Mar 1 00:25:58 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2ADBF3C7 for ; Sun, 1 Mar 2015 00:25:58 +0000 (UTC) Received: from asmtp01.netarrest.com (asmtp01.netarrest.com [67.228.24.236]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04204F04 for ; Sun, 1 Mar 2015 00:25:58 +0000 (UTC) Received: from Dell-Admin (p5B05F459.dip0.t-ipconnect.de [91.5.244.89]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by asmtp01.netarrest.com (Postfix) with ESMTPSA id 5234D99027D for ; Sat, 28 Feb 2015 18:25:55 -0600 (CST) Organization: SoundCloud Reply-To: notifications@soundcloudmail.com Message-ID: <29fa13120db41d3d397e941600169271@soundcloudmail.com> From: "SoundCloud Notifications" To: Subject: New message from SoundCloud PR Date: Sun, 1 Mar 2015 01:25:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sun, 01 Mar 2015 00:25:58 -0000 [letter.png] Hey, [1]SoundCloudPR sent you a message: The SoundCloud Promotional Service offers Artists, DJs, Singers and Managers a simple, cost-effective way to reach targeted followers, sales, comments, plays and downloads on SoundCloud. We target like-minded users who are interested in your new tracks, releases and sets. This means that each new user we will follow, will receive a notification from you (like this message), saying that you have followed him or her. In return, these users will check out your profile, follow you back, play, comment, and download your music. By increasing your visibility on SoundCloud, you also improve your chances of getting noticed by records labels, club owners and talent scouts, who might all be looking for the next big catch. Many of our clients have signed records deals, DJ gigs, or simply found new collaboration partners after using our services. Artists that generate a lot of honest consistent feedbacks and traffic to their profiles are the ones who stand out from the crowd. To check this new service, go directly to the [2]SoundCloud Promotion Page ----- © 2007 - 2015 SoundCloud Ltd. All rights reserved [postman-email-convo-message_sent] [3]Unsubscribe[4] | Manage Notifications | [5]Support | [6]Terms of Use | [7]Community Guidelines | [8]Imprint | [9]Privacy Policy References 1. http://bit.ly/soundcloud-now 2. http://bit.ly/soundcloud-now 3. http://bit.ly/sc-unsubscribe 4. http://soundcloud.com/settings/email 5. http://help.soundcloud.com/ 6. http://soundcloud.com/terms-of-use 7. http://soundcloud.com/community-guidelines 8. http://soundcloud.com/imprint 9. https://soundcloud.com/pages/privacy From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 2 08:15:18 2015 Return-Path: Delivered-To: FreeBSD-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EDB88E2; Mon, 2 Mar 2015 08:15:18 +0000 (UTC) Received: from sana.init-main.com (sana.init-main.com [IPv6:2001:240:28::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0459BDAE; Mon, 2 Mar 2015 08:15:10 +0000 (UTC) Received: from ns.init-main.com (localhost [127.0.0.1]) by sana.init-main.com (8.14.3/8.14.3) with ESMTP id t22841Co064293; Mon, 2 Mar 2015 17:04:01 +0900 (JST) (envelope-from takawata@ns.init-main.com) Message-Id: <201503020804.t22841Co064293@sana.init-main.com> To: FreeBSD-bluetooth@freebsd.org, FreeBSD-hackers@freebsd.org Subject: Bluetooth 4.0 Date: Mon, 02 Mar 2015 17:04:01 +0900 From: Takanori Watanabe 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: Mon, 02 Mar 2015 08:15:18 -0000 Hi, I wrote somewhat incomplete Bluetooth LE with ATT protocol code. It is developed with unionfs over FreeBSD-current as of r274584. Kernel patch http://www.init-main.com/bluetoothkern.tar.gz Userland code http://www.init-main.com/le_enable-20150302.tar.gz It is intended to compatible is existing Bluetooth userland, but compatibility between kernel code is lost and the userland compatibility may be broken. From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 2 18:15:31 2015 Return-Path: Delivered-To: FreeBSD-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E01E6F9 for ; Mon, 2 Mar 2015 18:15:31 +0000 (UTC) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) (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 637ADD9E for ; Mon, 2 Mar 2015 18:15:31 +0000 (UTC) Received: by iecar1 with SMTP id ar1so50247072iec.0 for ; Mon, 02 Mar 2015 10:15:30 -0800 (PST) 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=I6NOahgU8ei9h5vZyul299gxR8OEjgCFCFMe1tBVxgM=; b=PltLxbFSbhMB6eJsV9ok5rg0VQGPBFKopCdNzRYt5zQWWHC1h7tIFjo+eIQ6Vz5DK1 zUbMOSLXZSZZDBu/oyUcnAAjgOsR1F+xNatPilU/wjWgETMQrhlzESKsP7QEHx2L3/CK 3SSHc/kE1L01R/8iFvs/iE1JaZIqreIrVKalMa6o6oOjpXI1vCCJ0X5UyDS794JGQj2O P20IAYOtgU/4HVbK71tpaCxgoSUQwX0kwTck7WbISBntdlqh4tgu/1yftfHYyAWkDUI/ miv0Aks/XFbq7b7r9wcqnyXgMRp5bKzVNUUx9aZFzPsg27KsLMEoTqCfouMKjqp5HQgd BFGg== MIME-Version: 1.0 X-Received: by 10.107.129.138 with SMTP id l10mr39698565ioi.37.1425320130443; Mon, 02 Mar 2015 10:15:30 -0800 (PST) Received: by 10.36.67.132 with HTTP; Mon, 2 Mar 2015 10:15:30 -0800 (PST) In-Reply-To: <201503020804.t22841Co064293@sana.init-main.com> References: <201503020804.t22841Co064293@sana.init-main.com> Date: Mon, 2 Mar 2015 10:15:30 -0800 Message-ID: Subject: Re: Bluetooth 4.0 From: Maksim Yevmenkin To: Takanori Watanabe Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" 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: Mon, 02 Mar 2015 18:15:31 -0000 Hello! thank you for your work! > Hi, I wrote somewhat incomplete Bluetooth LE with ATT protocol code. > It is developed with unionfs over FreeBSD-current as of r274584. > > Kernel patch > http://www.init-main.com/bluetoothkern.tar.gz i'm still looking at this, however, the first thing i noticed is a lot of debug printf()s are still in the code. i will have more comments later. > Userland code > http://www.init-main.com/le_enable-20150302.tar.gz > > It is intended to compatible is existing Bluetooth userland, but > compatibility between kernel code is lost and > the userland compatibility may be broken. yes, i've noticed. i try to look at this more carefully later this will and will let you know thanks a lot! max > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe@freebsd.org" From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 2 21:42:18 2015 Return-Path: Delivered-To: FreeBSD-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE6FE48A; Mon, 2 Mar 2015 21:42:18 +0000 (UTC) Received: from st11p02mm-asmtp001.mac.com (st11p02mm-asmtp001.mac.com [17.172.220.236]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C055C08; Mon, 2 Mar 2015 21:42:18 +0000 (UTC) Received: from st11p02mm-spool001.mac.com ([17.172.220.246]) by st11p02mm-asmtp001.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTP id <0NKL004ZFTLF6B40@st11p02mm-asmtp001.mac.com>; Mon, 02 Mar 2015 21:41:50 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-02_03:2015-03-02,2015-03-02,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1503020225 MIME-version: 1.0 Received: from localhost ([17.172.220.163]) by st11p02mm-spool001.mac.com (Oracle Communications Messaging Server 7.0.5.33.0 64bit (built Aug 27 2014)) with ESMTP id <0NKL00CX1TLL8H90@st11p02mm-spool001.mac.com>; Mon, 02 Mar 2015 21:41:45 +0000 (GMT) To: Takanori Watanabe From: Rui Paulo Subject: Re: Bluetooth 4.0 Date: Mon, 02 Mar 2015 21:41:45 +0000 (GMT) X-Mailer: iCloud MailClient15A99 MailServer15B76.18307 X-Originating-IP: [12.218.212.178] Message-id: <8d6e42ec-47ad-4708-9fad-e047b4f8d63e@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD-bluetooth@freebsd.org, FreeBSD-hackers@freebsd.org 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: Mon, 02 Mar 2015 21:42:18 -0000 Hi,=0AOn Mar 02, 2015, at 12:15 AM, Takanori Watanabe wrote:=0A=0AHi, I wrote somewhat incomplete Bluetooth LE with ATT pro= tocol code.=0AIt is developed with unionfs over FreeBSD-current as of r274= 584.=0A=0AKernel patch=0Ahttp://www.init-main.com/bluetoothkern.tar.gz=0A=0A= Userland code=0Ahttp://www.init-main.com/le_enable-20150302.tar.gz=0A=0AIt= is intended to compatible is existing Bluetooth userland, but =0Acompatib= ility between kernel code is lost and=0Athe userland compatibility may be = broken.=0A=C2=A0=0AGreat! =C2=A0Could you please post two reviews on Phabr= icator for this?=0A=0AThanks,=0A--=0ARui Paulo= From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 4 04:07:38 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 0A5BDF3B for ; Wed, 4 Mar 2015 04:07:38 +0000 (UTC) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id 848D6D47 for ; Wed, 4 Mar 2015 04:07:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 8672944C53 for ; Tue, 3 Mar 2015 22:33:15 +0100 (CET) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id rO_CM1a6L9SD for ; Tue, 3 Mar 2015 22:33:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id DEB8641F9A for ; Tue, 3 Mar 2015 22:33:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no DEB8641F9A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1425418394; bh=Ok2OH7/P/d3J9TdFSzCLnNB3OzJOpod08UYVHDPa+Ag=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=eDRd8o5YBrDLtSALGh+LlpCOinEvYN/AfoBFL7fPzek9wA/hKItNMz5PQcqJZfMEU srzv5khk2hxl6k3pJutbev0G+IaI/8ZFcmEQPwuhGdUb+isqFeeCffdpHtrQc+2Bo7 Z/ywWVjDloMBwe4UM65Kb6H8W/9jq5rVoY4y+gP0= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UrvJ474qXbp3 for ; Tue, 3 Mar 2015 22:33:14 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by bouvier.getmail.no (Postfix) with ESMTPSA id B2B8C44C53 for ; Tue, 3 Mar 2015 22:33:14 +0100 (CET) Date: Tue, 3 Mar 2015 22:33:12 +0100 From: Torfinn Ingolfsen To: freebsd-bluetooth@freebsd.org Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) Message-Id: <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> In-Reply-To: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 04 Mar 2015 04:07:38 -0000 On Sat, 28 Feb 2015 22:03:07 +0100 Torfinn Ingolfsen wrote: > Hello, > I have a Belkin Mini Bluetooth v4.0 dongle (F8T065)[1]. It seems to be Broadcom BCM20702A0 based, but it doesn't register correctly. > Under FreeBSD 9.3-stable: > tingo@kg-core1$ uname -a > FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > In /var/log/messages I have: > Feb 28 20:11:00 kg-core1 root: Unknown USB device: vendor 0x050d product 0x065a bus uhub8 > Feb 28 20:11:00 kg-core1 kernel: ugen3.3: at usbus3 > Feb 28 20:11:00 kg-core1 root: Unknown USB device: vendor 0x050d product 0x065a bus uhub8 > Feb 28 20:11:00 kg-core1 last message repeated 2 times > usbconfig says: > root@kg-core1# usbconfig -d ugen3.3 > ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > device description: > root@kg-core1# usbconfig -d ugen3.3 dump_device_desc > ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x00ff > bDeviceSubClass = 0x0001 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x050d > idProduct = 0x065a > bcdDevice = 0x0112 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <5CF37060F30C> > bNumConfigurations = 0x0001 > ng_ubt is loaded: > root@kg-core1# kldstat > Id Refs Address Size Name > 1 23 0xffffffff80200000 1627bc0 kernel > 2 1 0xffffffff81828000 3958 aibs.ko > 3 1 0xffffffff81a11000 52e4 fdescfs.ko > 4 1 0xffffffff81a17000 46770 linux.ko > 5 1 0xffffffff81a5e000 928b fuse.ko > 6 1 0xffffffff81a68000 4f97 ng_ubt.ko > 7 1 0xffffffff81a6d000 a388 ng_hci.ko > 8 1 0xffffffff81a78000 118b ng_bluetooth.ko > 9 3 0xffffffff81a7a000 b254 netgraph.ko > 10 1 0xffffffff81a86000 3a3c ng_socket.ko > unplugging and replugging the dongle doesn't help. > ngctl says: > root@kg-core1# ngctl li > There are 1 total nodes: > Name: ngctl4015 Type: socket ID: 00000003 Num hooks: 0 > > It behaves the same way under FreeBSD 10.1-stable. More info available here[2]. > > References: > 1) http://www.belkin.com/us/p/P-F8T065/ > 2) https://sites.google.com/site/tingox/belkin_f8t065 > -- > Torfinn Ingolfsen Any hints on getting it to work? -- Torfinn Ingolfsen From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 4 17:27:33 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 8185CE85 for ; Wed, 4 Mar 2015 17:27:33 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (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 46D405E0 for ; Wed, 4 Mar 2015 17:27:33 +0000 (UTC) Received: by igal13 with SMTP id l13so35296944iga.1 for ; Wed, 04 Mar 2015 09:27:32 -0800 (PST) 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=CfVJMD1vv4Usz7DUZ+F4u2wdQfpVG6o/lVnKn6rjmJ0=; b=ecJDeFsrcrO+grFDScjcRiCL2fRsRAYLNChYmEgY67rnptNU9bAP/yw7GishjjxCVT wyF9lKC/bFYGcMmpxtjZDQQhfw2Z8wEq8EA0NcMA3UVUvd9ulXbNywFymVAsLLjBu0jD xe9ObsmRrNHOyP+BK2mu6UcJuLk9k4OlFsMzaGdkjiDGmznV29X3qTHDi3c3NLMU9ibs X5quHMoJw2AXk+LUS9S284OREKzvSGl55OTt3nfiiy2a3l8W99Px8Q4jizMNI//gYIzp xNLjSBQO7ddiL6Ary+xWkX4cLIiCRFJR+mhBavFRTSn4ps8e5bn2YIhzcS7e4Wh+/A6f 1r8A== MIME-Version: 1.0 X-Received: by 10.50.56.82 with SMTP id y18mr39898449igp.25.1425490052727; Wed, 04 Mar 2015 09:27:32 -0800 (PST) Received: by 10.36.67.132 with HTTP; Wed, 4 Mar 2015 09:27:32 -0800 (PST) In-Reply-To: <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> Date: Wed, 4 Mar 2015 09:27:32 -0800 Message-ID: Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) From: Maksim Yevmenkin To: Torfinn Ingolfsen Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" 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, 04 Mar 2015 17:27:33 -0000 hello! >> I have a Belkin Mini Bluetooth v4.0 dongle (F8T065)[1]. It seems to be Broadcom BCM20702A0 based, but it doesn't register correctly. ok >> Under FreeBSD 9.3-stable: >> tingo@kg-core1$ uname -a >> FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 >> In /var/log/messages I have: >> Feb 28 20:11:00 kg-core1 root: Unknown USB device: vendor 0x050d product 0x065a bus uhub8 >> Feb 28 20:11:00 kg-core1 kernel: ugen3.3: at usbus3 >> Feb 28 20:11:00 kg-core1 root: Unknown USB device: vendor 0x050d product 0x065a bus uhub8 ok >> device description: >> root@kg-core1# usbconfig -d ugen3.3 dump_device_desc >> ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0200 >> bDeviceClass = 0x00ff bDeviceClass (0xff) is not matching UDCLASS_WIRELESS (0xe0). most likely it needs some sort of firmware to be loaded first. [...] >> Any hints on getting it to work? it probably needs firmware to be loaded first. you might be able to locate firmware, and, possibly hack on bcmfw(8) in the source tree to get it to load. if you have windows driver try to look at .hex, .img, .bin or something like that files. one of those might be the firmware you are looking for. of course, like i mentioned before, you need to hack something to load firmware. older Broadcom chips can be loaded with bcmfw(8). so its a good place to start. if you can't get it to work, i could take a look but i would need access to hardware. thanks max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 5 00:27:27 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AA1F7DF for ; Thu, 5 Mar 2015 00:27:27 +0000 (UTC) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (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 CF99FB37 for ; Thu, 5 Mar 2015 00:27:26 +0000 (UTC) Received: by qgfi50 with SMTP id i50so2737743qgf.10 for ; Wed, 04 Mar 2015 16:27:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=IYDSyqSsZb7KVsIFjCOWKORIJS4njVjQFb9aICsTvOg=; b=oSbTAbH2CH6er3xT76sElt8CNfY/Znkyr8vf8b/eZMc8FfGpJFi1wYSBM64nWstD8I qNHyciYR4un0AQqFMsfth4o0U9dnCdQr7uOMoDMrXoV2GjMuiHYSKG50YVflK6e5HMdX PgpfxM7lADxCBzXg2YsckOnth3fHEmJVkJLSLAz/wjUF80eN5ePMInDuzBXvqUwU0UPq TT5D/iQUAkmLeMkfzXndh6be4TkIKMeM6PIHe4/RsXpADVAhulShZ2ddrK6GFzxsbyAl tQmXr9BHUackgb56sssMS/yxra7D1oRwEBY3yPKlMllGLfgfVkUliaGMvGssP/OEnI4W SEEg== X-Received: by 10.140.192.15 with SMTP id n15mr9420277qha.28.1425515245736; Wed, 04 Mar 2015 16:27:25 -0800 (PST) Received: from [10.230.69.170] ([205.197.242.161]) by mx.google.com with ESMTPSA id n34sm3055831qge.27.2015.03.04.16.27.24 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Mar 2015 16:27:25 -0800 (PST) References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> Mime-Version: 1.0 (1.0) In-Reply-To: <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (12B466) From: maksim yevmenkin Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) Date: Wed, 4 Mar 2015 16:27:23 -0800 To: Torfinn Ingolfsen Cc: "freebsd-bluetooth@freebsd.org" 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: Thu, 05 Mar 2015 00:27:27 -0000 >> [...] >>=20 >>>> Any hints on getting it to work? >>=20 >> it probably needs firmware to be loaded first. you might be able to >> locate firmware, and, possibly hack on bcmfw(8) in the source tree to >> get it to load. >>=20 >> if you have windows driver try to look at .hex, .img, .bin or >=20 > The included CD-ROM contains (Windows) software, organazied in nice folder= s with names WIN8, WIN7 and so on. I used the WIN7 folder for this example. > The folder contains just one file Setup.exe, but 7za can look into the arc= hive. There are a lof of .hex files there, so I extract the archive. > Looking in the file bcbtums-win7x86-brcm.inf (text), I figure out that the= correct firmwre file is named BCM20702A1_001.002.014.0889.0927.hex ...=20 Yes, I think this is the firmware.=20 >> looking for. of course, like i mentioned before, you need to hack >> something to load firmware. older Broadcom chips can be loaded with >> bcmfw(8). so its a good place to start.=20 >=20 > If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to d= ownload firmware? You might be able to use ugen.=20 >=20 > Thanks for taking the time to answer my questions. > --=20 No problem.=20 Good luck! Thanks Max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 5 07:20:18 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 6847DB52 for ; Thu, 5 Mar 2015 07:20:18 +0000 (UTC) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:c:538::198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FB489CE for ; Thu, 5 Mar 2015 07:20:17 +0000 (UTC) Received: from mfilter10-d.gandi.net (mfilter10-d.gandi.net [217.70.178.139]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 50551FB86E; Thu, 5 Mar 2015 08:20:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter10-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter10-d.gandi.net (mfilter10-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id FhmMrEOXCoKu; Thu, 5 Mar 2015 08:20:15 +0100 (CET) X-Originating-IP: 31.68.69.233 Received: from galant.ogmig.net (unknown [31.68.69.233]) (Authenticated sender: plunky@ogmig.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 59B0DFB8A3; Thu, 5 Mar 2015 08:20:13 +0100 (CET) Received: by galant.ogmig.net (Postfix, from userid 1000) id 0CAA02600A9; Thu, 5 Mar 2015 07:20:00 +0000 (GMT) Date: Thu, 5 Mar 2015 07:19:59 +0000 (GMT) From: Iain Hibbert To: Torfinn Ingolfsen Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) In-Reply-To: Message-ID: References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> User-Agent: Alpine 2.11 (NEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "freebsd-bluetooth@freebsd.org" 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: Thu, 05 Mar 2015 07:20:18 -0000 On Wed, 4 Mar 2015, maksim yevmenkin wrote: > >> looking for. of course, like i mentioned before, you need to hack > >> something to load firmware. older Broadcom chips can be loaded with > >> bcmfw(8). so its a good place to start. > > > > If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to download firmware? > > You might be able to use ugen. there is an equivalent program I wrote (for NetBSD) which used the ugen interface to load Broadcom firmware, it may be useful.. http://www.netbsd.org/~plunky/bcmfw-1.0.tar.gz regards, iain From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 5 16:02:58 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 A42ACE44 for ; Thu, 5 Mar 2015 16:02:58 +0000 (UTC) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (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 65C14DB6 for ; Thu, 5 Mar 2015 16:02:58 +0000 (UTC) Received: by iebtr6 with SMTP id tr6so4471012ieb.4 for ; Thu, 05 Mar 2015 08:02:57 -0800 (PST) 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=r1/OnDFFHEaHCljQvT4qmiOmffe/vfCCWgDFB5EMiLc=; b=0rcTg5OgVVyF+CUs0txkGzqbdDxhz1o4EeVr1X95A2NXT/IfgvOdXLjFY4TQ/lrN3a JlXlPf4KmbAK1Xj2Dd9dz5BkFGBcin7UOCyzARBtwTCdI+mg/SvnGB8GjlqKxT8gdWnS v26lwYemQ+o5ny7K391ek5LD8SxwB5pYki3WxpWZ6oEWKNNjo2geUrRLh2GumiEgT2t0 yhN5C+tXM7ymUTrqdoQyw+Fa3hQytKhFIpxlRcn6GKMubDp4ExOyiA+RUn8ZPiI09ktT 3RBgadR6FJAGFmeGfcIqXOGNHBt/qPkehrdkt3tc8KZa4C7u0G5zHpxIQlDYr8Bi/QlL mVdw== MIME-Version: 1.0 X-Received: by 10.42.66.208 with SMTP id q16mr4489006ici.11.1425571377705; Thu, 05 Mar 2015 08:02:57 -0800 (PST) Received: by 10.36.67.132 with HTTP; Thu, 5 Mar 2015 08:02:57 -0800 (PST) In-Reply-To: References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> Date: Thu, 5 Mar 2015 08:02:57 -0800 Message-ID: Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) From: Maksim Yevmenkin To: Torfinn Ingolfsen Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" 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: Thu, 05 Mar 2015 16:02:58 -0000 On Wed, Mar 4, 2015 at 11:19 PM, Iain Hibbert wrote: > On Wed, 4 Mar 2015, maksim yevmenkin wrote: > >> >> looking for. of course, like i mentioned before, you need to hack >> >> something to load firmware. older Broadcom chips can be loaded with >> >> bcmfw(8). so its a good place to start. >> > >> > If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to download firmware? >> >> You might be able to use ugen. > > there is an equivalent program I wrote (for NetBSD) which used the ugen > interface to load Broadcom firmware, it may be useful.. > > http://www.netbsd.org/~plunky/bcmfw-1.0.tar.gz thanks, Iain! :) it is also trivial to hack ubtbcmfw(4) and add extra device ID there. in any case, there are multiple options available to you. of course, please feel free to ask if you need help thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 5 22:43:35 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 1DD16F28 for ; Thu, 5 Mar 2015 22:43:35 +0000 (UTC) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id B48F9399 for ; Thu, 5 Mar 2015 22:43:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 6F92043AF7 for ; Thu, 5 Mar 2015 23:43:27 +0100 (CET) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id p6r8v3hhgFA2 for ; Thu, 5 Mar 2015 23:43:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id A22C944407 for ; Thu, 5 Mar 2015 23:43:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no A22C944407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1425595406; bh=QqwmAztKk/q2wTMXOTxMSpRBgsfbwqqeh2XIHlR23uM=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=s18x6Hyr0Jspd31szFle/n70xNZIAKFDO3zAydJ55L5a1tbd5BTV4cf1JzgEJaFir LIzhroHOnSbsalzd5Xj2q4yw3PjWm0oDNI2LSamDzO0LnrK1ZiupYRDiHD3XPXS2Do AbnneGp0aG2EPwH/qay9ZH0zghf7nUHtzs5CMmKQ= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id r6-4StalP_Fi for ; Thu, 5 Mar 2015 23:43:26 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by bouvier.getmail.no (Postfix) with ESMTPSA id 7C58C43C73 for ; Thu, 5 Mar 2015 23:43:26 +0100 (CET) Date: Thu, 5 Mar 2015 23:43:19 +0100 From: Torfinn Ingolfsen To: "freebsd-bluetooth@freebsd.org" Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) Message-Id: <20150305234319.89f5e1bf9baf7c36f9f6c75b@getmail.no> In-Reply-To: References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Thu, 05 Mar 2015 22:43:35 -0000 On Thu, 5 Mar 2015 08:02:57 -0800 Maksim Yevmenkin wrote: > On Wed, Mar 4, 2015 at 11:19 PM, Iain Hibbert wrote: > > On Wed, 4 Mar 2015, maksim yevmenkin wrote: > > > >> >> looking for. of course, like i mentioned before, you need to hack > >> >> something to load firmware. older Broadcom chips can be loaded with > >> >> bcmfw(8). so its a good place to start. > >> > > >> > If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to download firmware? > >> > >> You might be able to use ugen. Ok, I didn't think of that. A quick hack on a copy of bcmfw, and I have this: removed the check for '-m': tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex bcmfw[45566]: Unsupported device, VendorID=0x50d, ProductID=0x65a that is as should be - cool. Next, I add the correct VendorID and ProductID, and comment out the mini-driver download part. Now I get this: tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex bcmfw[45611]: Could not open(/dev/ugen3.3.1). No such file or directory (2) Hmm, change BCMFW_INTR_EP to 0 (zero) then. tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex bcmfw[45673]: Could not open(/dev/ugen3.3.0). No such file or directory (2) Ok, I'm doing things I don't know here, but dump current description says (in part) root@kg-core1# usbconfig -d ugen3.3 dump_curr_config_desc ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x00da bNumInterfaces = 0x0004 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0001 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0010 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 [...cut...] and Interface 1 is all isochronous, Interface 2 is bulk in / out, and Interface 3 is "special" (or rather, then endpoints of the interface are ...) How do I know (or figure out) which interface is the correct one to use? -- Torfinn Ingolfsen From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 5 23:19:50 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12618937 for ; Thu, 5 Mar 2015 23:19:50 +0000 (UTC) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (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 C5F8690C for ; Thu, 5 Mar 2015 23:19:49 +0000 (UTC) Received: by iebtr6 with SMTP id tr6so8000767ieb.2 for ; Thu, 05 Mar 2015 15:19:49 -0800 (PST) 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=igte61/c/rlw/A2wFK4JdWbutakN1n0xpQYUqOSbUAQ=; b=V6ciR6ApCjF4BnYFtqhuMEZTaovvzN302S//0GAZspIhF0ogCRTIHqraH10sWGY6td +FkjJc6xET21DZJQLUhfJvhWNYtw+M0gHFKQoPe9hJh+/1T5PvfPblqQoTuWgVocr1Yf 4397txIiKkILSNKfBzTbEVOZXjM2qhj6YaTfRhRg7M2nV302t86MvH0jG7xZvQ/jzx/F HiSq5OqtJZ9A35gDcxh3BykgQ6Z7qbLyXoTRe297V90nozMHNErQRNFV/advuH1IzmiH 0mXcw6vwcMna3xSuqtNEr5K0ypowlN9V7KhGkDvqu3A5L2IuXWR4J1gS5zhpXGgIdtA9 rCHQ== MIME-Version: 1.0 X-Received: by 10.107.137.226 with SMTP id t95mr24351454ioi.10.1425597589225; Thu, 05 Mar 2015 15:19:49 -0800 (PST) Received: by 10.36.67.132 with HTTP; Thu, 5 Mar 2015 15:19:49 -0800 (PST) In-Reply-To: <20150305234319.89f5e1bf9baf7c36f9f6c75b@getmail.no> References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> <20150305234319.89f5e1bf9baf7c36f9f6c75b@getmail.no> Date: Thu, 5 Mar 2015 15:19:49 -0800 Message-ID: Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) From: Maksim Yevmenkin To: Torfinn Ingolfsen Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" 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: Thu, 05 Mar 2015 23:19:50 -0000 On Thu, Mar 5, 2015 at 2:43 PM, Torfinn Ingolfsen wrote: > On Thu, 5 Mar 2015 08:02:57 -0800 > Maksim Yevmenkin wrote: > >> On Wed, Mar 4, 2015 at 11:19 PM, Iain Hibbert wrote: >> > On Wed, 4 Mar 2015, maksim yevmenkin wrote: >> > >> >> >> looking for. of course, like i mentioned before, you need to hack >> >> >> something to load firmware. older Broadcom chips can be loaded with >> >> >> bcmfw(8). so its a good place to start. >> >> > >> >> > If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to download firmware? >> >> >> >> You might be able to use ugen. > > Ok, I didn't think of that. > A quick hack on a copy of bcmfw, and I have this: > removed the check for '-m': > tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex > bcmfw[45566]: Unsupported device, VendorID=0x50d, ProductID=0x65a can you please tell which copy is it? netbsd or freebsd one? > that is as should be - cool. > Next, I add the correct VendorID and ProductID, and comment out the mini-driver download part. > Now I get this: > tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex > bcmfw[45611]: Could not open(/dev/ugen3.3.1). No such file or directory (2) > Hmm, change BCMFW_INTR_EP to 0 (zero) then. ...hmm.... > tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex > bcmfw[45673]: Could not open(/dev/ugen3.3.0). No such file or directory (2) yes, that's not going to work, i think... > Ok, I'm doing things I don't know here, but dump current description says (in part) > root@kg-core1# usbconfig -d ugen3.3 dump_curr_config_desc > ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) ... i think you need to use libusb. here some linux python code that might be of some help https://github.com/Dolnor/DELL-SCT-Support/blob/master/Clover/OEM/Wireless/SLE/BTFirmwareUploader.kext/Contents/Resources/bcmfwup.py thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 6 00:06:26 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20FC6E53 for ; Fri, 6 Mar 2015 00:06:26 +0000 (UTC) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (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 D3F2ED8B for ; Fri, 6 Mar 2015 00:06:25 +0000 (UTC) Received: by iecar1 with SMTP id ar1so81386191iec.11 for ; Thu, 05 Mar 2015 16:06:25 -0800 (PST) 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=Q921cA/XVR4whI4TMWEqh7zOmkGTpRCxYSSKVV5mjn0=; b=uTWy0m7SvQ+mpjDhstkEBpf1NCE58yxNLHkiTrviTO47lP6G1z7sPjzgnpAP89ip0J Z5YemVTJdyAUeJA0fjp9xVxa0TUFPJKleVspTsIyIQ4EVHSG71+PtfExwf0cFCiBt74R 4VYwYXZbm5kozrwmygLUgXdLWEnbMftdcY5mU0tMRCLXW8LX/+ytCapZK5M5oEiUONho GobYfwaD7V3aOsZBUmMGW2QBVPB7vTB+jaGOv5SsDJnlKoO5hP8G5EKXpBlJpZ0hOasM nHL5FHagDyo2DHn4y8NvwHVObn+Axd98Z7YQcAzv/a9NLQgJMNadn4DOCjp6RuX+3Odn xCxQ== MIME-Version: 1.0 X-Received: by 10.42.30.4 with SMTP id t4mr5765069icc.48.1425600385255; Thu, 05 Mar 2015 16:06:25 -0800 (PST) Received: by 10.36.67.132 with HTTP; Thu, 5 Mar 2015 16:06:25 -0800 (PST) In-Reply-To: References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> <20150305234319.89f5e1bf9baf7c36f9f6c75b@getmail.no> Date: Thu, 5 Mar 2015 16:06:25 -0800 Message-ID: Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) From: Maksim Yevmenkin To: Torfinn Ingolfsen Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" 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: Fri, 06 Mar 2015 00:06:26 -0000 [...] > i think you need to use libusb. here some linux python code that might > be of some help > > https://github.com/Dolnor/DELL-SCT-Support/blob/master/Clover/OEM/Wireless/SLE/BTFirmwareUploader.kext/Contents/Resources/bcmfwup.py just a few of comments - the code above seems to be parsing and reading .hex file into the memory - the .hex, might be intex hex, i.e. http://en.wikipedia.org/wiki/Intel_HEX - upload initialized by sending a couple of VENDOR HCI commands, i.e. [0x79, 0xfc, 0x00] and [0x2e, 0xfc, 0x00] - decoded firmware then uploaded using bulk(?) transfers - upload finalized by sending 3 other VENDOR HCI commands, i.e. [0x4e, 0xfc, 0x04, 0xff, 0xff, 0xff, 0xff], [0x79, 0xfc, 0x00] and [0x53, 0xfc, 0x01, 0x13] - finally device is reset by sending HCI RESET command, i.e. [0x03, 0x0c, 0x00] this is definitely not what ubtbcmfw(4) and bcmfw(8) pair does. so, basically, you have to write something from scratch using libusb api. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 6 03:18:05 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CC7CE8A for ; Fri, 6 Mar 2015 03:18:05 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id E517626B for ; Fri, 6 Mar 2015 03:18:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 1700345AAF; Wed, 4 Mar 2015 22:59:20 +0100 (CET) Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 5nGPdu3wHD0t; Wed, 4 Mar 2015 22:59:19 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 89935549BA; Wed, 4 Mar 2015 22:59:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 galore.getmail.no 89935549BA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1425506359; bh=52+NYdD3gN2Sc0qPWrwMVk5TYOzp2HJOByRMEYjtmNQ=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=ug2ozvr5GFB7jgzkyuTnxDDAHAkbxIp8gc6adb0b8r2zLw+wsSa/XUH4LbNBn3RkR uUfsJZqDw44E03AFsSKRX1Xj+XYRHMRLn+XuYUdUTIWp5POj6NGy2eysiIISBnd4XY YUftme3gRQM+dtfGCnokuap5aAD3bFpzfmgp15C0= X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oaJW9OQKyN1I; Wed, 4 Mar 2015 22:59:19 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by galore.getmail.no (Postfix) with ESMTPSA id 5E76A45AAF; Wed, 4 Mar 2015 22:59:19 +0100 (CET) Date: Wed, 4 Mar 2015 22:59:17 +0100 From: Torfinn Ingolfsen To: Maksim Yevmenkin Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) Message-Id: <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> In-Reply-To: References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-bluetooth@freebsd.org" 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: Fri, 06 Mar 2015 03:18:05 -0000 On Wed, 4 Mar 2015 09:27:32 -0800 Maksim Yevmenkin wrote: > > bDeviceClass (0xff) is not matching UDCLASS_WIRELESS (0xe0). most > likely it needs some sort of firmware to be loaded first. Good call. I'll have a look. > > [...] > > >> Any hints on getting it to work? > > it probably needs firmware to be loaded first. you might be able to > locate firmware, and, possibly hack on bcmfw(8) in the source tree to > get it to load. > > if you have windows driver try to look at .hex, .img, .bin or The included CD-ROM contains (Windows) software, organazied in nice folders with names WIN8, WIN7 and so on. I used the WIN7 folder for this example. The folder contains just one file Setup.exe, but 7za can look into the archive. There are a lof of .hex files there, so I extract the archive. Looking in the file bcbtums-win7x86-brcm.inf (text), I figure out that the correct firmwre file is named BCM20702A1_001.002.014.0889.0927.hex Inspecting the file closer I find: tingo@kg-core1$ ls -l BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex -rw-r--r-- 1 tingo users 57263 Oct 17 2012 BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex tingo@kg-core1$ file BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex: ASCII text, with very long lines, with CRLF line terminators tingo@kg-core1$ srec_info BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex Format: Motorola S-Record srec_info: BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex: 1: warning: ignoring garbage lines srec_info: BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex: 136: file contains no data tingo@kg-core1$ wc -l BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex 135 BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex I'm not sure why srec_info complains, the first few lines of the file looks like this: tingo@kg-core1$ head -5 BTW12/Win32/BCM20702A1_001.002.014.0889.0927.hex :020000040009F1 :280000000108006999994204204EB1FD0400FFFFFFFF4006000000A0027020020A00280009000000000000001D :FB002800411A0042726F6164636F6D20426C7565746F6F746820446576696365004C30003003420043004D00390032003000370030003200200042006C007500650074006F006F0074006800200034002E003000980100035C0100017206000300000800019304002000000068040012000C006A3600030012000000B0000000A0000000431008045310020180000000900000006310040273100402C1000000D000000020000000300000006902009F035D0C000A64E6B000008898425A33435F09003C280100040004F70C0A6F0098160800C600F3025D0066033000C900E10268005C033600C300E2026A0053033C00C200E1026C004E034100C500D6026C :FB01230072004A034300C300CE02790042034800C500C00283003A034E00C800BF0282003B034E00C900BC028400370352000808070707070707060606060505050502C0F00094FC0E00FFFF00005E02000030FC0E00FFFF0F006304000000FD0E00FFFF00006602000088FC0E00FFFF0000000400002CFC0E00FFFF00004904000070FC0E00FFFF00000B09000074FC0E00FFFF00002E010000D8FF0E00FFFF000062190000D0FC0E00FFFF000020C90000C8FC0E00FFFF000038850000DCFC0E00FFFF00001CC80000CCFD0E00FFFF0000048000005CFC0E00FFFF00000200000020FC0E00FFFF000019210000E0FC0E000080000000000000C0FC0E00FF3C :FB021E00FF000022000000948F0800FFFFFFFF00100010988F0800FFFF0000001000009C8F080000FFFFFF000A0A0ACCFC0E00FFFF00002B450000D07B0001040A08FC0E00FFFF00002E3600000CFC0E00FFFF00002CAE000010FC0E00FFFF00002AAC000014FC0E00FFFF0000A222000018FC0E00FFFF00001D2000001CFC0E00FFFF00000D15000020FC0E00FFFF0000858D000024FC0E00FFFF00008311000028FC0E00FFFF00000001000098FF0E00FFFF00003E410000C3160012691419310870047836042430607180764A3108290ACF0900100F0C6EF0B009F060D10900010403036B1420206B1A2400FF0108080A10060E020CFE0AFA08F606F20484 So the firmware route seems possible. > looking for. of course, like i mentioned before, you need to hack > something to load firmware. older Broadcom chips can be loaded with > bcmfw(8). so its a good place to start. If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to download firmware? Thanks for taking the time to answer my questions. -- Torfinn Ingolfsen From owner-freebsd-bluetooth@FreeBSD.ORG Sat Mar 7 18:16:32 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 A8C8C9B0 for ; Sat, 7 Mar 2015 18:16:32 +0000 (UTC) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id 32720119 for ; Sat, 7 Mar 2015 18:16:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 57E3D437EA for ; Sat, 7 Mar 2015 19:10:53 +0100 (CET) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id FYNFAIjnhD4C for ; Sat, 7 Mar 2015 19:10:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 12070438F6 for ; Sat, 7 Mar 2015 19:10:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no 12070438F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1425751852; bh=dM8mcJc1FO1HnWMuvAoJ/SjMSwHv5897p9ejYK6wCW0=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=q83j51CRRvvBDzhv3Zzt9kSiezLgr/S7OV38ArfMYk+hsgnjvggXTQo0ry9iWrHsj AZsjbhASmcpfEbJUOtDoJJI7eoxw3mzMaVHGB7CROoh7JA+gy/Cp4jy5r/w7b8EhXk DhPr+Aky5a1jpp215BmU9HY95tjlbXhDD+V/KEa4= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gh8Dt-1cCI4i for ; Sat, 7 Mar 2015 19:10:51 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by bouvier.getmail.no (Postfix) with ESMTPSA id DA215437EA for ; Sat, 7 Mar 2015 19:10:51 +0100 (CET) Date: Sat, 7 Mar 2015 19:10:51 +0100 From: Torfinn Ingolfsen To: "freebsd-bluetooth@freebsd.org" Subject: Re: Belkin F8T065 doesn't register properly (BCM20702A0) Message-Id: <20150307191051.3e6e8cb4c60146cb09881321@getmail.no> In-Reply-To: References: <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> <20150305234319.89f5e1bf9baf7c36f9f6c75b@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Sat, 07 Mar 2015 18:16:32 -0000 On Thu, 5 Mar 2015 15:19:49 -0800 Maksim Yevmenkin wrote: > On Thu, Mar 5, 2015 at 2:43 PM, Torfinn Ingolfsen > wrote: > > On Thu, 5 Mar 2015 08:02:57 -0800 > > Maksim Yevmenkin wrote: > > > >> On Wed, Mar 4, 2015 at 11:19 PM, Iain Hibbert wrote: > >> > On Wed, 4 Mar 2015, maksim yevmenkin wrote: > >> > > >> >> >> looking for. of course, like i mentioned before, you need to hack > >> >> >> something to load firmware. older Broadcom chips can be loaded with > >> >> >> bcmfw(8). so its a good place to start. > >> >> > > >> >> > If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to download firmware? > >> >> > >> >> You might be able to use ugen. > > > > Ok, I didn't think of that. > > A quick hack on a copy of bcmfw, and I have this: > > removed the check for '-m': > > tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex > > bcmfw[45566]: Unsupported device, VendorID=0x50d, ProductID=0x65a > > can you please tell which copy is it? netbsd or freebsd one? Of course, sorry for forgetting; it is the one from FreeBSD. > i think you need to use libusb. here some linux python code that might > be of some help > > https://github.com/Dolnor/DELL-SCT-Support/blob/master/Clover/OEM/Wireless/SLE/BTFirmwareUploader.kext/Contents/Resources/bcmfwup.py I'll have a look at it. -- Torfinn Ingolfsen