[Wine] Enabling BT GPS receiver for Wine

David Hagood david.hagood at gmail.com
Sun Jan 10 08:44:23 CST 2010


On Sun, 2010-01-10 at 06:05 -0600, aahzmandius wrote:
> Hi, I am trying to install and make functiona PC Navigator 8 for my father on Ubuntu 9.10 using wine.
> Software is runnable, i connect BT GPS receiver to ubuntu on rfcomm4, but I am unable to make receiver visible for PC Navigator. Can anyone help he?

Assuming the receiver is looks like a Bluetooth serial device, you will
need to:

1) Pair the receiver with your computer, using the normal desktop
pairing tools.

2) Create an rfcomm binding for the receiver. Get the receiver's
Bluetooth MAC address, and put an entry into /etc/bluetooth/rfcomm.conf
like this:

rfcomm0 {
# Automatically bind the device at startup
	bind yes;

	# Bluetooth address of the device
	device DE:EA:BE:EF:FA:CE;

	# RFCOMM channel for the connection
	channel	1;

	# Description of the connection
	comment "My GPS";
}

Where you will change the device line to your GPS's address.

3) Link the created RFCOMM device into Wine:
  ln /dev/rfcomm0 ~/.wine/dos_devices/com1 -s

4) Restart the bluetooth stack 
  sudo /etc/init.d/bluetooth restart

5) Configure the GPS software to use COM1

I've done this with the Delorme applications with great success.

-----------------

Unfortunately, there is no way I have found to make Windows apps play
nice with GPSD. While GPSD can output the GPS data to a socket, you
cannot tell Wine to make that socket look like a serial port to Windows
apps.






More information about the wine-users mailing list