On Mon, 26 Dec 2016 09:35:12 +0000, Pedro Venâncio <pedrongvenan...@gmail.com> wrote:
> Hi Paolo, > =========================8<----------------------------- > > So, you do: > > $ sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx 2 > > and you will get the /dev/rfcomm0. Then you do: $ ls -l /dev/rfcomm0 crw-rw---- 1 root dialout 216, 0 Dez 26 11:30 /dev/rfcomm0 Make sure that your user is in the resource group, 'dialout' in this case: $ groups roxo adm dialout cdrom floppy sudo audio dip video plugdev netdev fuse lpadmin scanner sambashare vboxusers libvirtd gpu wireshark If you are not, insert your user there. You can do it using the administration tools or edit '/etc/groups' and insert your user there: $ grep dialout /etc/group dialout:x:20:roxo If you have to insert your user in "dialout", or whatever group it was created under (never insert your user in root group!!), you will need to logout and logon again, no restart needed. > Then run QGIS with root, and connect GPS to /dev/rfcomm0. If you follow the steps above, fire QGis with your regular user and connect GPS to /dev/rfcomm0. > It is working fine here. Ditto. Best regards. Roxo P.S. Every time you have to run an end user application as root, look for the resource demanding this authority and thy to give it to a generic non authoritative group. Insert your user in that group and, finally, try to use the resource with your user. -- ---------------- Non luctari, ludare -------------------+ WYSIWYG Fernando M. Roxo da Motta <pe...@roxo.org> | Editor? Except where explicitly stated I speak on my own behalf.| VI !! ( Usuário Linux registrado #39505 ) | I see text, ------------ Quis custodiet ipsos custodes?-------------+ I get text! _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user