linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB  BT gives problem If device plugged during boot to platform.
@ 2015-08-28 13:31 krishnaks
  2015-08-28 19:07 ` Marcel Holtmann
  2015-09-02 12:24 ` StartLescan rerturns false krishnaks
  0 siblings, 2 replies; 13+ messages in thread
From: krishnaks @ 2015-08-28 13:31 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I am porting bluez 5.33 to android kitkat 4.4.3.I am using USB based
Bluetooth device. I referred instruction in
http://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/README and
able to build.
After botting Android image with USB dongle connected and type "hciconfig
hci0 up" on console, It is throwing following error.
Can't init device hci0: Unknown error 132 (132)

If I Type hciconfig -a . It gives following.
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 5C:F3:70:6C:5E:FB  ACL MTU: 1021:8  SCO MTU: 64:1
        DOWN
        RX bytes:547 acl:0 sco:0 events:27 errors:0
        TX bytes:384 acl:0 sco:0 commands:27 errors:0
        Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH SNIFF
        Link mode: SLAVE ACCEPT



But If I unplug and plug USB dongle, and then try same command (hciconfig
hci0 up), It works. Even "hcitool scan" command also working after that.

Why 1st time not working when USB dongle is connected?
Also when I check Bluez debug log in logcat.
I am getting one error log when USB dongle connected during boot.
E/bluetoothd(  841): Failed to set mode: Blocked through rfkill (0x12).

Please let me know If I missed any settings

Thanks in advance,



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-09-23 11:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 13:31 USB BT gives problem If device plugged during boot to platform krishnaks
2015-08-28 19:07 ` Marcel Holtmann
2015-08-31  7:13   ` krishnaks
2015-09-02 12:24 ` StartLescan rerturns false krishnaks
2015-09-03 14:00   ` krishnaks
2015-09-03 14:25     ` Szymon Janc
2015-09-04 12:45       ` krishnaks
2015-09-21 10:43         ` GATT onWriteCharacteristic() returns status=1 (BT_STATUS_FAIL) krishnaks
2015-09-21 11:02           ` Szymon Janc
     [not found]             ` <71b8da83b60d4739a7cf443599cf4b3f.squirrel@iwavesystems.com>
2015-09-22  5:13               ` krishnaks
2015-09-22 10:26                 ` Luiz Augusto von Dentz
2015-09-22 10:59                   ` krishnaks
2015-09-23 11:06                     ` krishnaks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).