sön 2011-07-10 klockan 20:14 +0200 skrev Franco Spinelli: > Il 10/07/2011 18:06, Pär Crusefalk ha scritto: > > > > I checked the rxtx project and it seems it will only look for something > > like ttyS* or ttyUSB*. Some explanation abt that is here: > > http://rxtx.qbang.org/wiki/index.php/Trouble_shooting#How_does_rxtx_detect_ports.3F__Can_I_override_it.3F > > Or, you could add a symlink with a name it does search for: > > sudo ln -s /dev/rfcomm0 /dev/ttyS9 > > > > This last is same as used for wine: > > ln -s /dev/rfcomm0 ~/.wine/dosdevices/com1 > > I have defined /dev/ttyS9 as a symbolic link to /dev/rfcomm0 but "get > ports" button don't find. If I digit /dev/ttyS9 in port field I get two > pop-up messages: "Could not connect to GPS port" and "Could not open GPS > port" > > If I put /dev/rfcomm0 in port field I get two pop-up message: "Serial > port /dev/rfcomm0 does not exist! Was the GPS removed?" and "Could not > open GPS port" > > Finally using > > java -jar -Dgnu.io.rxtx.SerialPorts=/dev/rfcomm0 javapskmail.jar > > I don't find port using "get port" button and, if I digit /dev/rfcomm0 > in port field, I get two pop-up messages: "Could not connect to GPS > port" and "Could not open GPS port" > > RXTX library is from Ubuntu 10.04 repo and version 2.1-7 > > Using minicom or GtkTerm I am able to get info from /dev/rfcomm0 and > also from /dev/ttyS9 (link to /dev/rfcomm0) > > So the problem in not only in port detection but also in port opening. > Port /dev/rfcomm0 is root:dialout and login user is member of dialout > group but, also changing permission to port (chmod a+rw /dev/rfcomm0) > there is same error message. > > Regards > Franco Spinelli > IW2DHW Thanks Franco, After all that I would think its safe to say that a bluetooth gps will have to use gpsd, for now anyway. It should be fine for windows as the driver should place a virtual serial port like comX and rxtx will pick that up. 73 de Per, sm0rwo