0

I'm try to configure Wammu / gammu ( http://wammu.eu/ ) to use it on my Ubuntu 12.04 but got error message "You don't have permission for /dev/ttyUSB1 device! Maybe you need to be member of dialout group."

From Wammu log :

Fri 2013/09/13 14:54:57: [System error - open in serial_open, 13, "Permission denied"]
Fri 2013/09/13 14:54:57: Init:GSM_TryGetModel failed with error DEVICENOPERMISSION[6]:
Error opening device, you don't have permissions.

after I add sudo chown :user /dev/ttyUSB1 problem disappear but still can't connect to the device.

Any help appreciated, Thanks

4

1 回答 1

0

问题是您的用户和组无权访问您的设备。您必须更改用户和组的权限。如果想轻松地将 /etc/init.d/gammu-smsd 中的用户和组更改为 root。

user="root"
group="root"
bin="/usr/local/bin/gammu-smsd"
configfile="/etc/gammu-smsdrc"
pidfile="/var/run/gammu.pid"

祝你今天过得愉快

于 2013-09-26T06:09:46.493 回答