Return-Path: Content-Type: text/plain; charset=US-ASCII Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bluez5 pairing devices From: Marcel Holtmann In-Reply-To: Date: Wed, 18 Mar 2015 09:28:55 -0700 Cc: Szymon Janc , "linux-bluetooth@vger.kernel.org" Message-Id: <440EB08C-2BD4-4373-B3DC-80361AA74722@holtmann.org> References: <46068BD2-CF33-4617-80DB-5AE5C1FCA364@holtmann.org> <,<12627750.IG3ACNRtuD@leonov> <>> To: Ssagarr Patil Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Sagar, >> Just an note that recent backports dropped support for kernels older than 3.0. >> So some older release might be needed for 2.6.37. >> > I have managed to backport it thanks. > > > But bluetoothctl doesnt detect it, It says the following: > > # bluetoothctl > [bluetooth]# power on > No default controller available > [bluetooth]# you need a running bluetoothd for bluetoothctl. > Here is output of hciconfig: > > $ hciconfig -a > hci0: Type: BR/EDR Bus: UART > BD Address: 34:B1:F7:E2:DE:CB ACL MTU: 1021:6 SCO MTU: 180:4 > UP RUNNING PSCAN ISCAN > RX bytes:12525 acl:56 sco:0 events:262 errors:0 > TX bytes:2948 acl:52 sco:0 commands:108 errors:0 > Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87 > Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 > Link policy: RSWITCH HOLD SNIFF > Link mode: SLAVE ACCEPT > Name: 'bt_hw' > Class: 0x001f00 > Service Classes: Unspecified > Device Class: Invalid Device Class! > HCI Version: 4.1 (0x7) Revision: 0x0 > LMP Version: 4.1 (0x7) Subversion: 0xac7c > Manufacturer: Texas Instruments Inc. (13) > > # Just our of curiosity, does this chip support BR/EDR Secure Connections? You might need to check with hciconfig hci0 features or run btmon to see the fully decoded list. > And I scan devices using hcitool as well. > > Any pointers why bluetoothctl fails ? btmgmt, hciconfig etc. operate on the kernel level interfaces. Which you normally use for testing or development. For everything else, run bluetoothd and then bluetoothctl will work. Regards Marcel