Results 1 to 8 of 8

Thread: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

  1. #1
    Join Date
    May 2007
    Beans
    59

    Talking [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    Hi all,
    I've been trying to make this work for a long time, I've tried so many things but only a combination of bits from here and there brought me to be successfully able to use Nokia PC Suite on my Win XP guest under the VirtualBox Ubuntu Jaunty host.
    First of all I'll list my setup, perhaps your needs or hardware might be different, but the solution will match on most cases, adapting to the differences.
    I have a Lenovo Thinkpad X61 Laptop with Ubuntu 9.04 Jaunty Jackalope 64Bit, which has an internal "Broadcom Corp BCM2045B" Bluetooth adaptor.
    I installed the Sun VirtualBox 3.0.0 r49315 (Not OSE, but full version, recommended)
    So after installing Win XP SP3 I didn't see any bluetooth devices detected and then the saga started, long story short, here's how I've made it work, step by step. Please make sure the VirtualBox program and its guests are closed during this whole procedure!

    Open a terminal window for the following shell commands
    Make sure your username is a member of the "vboxusers" group (this should have been already taken care by the VirtualBox installer, but we make sure)
    Code:
    sudo usermod -aG vboxusers <your username>
    Now check what is the group ID of the "vboxuser" group, remember the number
    Code:
    grep vboxusers /etc/group | awk -F ":" '{print $3}'
    Now we need to search for the "usbfs" file, it's better to do while a USB device is plugged in, in my case it was at '/sys/bus/usb/drivers' and it will be most probably there for you too, remember this path too, we'll need this and the previous GID number for the next step

    Open/Edit the '/etc/fstab' file

    Code:
    gksu gedit /etc/fstab &
    Add this lines to the end, replacing the path to 'usbfs' and the group ID with yours (devgid=XXX)
    Code:
    # For USB access with Virtualbox
    none /sys/bus/usb/drivers usbfs devgid=129,devmode=664 0 0
    Now we need to remount the filesystem
    Code:
    sudo mount -a
    Running
    Code:
    cat /etc/mtab | grep usbfs
    should give you something like this:
    Code:
    none /sys/bus/usb/drivers usbfs rw,devgid=129,devmode=664 0 0
    which means the filesystem is mounted, now is time to see if it works, open VirtualBox, start the guest OS and you will hopefully see the new hardware detected wizard pops up, the automatic install will take care of the rest!
    Hope this helps!
    Last edited by zivley; July 12th, 2009 at 02:25 PM.

  2. #2
    Join Date
    Apr 2008
    Beans
    159

    Re: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    Thanks for the tutorial, but this did not work for me. Any idea why?

    EDIT: Nevermind, it works! Thanks!
    Last edited by lavadisco; October 15th, 2009 at 06:20 AM.

  3. #3
    Join Date
    Dec 2006
    Location
    Cupertino, CA
    Beans
    45
    Distro
    Ubuntu Karmic Koala (testing)

    Re: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    Wow, I really wanted to find out how to get USB support working in virtualbox. Great step-by-step tutorial. I will definetly be trying this out soon.

    Thanks.
    Get your ubuntu problems solved http://theubuntublog.wordpress.com

  4. #4
    Join Date
    Oct 2009
    Beans
    2

    Re: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    All the steps went smooth, but my Bluetooth had not appeared in WinXP guest...
    Any suggestions where to dig for solution?

    WinXP+SP3 under Virtualbox 3.0.8 r53138, host - Kubuntu 9.04, HW: DELL XPS M1210, Bluetooth internal...

  5. #5
    Join Date
    May 2007
    Beans
    59

    Re: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    Any USB device you want to use on the guest should be detected first by the host.
    When you open the virtual machine usb settings and click the button to add a device, what do you have in the list of detected devices available to add?
    Perhaps you didn't select the right one, so paste here the list of devices names and I'll try to help you chose the right one.

  6. #6
    Join Date
    Oct 2009
    Beans
    2

    Re: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    Ah, yes! It's (Broadcom Corp BCM2045) appeared in the list of USB devices I can add in my virtual machine.
    Thanks for tipping!
    [SOLVED]

  7. #7
    Join Date
    Mar 2009
    Beans
    50

    Re: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    I can connect usb devices with virtual machine, but not bluetooth. This tutorial didn't change anything for me. I want bluetooth to work in virtual macines...

  8. #8
    Join Date
    May 2007
    Beans
    59

    Re: [SOLVED] Bluetooth on WinXP guest under Ubuntu 9.04 Jaunty host

    For now, please forget the guest and let's try to focus on the host first.
    Is the bluetooth device you're trying to use connected to the computer?
    Is it a portable device or is it onboard?
    If it's portable, such as a dongle stick, run this in command line first

    Code:
    tail -f /var/log/messages
    and then plug the device, it should run a few lines with the detected device and some info, paste the info here please.

    To stop the command line capture just do Ctrl+C

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •