Archivos Mensuales: julio 2013

Use a wireless bluetooth speaker on Ubuntu 12.04

The integrated audio on my computer is the worst. So I recently bought a JBL Wireless Bluetooth Speaker, and while get it working with my Android tablet was straightforward, I wasn’t that lucky with my Ubuntu 12.04 with Gnome 3 laptop.

The pairing with my computer was successful, but I was unable to reproduce any sound. My problem is that this device, and many new devices of this type, allows not only allow Audio Sink mode (A2DP), but also Headset mode. Headset mode is more complex because it can handle calls, audio sink (speakers) and audio source (microphone). By default, my device connected as Headset, and I’m speculating, but it seems that doesn’t know how to handle this profile. This is how I fixed it:

First, pair the device. Go to Bluetooth system applet, select Bluetooth settings and add a new device. How to pair the device is out of the scope of this article.

Once paired, install the Blueman manager, it allows to setup the device. Default Ubuntu system dialog for Bluetooth lack the advanced options we require.

sudo apt-get install blueman

Launch the applet:


The applet will appear in bottom bar on Gnome 3. Click it and select Devices…

Select your device, and go to menu:

Device -> Setup

Select A2DP profile (instead of the Headset profile) and save. Now, the device should appear available on the Sound Configuration dialog. Open the Ubuntu sound options and select your device. Now you can close the Blueman applet and the device will work from now on, including that each time your device is paired the audio will be redirected to it.


Etiquetado , , ,

Ubuntu 12.04 LTS and Nvidia GeForce 7025

If you have the GeForce 7025 integrated card then you have problems with Ubuntu 12.04 LTS. This is how to get a usable setup with 3D acceleration.

Boot to the lastest kernel you have and update your system:

sudo apt-get update && sudo apt-get upgrade

Then restart the machine and boot using the latest kernel.

If you have already installed some drivers:

sudo apt-get purge nvidia-common nvidia-*

Add Ubuntu X updates and install latest driver:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install nvidia-current

Once installed, delete the X Window Server configuration file. Don’t worry, it will be regenerated. This is important.

sudo rm /etc/X11/xorg.conf

Finally, restart the computer and get into the BIOS. Find the Chipset configuration and lower the Shared Memory to 128MB (in my case from auto to 128MB), yep, not optimal, not pretty, but otherwise your graphics will be slow as hell.

Now boot to the latest kernel. That’s it.

EDIT: If you get in the dark after a kernel upgrade, you need to rebuild the Nvidia kernel modules installed:

  1. Reboot in the latest kernel. If you have no video at all you can CTRL+ALT+F1 to get into a terminal.
  2. Make sure you have the kernel headers for your current version:
    sudo apt-get install linux-headers-`uname -r`
  3. Reconfigure nvidia-current package:
    sudo dpkg-reconfigure nvidia-current
  4. Reboot:
    sudo reboot

Hope it helps.

Etiquetado , , ,