diff options
author | Michal Čihař <nijel@debian.org> | 2015-03-02 15:23:11 +0100 |
---|---|---|
committer | Michal Čihař <nijel@debian.org> | 2015-03-02 15:23:11 +0100 |
commit | d6bda2f410c01a5b4aab018955fb539f5f28aca1 (patch) | |
tree | fc15fbc5bdc7523f064d6c224ae91072a849b0ef /contrib | |
parent | a288f916607f050221fab9e5164955797dc6b803 (diff) |
Imported Upstream version 1.35.0
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/udev/69-gammu-acl.rules | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index a7cc575..675d243 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -112,7 +112,7 @@ endif (INSTALL_LSB_INIT) if (INSTALL_UDEV_RULES) install ( - FILES udev/45-nokiadku2.rules + FILES udev/69-gammu-acl.rules DESTINATION "/etc/udev/rules.d" COMPONENT "udev" ) diff --git a/contrib/udev/69-gammu-acl.rules b/contrib/udev/69-gammu-acl.rules new file mode 100644 index 0000000..e6264dc --- /dev/null +++ b/contrib/udev/69-gammu-acl.rules @@ -0,0 +1,16 @@ +# +# udev rule to give users access to USB device to be used by Gammu +# + +ACTION!="add|change", GOTO="gammu_acl_rules_end" + +KERNEL!="ttyACM[0-9]*", GOTO="gammu_acl_rules_end" +SUBSYSTEM!="tty", GOTO="gammu_acl_rules_end" + +# Nokia devices +ATTRS{manufacturer}=="Nokia", TAG+="uaccess" + +# Example for Sony Ericsson J108i Cedar +# ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="d14e", TAG+="uaccess" + +LABEL="gammu_acl_rules_end" |