Re: android-bluez with usb adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Keith,

On Thursday 19 of February 2015 09:06:01 Keith Conger wrote:
> Thanks I'll try that, do you know which BoardConfig option triggers
> its build? Eventually I'd like to send my work in getting Bluez in the
> bbbandroid repo to its maintainer.

I think the problem with bt working from haltest but not from java is that this
board of your is using kernel for emulator.


This is from your logcat:
I/SystemServer(  595): No Bluetooh Service (emulator)

and check this for reference:
http://androidxref.com/5.0.0_r2/xref/frameworks/base/services/java/com/android/server/SystemServer.java#487

> 
> Thanks,
> Keith
> 
> On Thu, Feb 19, 2015 at 9:02 AM, Andrei Emeltchenko
> <andrei.emeltchenko.news@xxxxxxxxx> wrote:
> > 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 <keith.conger@xxxxxxxxx> 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 <szymon.janc@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> 
> 

-- 
Best regards, 
Szymon Janc
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux