From owner-freebsd-arm@FreeBSD.ORG Tue May 28 17:07:37 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 A585A784; Tue, 28 May 2013 17:07:37 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by mx1.freebsd.org (Postfix) with ESMTP id 69961959; Tue, 28 May 2013 17:07:37 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id f4so10194767oah.24 for ; Tue, 28 May 2013 10:07:36 -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=KCxOLsDkOeNvIio72j8i2oZWTHJcuywsUleeMn82ub8=; b=UwUzDl/IvhhUSnMSbJa1tRFLvMgkTldNFJE7U3U4dxVGUKk7d6eAcDB11rX6nTw/ME +XG+w/cbhn2c29VY2MuZPO+MUrQ5YavMt4SF63Z5wD8PtePhaWx44B1lrgxLc2YK0OZF 4CoU+9fxNWlAvrO1cGZM8iM2zYSXlJnjLhHwDbeLDxxv9L6XBIy2Py9cUl2mhjV0h0rp o6N+lS1kqqsj5fICJ/BKDEVsrUCEXQq6QSEt0wbnTHoOL3nINuMkpc5/H0QKpnYpiMdD fNGOF5W7YtdYTr6vXkElug//+qS4+nhvg+YXC9GRsOqsEG7lbZbeu1aL5bAYrPzer9An oI5Q== MIME-Version: 1.0 X-Received: by 10.60.38.197 with SMTP id i5mr21760965oek.66.1369760856523; Tue, 28 May 2013 10:07:36 -0700 (PDT) Received: by 10.76.166.133 with HTTP; Tue, 28 May 2013 10:07:36 -0700 (PDT) In-Reply-To: <20130528120155.GA69592@eris.bzerk.org> References: <20130528120155.GA69592@eris.bzerk.org> Date: Tue, 28 May 2013 10:07:36 -0700 Message-ID: Subject: Re: NETGRAPH not working on ARM? From: Maksim Yevmenkin To: Ruben de Groot Content-Type: text/plain; charset=ISO-8859-1 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 17:07:37 -0000 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 max