LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Uninstalled Bluetooth by uninstalling Pulseaudio? Having trouble getting it back. (https://www.linuxquestions.org/questions/linux-software-2/uninstalled-bluetooth-by-uninstalling-pulseaudio-having-trouble-getting-it-back-4175471267/)

sguertin 07-28-2013 09:43 PM

Uninstalled Bluetooth by uninstalling Pulseaudio? Having trouble getting it back.
 
VLC was complaining about Pulseaudio, so I figured I'd try to fix it by uninstalling and reninstalling it (via yum). VLC now works, but Bluetooth does not. Oops.

I haven't found any useful error messages, but commands that used to work, like bluetooth-wizard and hcitool don't exist anymore.

Also, while the bluetooth menu in gnome-control-center still exists, it says "No Bluetooth adapters found", something that I hadn't seen before this broke.

My best guess is that while uninstalling Pulseaudio dependencies, something important to Bluetooth was included in there, and that wasn't put back when I reinstalled Pulseaudio.

I don't know what exactly I removed, how I would find that out, or how I would reinstall it. I've tried simple things like "yum install bluetooth" to no avail.

I'm using Fedora 17 on a Thinkpad X220 Tablet

evo2 07-29-2013 12:37 AM

Hi,
Quote:

Originally Posted by sguertin (Post 4998628)
I don't know what exactly I removed, how I would find that out, or how I would reinstall it.

you should be able to see what was uninstalled by checking the yum log file. Eg as root
Code:

less /var/log/yum.log
Evo2.

sguertin 07-29-2013 09:49 AM

Here's the log:

Jul 26 14:26:02 Erased: kde-settings-pulseaudio-4.8-25.fc17.noarch
Jul 26 14:26:02 Erased: bluedevil-1.3-1.fc17.x86_64
Jul 26 14:26:05 Erased: libbluedevil-1.9.2-1.fc17.x86_64
Jul 26 14:26:05 Erased: pulseaudio-module-x11-1.1-9.fc17.x86_64
Jul 26 14:26:06 Erased: alsa-plugins-pulseaudio-1.0.26-1.fc17.x86_64
Jul 26 14:26:08 Erased: gnome-shell-3.4.1-6.fc17.x86_64
Jul 26 14:26:09 Erased: bluez-4.99-2.fc17.x86_64
Jul 26 14:26:10 Erased: 1:gnome-bluetooth-3.4.2-2.fc17.x86_64
Jul 26 14:26:12 Erased: pulseaudio-module-bluetooth-1.1-9.fc17.x86_64
Jul 26 14:26:12 Erased: pulseaudio-1.1-9.fc17.x86_64
Jul 26 19:10:52 Installed: pulseaudio-1.1-9.fc17.x86_64

I reinstalled everything on that list; it doesn't work again yet.

hcitool, bluetooth-wizard, etc. are recognized as commands. However, running "hcitool scan" shows
Quote:

Device is not available: No such device
, the bluetooth menu in gnome-control-center still says "No Bluetooth adapters found" and running bluetooth-applet shows
Quote:

(bluetooth-applet:7875): Bluetooth-WARNING **: Could not open RFKILL control device, please verify your installation
The bluetooth-wizard does not find any devices (and I'm pretty sure there are some in the room).

evo2 07-29-2013 07:21 PM

Hi,

the device may have been blocked either through software or a hardware switch. You can try to check using rfkill. Eg
Code:

rfkill list all
Evo2.

flyinggeorge 07-29-2013 10:18 PM

I'm pretty sure you need bluez to communicate with the bluetooth device. Start by installing that again. You should be able to see your hci device using hcitool after that.

evo2 07-29-2013 10:22 PM

Hi,
Quote:

Originally Posted by flyinggeorge (Post 4999306)
I'm pretty sure you need bluez to communicate with the bluetooth device. Start by installing that again. You should be able to see your hci device using hcitool after that.

Post #3 indicates that bluez was reinstalled along with the other listed packages.

Evo2.

flyinggeorge 07-29-2013 10:28 PM

My mistake. Sorry about that.

sguertin 07-29-2013 10:43 PM

Quote:

$ rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
How might I find out what's blocking it?

Edit:

I flipped the hardware switch off and on again. Now it's:

Quote:

$ rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
8: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
It might be working now. I'll test it.

sguertin 08-02-2013 11:18 PM

I turned my computer off and on again, and after some poking around (trying to disconnect and reconnect a few times), it works.

I did see a message "a problem in the bluez-4.99-2.fc17 package has been detected" or something like that, but it works anyway.


All times are GMT -5. The time now is 12:52 AM.