[Bluez-users] Using bluez in virtual machine

Wei Lei
2008-08-30T12:06:40Z

[-- Attachment #1.1: Type: text/plain, Size: 963 bytes --]

Hi,

It appears to me that using USB Bluetooth adapters with bluez facilities is
possible in a virtual machine, when the USB port is delegated to the guest
OS. However It did not work when I experiment, the host OS is Windows XP and
guest OS is ubuntu-8.04. I am using VMWare workstation 5. Could someone tell
where the problem is?

I have configured VMWare to use windows USB devices. When a bluetooth
adapter is plugged in, tail -f /var/log/messages shows the usb device is
connected.

$ lsusb shows:
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
Dongle (HCI mode)

But `hcitool dev` shows no device is connected. This is part of the strace
log:

socket(PF_BLUETOOTH, SOCK_RAW, 1) = 3
brk(0) = 0x8052000
brk(0x8073000) = 0x8073000
ioctl(3, 0x800448d2, 0x8052008) = 0
close(3) = 0
exit_group(0) = ?
Wei Lei

[-- Attachment #1.2: Type: text/html, Size: 1947 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net