Return-Path: Date: Thu, 19 Feb 2015 18:02:16 +0200 From: Andrei Emeltchenko To: Keith Conger Cc: Szymon Janc , Szymon Janc , BlueZ development Subject: Re: android-bluez with usb adapter Message-ID: <20150219160213.GB32397@aemeltch-MOBL1> References: <2179587.DtNQVsuMNH@leonov> <2375594.LoByC1Hkos@leonov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Keith, On Thu, Feb 19, 2015 at 08:39:51AM -0700, Keith Conger wrote: > Can't seem to figure out why audio.a2dp.default.so isn't being built. > This depends on your Android board configuration. afaik you can still build it locally with "mm" and copy to target adb sync should be enough Best regards Andrei Emeltchenko > It seems almost like its not even trying to start bluetoothd. I > wrapped it with strace, and it didn't create a trace log. > > On Wed, Feb 18, 2015 at 3:21 PM, Keith Conger wrote: > > Ok I added the additional kernel modules. > > > > Here is a logcat from boot to turning on bluetooth in the UI. > > > > For some reason audio.a2dp.default.so didn't get built, I'm looking into that. > > > > Thanks, > > Keith > > > > On Wed, Feb 18, 2015 at 1:37 PM, Szymon Janc wrote: > >> Hi Keith, > >> > >> On Wednesday 18 of February 2015 13:05:16 Keith Conger wrote: > >>> Actually I had tried through the UI first and got the above logcat > >>> messages. I then tried HAL test. > >>> > >>> Just for some additional background I'm running kernel 3.8.13 and > >>> bluetooth modules from backports-3.18.1-1 > >> > >> If haltest is working that means kernel is configured properly. > >> > >>> I have them at the bottom of "on boot" in the init.rc. I have > >>> attached my kernel config and init.rc. > >> > >> Could you attach full logcat starting from boot? > >> > >> It looks like you are also missing audio.a2dp.default.so (it shouldn't affect > >> BT enable but is needed for music streaming over BT). > >> > >>> > >>> I noticed in the mako example the following additional modules are > >>> loaded, I'm guessing I should add them also? > >>> insmod /system/lib/modules/rfcomm.ko > >>> insmod /system/lib/modules/bnep.ko > >> > >> Yes, rfcomm is needed for OBEX (PBAP, OPP, MAP etc). Bnep is needed for PAN > >> (BT tethering). > >> > >>> > >>> Thanks again for the help. > >>> Keith > >>> > >> > >> -- > >> BR > >> Szymon Janc > > > > > > > > -- > > Keith Conger > > keith DOT conger AT gmail DOT com > > http://thecongers.org > > > > -- > Keith Conger > keith DOT conger AT gmail DOT com > http://thecongers.org > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html