LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-06-2015, 12:50 PM   #1
Hwiparam
LQ Newbie
 
Registered: Jan 2010
Location: Lubartów, Poland
Distribution: Debian Squeeze
Posts: 12

Rep: Reputation: 0
Bluetooth - hci0 not up at startup


I did read this friendly manual: https://wiki.archlinux.org/index.php/bluetooth_keyboard and followed those instructions step by step. The problem is tat the hci0 interface fails to get up at startup (so I cannot use my new BT keyboard). When I start it manually (hciconfig hci0 up), the keyboard is working, but at boot it fails to load.
lsusb:
Code:
Bus 003 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Code:
# hcitool dev
Devices:
        hci0    00:15:83:3D:0A:57
Code:
# journalctl -b |grep -i bluetooth
sty 06 10:43:32 localhost systemd[1]: Starting Bluetooth service...
sty 06 10:43:32 localhost systemd[1]: Starting systemd Unit to automatically start a Bluetooth keyboard...
sty 06 10:43:32 localhost kernel: Bluetooth: Core ver 2.19
sty 06 10:43:32 localhost kernel: Bluetooth: HCI device and connection manager initialized
sty 06 10:43:32 localhost kernel: Bluetooth: HCI socket layer initialized
sty 06 10:43:32 localhost kernel: Bluetooth: L2CAP socket layer initialized
sty 06 10:43:32 localhost kernel: Bluetooth: SCO socket layer initialized
sty 06 10:43:32 localhost bluetoothd[286]: Bluetooth daemon 5.27
sty 06 10:43:32 localhost bluetoothd[286]: Starting SDP server
sty 06 10:43:32 localhost systemd[1]: Started Bluetooth service.
sty 06 10:43:32 localhost systemd[1]: Failed to start systemd Unit to automatically start a Bluetooth keyboard.
sty 06 10:43:32 localhost kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
sty 06 10:43:32 localhost kernel: Bluetooth: BNEP filters: protocol multicast
sty 06 10:43:32 localhost kernel: Bluetooth: BNEP socket layer initialized
sty 06 10:43:32 localhost bluetoothd[286]: Bluetooth management interface 1.7 initialized
sty 06 10:43:33 localhost systemd[1]: Starting Bluetooth.
sty 06 10:43:33 localhost systemd[1]: Reached target Bluetooth.
sty 06 10:43:33 localhost bluetoothd[286]: Sap driver initialization failed.
sty 06 10:43:33 localhost bluetoothd[286]: sap-server: Operation not permitted (1)
sty 06 10:46:53 localhost kernel: Bluetooth: HIDP (Human Interface Emulation) ver 1.2
sty 06 10:46:53 localhost kernel: Bluetooth: HIDP socket layer initialized
sty 06 10:46:53 localhost kernel: input: OKB003 Bluetooth  Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/bluetooth/hci0/hci0:41/0005:05AC:022C.0004/input/input22
sty 06 10:46:53 localhost kernel: apple 0005:05AC:022C.0004: input,hidraw3: BLUETOOTH HID v1.1b Keyboard [OKB003 Bluetooth  Keyboard] on 00:15:83:3d:0a:57
Code:
# systemctl status btkbd.service
● btkbd.service - systemd Unit to automatically start a Bluetooth keyboard
   Loaded: loaded (/etc/systemd/system/btkbd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since wto 2015-01-06 10:43:32 CET; 2h 2min ago
     Docs: https://wiki.archlinux.org/index.php/Bluetooth_Keyboard
  Process: 288 ExecStart=/usr/bin/hciconfig hci0 up (code=exited, status=1/FAILURE)
 Main PID: 288 (code=exited, status=1/FAILURE)

sty 06 10:43:32 localhost systemd[1]: Starting systemd Unit to automatically start a Bluetooth keyboard...
sty 06 10:43:32 localhost hciconfig[288]: Can't get device info: No such device
sty 06 10:43:32 localhost systemd[1]: btkbd.service: main process exited, code=exited, status=1/FAILURE
sty 06 10:43:32 localhost systemd[1]: Failed to start systemd Unit to automatically start a Bluetooth keyboard.
sty 06 10:43:32 localhost systemd[1]: Unit btkbd.service entered failed state.
sty 06 10:43:32 localhost systemd[1]: btkbd.service failed.
Code:
$ dmesg | grep tooth
[    1.737246] Bluetooth: Core ver 2.19
[    1.737255] Bluetooth: HCI device and connection manager initialized
[    1.737273] Bluetooth: HCI socket layer initialized
[    1.737274] Bluetooth: L2CAP socket layer initialized
[    1.737277] Bluetooth: SCO socket layer initialized
[    1.755661] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.755662] Bluetooth: BNEP filters: protocol multicast
[    1.755666] Bluetooth: BNEP socket layer initialized
[  202.630386] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[  202.630403] Bluetooth: HIDP socket layer initialized
[  202.633980] input: OKB003 Bluetooth  Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/bluetooth/hci0/hci0:41/0005:05AC:022C.0004/input/input22
[  202.634456] apple 0005:05AC:022C.0004: input,hidraw3: BLUETOOTH HID v1.1b Keyboard [OKB003 Bluetooth  Keyboard] on 00:15:83:3d:0a:57
Any help will be highly appreciated
 
Old 01-07-2015, 07:50 AM   #2
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Rep: Reputation: 3
Try hciconfig device up and post.
 
Old 01-08-2015, 04:17 AM   #3
Hwiparam
LQ Newbie
 
Registered: Jan 2010
Location: Lubartów, Poland
Distribution: Debian Squeeze
Posts: 12

Original Poster
Rep: Reputation: 0
Problem seems to have disappeared, but I have no idea Why My BT keyboard is working now, I don't know what was going on, but it works

Last edited by Hwiparam; 01-08-2015 at 04:18 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why a hidden Bluetooth device or hci0 had a priority value of -20? irajjs Linux - General 4 12-30-2014 02:54 AM
Bluetooth Not Running at Startup swamprat Linux - Newbie 3 01-22-2014 11:39 AM
[SOLVED] Iptables is blocking bluetooth/hci0 connection xj25vm Slackware 3 10-27-2011 05:01 AM
USB Bluetooth hci0 and /dev/rfcomm Questions... seattleweb Linux - Newbie 0 08-23-2007 12:26 AM
Cant get hci0 loaded (bluetooth) hyllplan Linux - Hardware 0 06-02-2005 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration