I have Ubuntu Server 12.04 LTS and on it I have installed gammu. I use it to control my "Nokia 5310 Xpress music" cell phone.
Now when I run "gammu --identify" it does not work, says I dont have the right device permissions, but it works with sudo gammu --identify
Now my Nokia device is listed as ttyACM0 in my /dev/ directory... its permissions are rw for root and dialout... I tried to change these permissions so that I can use this device with gammu without sudo
... I did sudo chmod 777 /dev/ttyACM0
and it changed the permissions, but still it did not work...
I even went and added a file in /etc/udev/rules.d/ by the name of 40-41-descriptive-name.rules which contained the following line:
SUBSYSTEM=="usb", ATTR{idVendor}=="0421", ATTR{idProduct}=="006b", MODE="0600", OWNER="MyUserName"
and then restarted udev but still no luck...
I even did sudo chown myusername /dev/ttyACM0
and gave myself the ownership of the device but still I needed to use sudo to get things done...
btw if I do lsusb
I get the following info:
BUS 002 Device 003: ID 0421:006b Nokia Mobile Phones
I tried all these ways to change the device permissions so that i could use "gammu --identify" instead of sudo gammu --identify
but no luck.
How can i fix this dilemma?