Hi Andrew,

I did hand patch epoll_create1() into bionic.  The above was a logcat,
how do I get the errno value?

Thanks,
Keith

On Tue, Feb 17, 2015 at 2:48 PM, Andrew Henderson <[email protected]> wrote:
> On Tuesday, February 17, 2015 at 4:20:42 PM UTC-5, Keith Conger wrote:
>
>>
>> D/bluetoothd( 1072):
>> external/bluetooth/bluez/android/ipc.c:cmd_connect_cb()
>>
>> E/bluetoothd( 1072): IPC: command socket connect failed
>
> OK, this is the place to start.  A socket isn't being created properly.
> That means that either the permissions aren't correct or the call used to
> create/interact with the socket is not supported.  The Bionic libc
> replacement does not implement a number of Linux kernel system calls because
> those system calls are not used under Android.  For example, shared memory
> or message queue syscalls aren't implemented because all IPC should be
> routed through Binder.  My guess is that you are running into something like
> this (section 1.2):
>
> http://forum.xda-developers.com/showthread.php?t=2640723
>
> The epoll_create1 syscall is not implemented by default in Bionic, so making
> an epoll_create1() call in Bionic results in an immediate failure.  Try
> dumping out logcat info at that error point with the errno value after the
> failed function call in cmd_connect_cb().  I bet that it is calling a Bionic
> function that doesn't generate the appropriate syscall to the kernel.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/X4HYHv9cC-0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.



-- 
Keith Conger
keith DOT conger AT gmail DOT com
http://thecongers.org

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to