From owner-freebsd-arm@FreeBSD.ORG Tue May 28 20:32:33 2013 Return-Path: Delivered-To: freebsd-arm@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 D2893745; Tue, 28 May 2013 20:32:33 +0000 (UTC) (envelope-from fbsd-arm@bzerk.org) Received: from eris.bzerk.org (unknown [IPv6:2001:980:18dd:1:192:168:179:45]) by mx1.freebsd.org (Postfix) with ESMTP id 492FA5E6; Tue, 28 May 2013 20:32:33 +0000 (UTC) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.6/8.14.5) with ESMTP id r4SKWQCG074460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 May 2013 20:32:27 GMT (envelope-from fbsd-arm@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.6/8.14.6/Submit) id r4SKWQQl074459; Tue, 28 May 2013 20:32:26 GMT (envelope-from fbsd-arm@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to fbsd-arm@bzerk.org using -f Date: Tue, 28 May 2013 20:32:26 +0000 From: Ruben de Groot To: Maksim Yevmenkin Subject: Re: NETGRAPH not working on ARM? Message-ID: <20130528203226.GA74208@eris.bzerk.org> References: <20130528120155.GA69592@eris.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-11.0 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (eris.bzerk.org [127.0.0.1]); Tue, 28 May 2013 20:32:32 +0000 (UTC) Cc: "freebsd-bluetooth@freebsd.org" , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 20:32:33 -0000 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, > > > > 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. > > > > root@raspberry-pi:~ # service bluetooth start ubt0 > > /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 > > this should not be required if you are running devd(8). devd will > automatically issue start when device is attached. > > > In my custom kernel I have: > > > > # 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) > > > > But: > > > > root@raspberry-pi:~ # ngctl list > > ngctl: can't create node: No such file or directory > > > > Is Netgraph not supposed to work in freebsd-arm? > > 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. 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. Therefore I am not stripping down, I'm trying to find the necessary modules to include in my monolithic freebsd-arm kernel to get this to work. At least yours and others remarks gives me hope my problem can be resolved without patches :) So I will now build another kernel with NETGRAPH_SOCKET. I will also check on an i386 system where modules are available to see which need to be loaded. Thanks again! -- Ruben de Groot :(){ :|:& };: > thanks > max