GAMMU - Error opening the device, you do not have enough permissions "

0

After installing the gammu and configuring the .gammrc on my home page, this error is generated and I do not know which is the file to which I have to give "sufficient permissions.

rafael @ Aspire-one-Lubuntu16: ~ $ gammu sendsms TEXT 04165181317 -text "Hola.."

Error opening the device, you do not have sufficient permissions ".

rafael @ Aspire-one-Lubuntu16: ~ $

This is my configuration file :

rafael@Aspire-one-Lubuntu16:~$ cat .gammurc
[gammu]
port = /dev/ttyUSB0
connection = at    

[gammu1]
port = /dev/ttyUSB1
connection = at

[gammu2]
port = /dev/ttyUSB2
connection = at

the ttyUSB * files belong to the dialout group

rafael@Aspire-one-Lubuntu16:~$ ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 ago  8 20:00 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 ago  8 18:52 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 ago  8 19:19 /dev/ttyUSB2

And add my user "rafael to this group:

usermod -a -G dialout rafael
    
asked by rrg1459 09.08.2018 в 02:12
source

0 answers