SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-08-14 01:16:09

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 1,031
Website

[Solved? Ewbetcha!] Setting up Bluetooth (Ubu 15.04)

Heya folks!

I'm trying to set up my laptop to utilize my bt headphones and am not having much luck bending Google to my will.

First off, my bt dongle is a Panda BT 4.0 adapter, which reviews and comments led me to believe worked swimmingly in linux.  From the incredibly optimistic instructs:

For Linux Users:

Plug the Panda BT 4.0 Adapter into your Linux computer and let linux install the drivers for the Panda Adapter.  You should be able to pair any Bluetooth keyboard/mouse to your computer after that.  You might need to install additional software if you want to use other Bluetooth devices with your Linux computer.

So dongle plugged in and nada, so I began doing some checks, with the assistance of the Goog:

schwim@schwim-lt-UbOb:~$ sudo /etc/init.d/bluetooth start
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.

schwim@schwim-lt-UbOb:~$ sudo /etc/init.d/bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2015-08-13 21:04:56 EDT; 1min 14s ago
Main PID: 1952 (bluetoothd)
   CGroup: /system.slice/bluetooth.service
           └─1952 /usr/sbin/bluetoothd -n

Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: bluetoothd[1952]: Failed to init alert plugin
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: bluetoothd[1952]: Failed to init thermometer plugin
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: Failed to init gatt_example plugin
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: Bluetooth Management interface initialized
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: bluetoothd[1952]: Failed to init gatt_example plugin
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: bluetoothd[1952]: Bluetooth Management interface initialized
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: Unknown command complete for opcode 19
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: bluetoothd[1952]: Unknown command complete for opcode 19
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: bluetoothd[1952]: Adapter /org/bluez/1952/hci0 has been enabled
Aug 13 21:04:56 schwim-lt-UbOb bluetoothd[1952]: Adapter /org/bluez/1952/hci0 has been enabled

schwim@schwim-lt-UbOb:~$ sudo lshw -class network
  *-network               
       description: Ethernet interface
       product: NetLink BCM57780 Gigabit Ethernet PCIe
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: p4p1
       version: 01
       serial: 88:ae:1d:03:ba:2b
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=half firmware=sb latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:27 memory:f1100000-f110ffff
  *-network
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: wlan0
       version: 01
       serial: 78:e4:00:ae:45:a4
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.19.0-25-generic firmware=N/A ip=192.168.1.138 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:f1000000-f100ffff

schwim@schwim-lt-UbOb:~$ sudo hciconfig
hci0:    Type: BR/EDR  Bus: USB
    BD Address: 00:1A:7D:DA:71:03  ACL MTU: 310:10  SCO MTU: 64:8
    UP RUNNING PSCAN
    RX bytes:612 acl:0 sco:0 events:37 errors:0
    TX bytes:942 acl:0 sco:0 commands:37 errors:0

schwim@schwim-lt-UbOb:~$ hcitool dev
Devices:
    hci0    00:1A:7D:DA:71:03

So these are all the commands I found to check status of bt devices and services but I can't get past that point to the point in which I actually resolve the issue.

Could someone school me on getting this set up?  I use BT a lot on my phone but have never set it up on one of my PC's.

[EDIT]Got a little further:

schwim@schwim-lt-UbOb:~$ hcitool scan
Scanning ...
    08:FD:0E:AA:43:60    Schwims_S4
    CC:6D:A0:39:00:26    Roku Player

And to connect:

schwim@schwim-lt-UbOb:~$ bluez-simple-agent hci0 08:FD:0E:AA:43:60
RequestConfirmation (/org/bluez/1952/hci0/dev_08_FD_0E_AA_43_60, 888485)
Confirm passkey (yes/no): yes
Release
New device (/org/bluez/1952/hci0/dev_08_FD_0E_AA_43_60)

Which should have connected to my phone.  I got a confirmation on my phone and it looked like it showed a connection, but my BT icon shows disconnected on the phone and I don't see the file system anywhere on the laptop.

Last edited by schwim (2015-08-14 14:11:37)

Offline

Be excellent to each other!

#2 2015-08-14 13:30:22

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 1,031
Website

Re: [Solved? Ewbetcha!] Setting up Bluetooth (Ubu 15.04)

Well, I think I managed to muddle through it.  I can send a file from the computer to the phone on it, it just doesn't seem to mount the phone storage as a drive.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo