This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

beagleboard-xM use wl1271 bluetooth

Other Parts Discussed in Thread: WL1271

Dear Sir

I'm trying to use the beagleboard -xM with WG7310(Jorjin) wireless and Bluetooth module.

The operate system i want use on beagleboard -xM is rowboat-floyo-dsp.

Following the link below

http://code.google.com/p/rowboat/wiki/DSP

http://processors.wiki.ti.com/index.php/Android_wireless_build_and_porting_guide#Building_wireless_drivers

 

I got the WL1271 Wireless SDK installer package and Patches and build script for Android from

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/02_02_00/index_FDS.html

 

The wireless is working fine,but the Bluetooth can't work.

I Reference the PSP-linux-03.00.01.06-wl1271-support.patch to modify the file additionally

kernel/arch/arm/mach-omap2/board-omap3beagle.c

kernel/sound/soc/omap/omap3beagle.c

but i still can't enable the bluetooth on UI , the logcat shows "(/sys/class/rfkill/rfkill0/type) failed: No such file or directory"

D/BluetoothService(  904): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 1306): Received android.bluetooth.adapter.action.STATE_CHANGED
W/bluedroid(  904): open(/sys/class/rfkill/rfkill0/type) failed: No such file or directory (2)
D/BluetoothService(  904): Bluetooth state 11 -> 10
D/dalvikvm( 1306): GC_FOR_MALLOC freed 2989 objects / 192552 bytes in 30ms
V/BluetoothEventRedirector( 1306): Received android.bluetooth.adapter.action.STATE_CHANGED

Any help will be very appreciated.

  • The TI Android DevKit kernel does not support rfkill. You will need to modify the bluedroid utility to use the alternate method which uses a binary utility supplied with the wireless package.

    In the DevKit sources, this alternate method is enabled only for omap3evm. You will need to modify the Android.mk at <rowboat>/system/bluetooth/bluedroid to enable this for your device.

    Also see the following link for further information on porting: http://processors.wiki.ti.com/index.php/Android_wireless_build_and_porting_guide

     

  • Hi hank wu,

    The below error is becoz of not enabled RF switch subsystem support in kernel.

    D/BluetoothService(  904): Bluetooth state 10 -> 11
    V/BluetoothEventRedirector( 1306): Received android.bluetooth.adapter.action.STATE_CHANGED
    W/bluedroid(  904): open(/sys/class/rfkill/rfkill0/type) failed: No such file or directory (2)
    D/BluetoothService(  904): Bluetooth state 11 -> 10
    D/dalvikvm( 1306): GC_FOR_MALLOC freed 2989 objects / 192552 bytes in 30ms
    V/BluetoothEventRedirector( 1306): Received android.bluetooth.adapter.action.STATE_CHANGED

    In kernel Configuration, Under Networking support make sure Bluetooth subsystem support and RF switch subsystem support are enabled.

    Thanks,

    Faisal Hassan

     

  • Hi hank wu,

    Any update to that issue?