BlueZ port to Android version 4.4.2

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

 



Hello,

I am trying to port BlueZ to an Android 4.4.2 kernel.  I followed the
instructions I found on the following site:
https://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/README

I have the project compiling and was able to flash to the board.  When
the bluetooth system boots up however the Bluez system times out
during its init with the following error logs:

05-26 09:05:36.381 D/BlueZ   ( 1828):
external/bluetooth/bluez/android/hal-bluetooth.c:open_bluetooth()
05-26 09:05:36.381 D/BlueZ   ( 1828):
external/bluetooth/bluez/android/hal-bluetooth.c:get_bluetooth_interface()
05-26 09:05:36.401 D/BlueZ   ( 1828):
external/bluetooth/bluez/android/hal-bluetooth.c:init()
05-26 09:05:36.551 I/bluetoothd( 1893): Bluetooth daemon 5.39
05-26 09:05:36.551 I/bluetoothd( 1893): Starting SDP server
05-26 09:05:36.551 I/bluetoothd( 1893): Bluetooth management interface
1.3 initialized
05-26 09:05:41.541 I/bluetoothd( 1893): Stopping SDP server
05-26 09:05:41.541 I/bluetoothd( 1893): Exit
05-26 09:05:46.431 E/BlueZ   ( 1828): bluetoothd connect timeout

Looking further into what is causing the bluetoothd to time out I've
found that calling poll() within the accept_connection() function
within hal-bluetooth.c is what causes this.  Using the process
described in the above readme I did port over the new epoll_create1()
and ppoll() calls from
https://github.com/bluez-android/aosp_platform_bionic.  I'm trying to
determine what the poll() function is calling out to that is causing
this to timeout.

Any assistance is appreciated,

Thank you.
--
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