Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 15:05:42 -0800
From:      Peter Wemm <peter@wemm.org>
To:        freebsd-current@freebsd.org
Cc:        freeze <freeze@uscc.ru>
Subject:   Re: troubles with bluetooth configuration
Message-ID:  <200503301505.42627.peter@wemm.org>
In-Reply-To: <424AE3E6.3060102@savvis.net>
References:  <585362735.20050330120814@uscc.ru> <11814573315.20050330144144@uscc.ru> <424AE3E6.3060102@savvis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 30 March 2005 09:37 am, Maksim Yevmenkin wrote:
> Hello,
>
> >  When I try to initiate my local bt (/etc/rc.bluetooth start ubt0),
> > I receive an error message: Can`t load ng_bluetooth.
>
> ok, what is the exact error message?
>

There is a bug in the module declaration in 
sys/netgraph/bluetooth/common/ng_bluetooth.c

Near 'bluetooth_mod' there is a string in the structure that says 
"bluetooth" when it should say "ng_bluetooth".

--- ng_bluetooth.c      7 Jan 2005 01:45:42 -0000       1.5
+++ ng_bluetooth.c      30 Mar 2005 23:04:44 -0000
@@ -243,7 +243,7 @@
  */

 static moduledata_t    bluetooth_mod = {
-       "bluetooth",
+       "ng_bluetooth",
        bluetooth_modevent,
        NULL
 };

The problem is that it is exporting a module called "bluetooth" when the 
scripts and module loader are expecting "ng_bluetooth".
-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503301505.42627.peter>