Skip site navigation (1)Skip section navigation (2)
Date:      18 Sep 2005 09:39:41 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Andrew Pogrebennyk <andrew.nau.ua@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bluetooth-related question
Message-ID:  <44fys2ebqa.fsf@be-well.ilk.org>
In-Reply-To: <20050917165657.11b30093@darkstar>
References:  <20050917165657.11b30093@darkstar>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Pogrebennyk <andrew.nau.ua@gmail.com> writes:

> Hi! Recently I've bought USB-Bluetooth-adapter and made the following
> changes to setup it in FreeBSD: added ng_ubt_load="YES"
> to /boot/loader.conf,
> cp'ed /usr/share/examples/netgraph/bluetooth/rc.bluetooth
> to /etc/rc.bluetooth, chmod'ed 555 /etc/rc.bluetooth and
> changed wrote next lines in /etc/rc.local: 
> 
> $ cat /etc/rc.local 
> #!/bin/sh 
> if [ -f /etc/rc.bluetooth ]; 
> 	then /etc/rc.bluetooth start ubt0 
> fi
> 
> Daemons like hcsecd and sdpd will be added to /etc/rc.local when needed.
> Everything works fine but the question is why I'm recieving following
> warning (they're white-colored) during startup: 
> WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() 
> WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
> 
> Besides, <ubt0: D-Link DBT-122, rev 1.10/0.01, addr 2> appears also
> twice. Did I managed everything right, perphaps I should move startup
> of bluetooth stack from rc.local to a more early script? Here's that
> part of dmesg output:
> 
> $ dmesg
> Copyright (c) 1992-2005 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights
> reserved. FreeBSD 6.0-BETA4 #0: Wed Sep 14 12:27:36 EEST 2005
>     andrew@darkstar:/usr/obj/usr/src/sys/NEUTRINO
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Athlon(TM) XP 1700+ (1459.51-MHz 686-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
> /* stripped */
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
> isa0 ubt0: D-Link DBT-122, rev 1.10/0.01, addr 2
> ubt0: D-Link DBT-122, rev 1.10/0.01, addr 2
> ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
> ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3;
> wMaxPacketSize=64; nframes=5, buffer size=320 ums0: Microsoft Microsoft
> 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 3, iclass 3/1
> ums0: 5 buttons and Z dir. Timecounter "TSC" frequency 1459506295 Hz
> quality 800 Timecounters tick every 1.000 msec
> ad0: 76319MB <Seagate ST380011A 3.06> at ata0-master UDMA100
> acd0: CDROM <PLEXTOR CD-ROM PX-54TA/1.00> at ata1-master UDMA33
> acd1: DMA limited to UDMA33, device found non-ATA66 cable
> acd1: CDRW <ATAPI COMBO52XMAX/VER 1.10> at ata1-slave UDMA33
> Trying to mount root from ufs:/dev/ad0s1a
> pflog0: promiscuous mode enabled
> WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
> WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
> 							Regards, Andrew

Do you have anything else using netgraph?



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