From owner-freebsd-bluetooth@FreeBSD.ORG Fri Apr 20 17:46:07 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4103816A402 for ; Fri, 20 Apr 2007 17:46:07 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.240]) by mx1.freebsd.org (Postfix) with ESMTP id F2EC113C45E for ; Fri, 20 Apr 2007 17:46:06 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by ag-out-0708.google.com with SMTP id 31so2390718agc for ; Fri, 20 Apr 2007 10:46:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Avc8Cnocb0Yhg+X+tfM+rGkaP988ufgXoMWJxNWR9Xk4a1RgllceHdmNU+D3D2yCbBPjN31q3zOpHCsX06r/P06OhNbd+lQAw4wiHOxMM1Z9PsrldSKSvb/swDhMaTGmO1suwzs3hdKRNc6Zimj8ZNpGRVzA+/ZlaRaRSqelfuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZL/LsOXNDErG0HjiMU/AOE8R9a5wAfnWG7v3hVTSDAD+//w6y71t6e7hn0gzrHtTz+7LFOMWqHaizVGW3NcLFahy4jTz5bs5YLitBn1gOz1+eTcTVgJlZRtlUQrEWajVyTHrbP/yA3ZqYIHAT2Kp6UA1SOI04SFXEybBrv6NGQk= Received: by 10.100.135.16 with SMTP id i16mr1837919and.1177091165406; Fri, 20 Apr 2007 10:46:05 -0700 (PDT) Received: by 10.100.111.18 with HTTP; Fri, 20 Apr 2007 10:46:05 -0700 (PDT) Message-ID: Date: Fri, 20 Apr 2007 10:46:05 -0700 From: "Maksim Yevmenkin" To: "Christopher McCarley" In-Reply-To: <341436.85215.qm@web32804.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <341436.85215.qm@web32804.mail.mud.yahoo.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: bluetooth errors on boot with dongle already attached X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 17:46:07 -0000 On 4/20/07, Christopher McCarley wrote: > I have not been successful getting bluetooth to work when the dongle is already plugged in before booting up. The error I get is: > > ... could not set alternative configuration 0 for interface 1 .. hmm... never saw that one > I see this error message in the ng_ubt source code, which is consistent with the behavior. If I don't compile ng_bluetooth into the kernel, it works a little better in that I can manually kldload ng_ubt, etc. to get bluetooth to come up. However, *I still have to unplug and plug back in the dongle* before doing this. how about loading ng_ubt from the loader? i.e. add ng_ubt_load="YES" to your loader.conf and reboot. you do not really need to compile bluetooth stuff into the kernel as long as you load ng_ubt(4) early (i.e. from loader). > Is there a known issue related to this? My goal is to run bluetooth on an appliance environment so I really want to get it to work without having to physically touch it. I will continue to debug, but after trying a number of things so far, I want to make sure I am not beating my head against the wall for a known issue. I see this on FreeBSD 6.1 and 6.2 versions. like i said, i never seen it before. it could be some weird usb issue. thanks, max