From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 29 15:50:36 2013 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C908EFA5; Wed, 29 May 2013 15:50:36 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 8E72037E; Wed, 29 May 2013 15:50:36 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r4TFo63I023523; Wed, 29 May 2013 15:50:06 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id znqygajh8vcm7if9tm8z7syxxn; Wed, 29 May 2013 15:50:06 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: NETGRAPH not working on ARM? Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: <20130528203226.GA74208@eris.bzerk.org> Date: Wed, 29 May 2013 08:50:05 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <130AE27E-F4C1-414B-890E-2F3B1458C6B4@kientzle.com> References: <20130528120155.GA69592@eris.bzerk.org> <20130528203226.GA74208@eris.bzerk.org> To: Ruben de Groot X-Mailer: Apple Mail (2.1283) Cc: "freebsd-bluetooth@freebsd.org" , freebsd-arm@freebsd.org X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:50:36 -0000 On May 28, 2013, at 1:32 PM, Ruben de Groot wrote: > On Tue, May 28, 2013 at 10:07:36AM -0700, Maksim Yevmenkin typed: >> On Tue, May 28, 2013 at 5:01 AM, Ruben de Groot = wrote: >>> Hi, >>>=20 >>> I'm trying to port an embedded bluetooth scanner running debian to = FreeBSD on a RPi. De usb dongle is recognized as ubt0, but I can't get = it to work. >>>=20 >>> root@raspberry-pi:~ # service bluetooth start ubt0 >>> /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for = device ubt0 >>=20 >> this should not be required if you are running devd(8). devd will >> automatically issue start when device is attached. >>=20 >>> In my custom kernel I have: >>>=20 >>> # USB bluetooth >>> options NETGRAPH # netgraph(4) system >>> options NETGRAPH_BLUETOOTH # ng_bluetooth(4) >>> options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) >>> options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) >>> options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) >>> options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) >>> options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) >>> options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) >>>=20 >>> But: >>>=20 >>> root@raspberry-pi:~ # ngctl list >>> ngctl: can't create node: No such file or directory >>>=20 >>> Is Netgraph not supposed to work in freebsd-arm? >>=20 >> you are missing more netgraph modules, NETGRAPH_SOCKET is missing for >> sure. would it be possible to try and use modular GENERIC kernel = first >> and get it to work before try stripping things down. >=20 > Thanks for your reply Max > There is no GENERIC kernel ;). Unfortunately, on arm, my understanding = is that loadable modules are not (yet?) supported. They are surely not = being build.=20 We should be building modules for RPi and a few other popular boards by default. We should run some build tests to see how broken it is before committing the one-line change. It's been a while since I tried building "all modules" =85. Tim