Open Source Telephony
 help / color / mirror / Atom feed
From: Philippe Nunes <philippe.nunes@linux.intel.com>
To: ofono@ofono.org
Subject: [PATCH v3 1/5] udev: Add rules to support ZTE MF668 dongle
Date: Wed, 31 Aug 2011 11:26:31 +0200	[thread overview]
Message-ID: <1314782795-9816-2-git-send-email-philippe.nunes@linux.intel.com> (raw)
In-Reply-To: <1314782795-9816-1-git-send-email-philippe.nunes@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

---
 plugins/ofono.rules |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/plugins/ofono.rules b/plugins/ofono.rules
index 30a1b7e..c7fac57 100644
--- a/plugins/ofono.rules
+++ b/plugins/ofono.rules
@@ -15,6 +15,15 @@ KERNEL=="shrm0", ENV{OFONO_DRIVER}="u8500"
 
 LABEL="ofono_isi_end"
 
+SUBSYSTEM!="tty", GOTO="ofono_tty_end"
+KERNEL!="ttyUSB[0-9]*", GOTO="ofono_tty_end"
+
+# ZTE
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0017", ENV{ID_USB_INTERFACE_NUM}=="02", ENV{OFONO_LABEL}="modem"
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0017", ENV{ID_USB_INTERFACE_NUM}=="01", ENV{OFONO_LABEL}="aux"
+
+LABEL="ofono_tty_end"
+
 SUBSYSTEM!="usb", GOTO="ofono_end"
 ENV{DEVTYPE}!="usb_device", GOTO="ofono_end"
 
-- 
1.7.1


  reply	other threads:[~2011-08-31  9:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31  9:26 [PATCH v3 0/5] udev rules update Philippe Nunes
2011-08-31  9:26 ` Philippe Nunes [this message]
2011-08-31  9:26 ` [PATCH v3 2/5] udev: Add rules to support ZTE MF190 dongle Philippe Nunes
2011-08-31  9:26 ` [PATCH v3 3/5] udevng.c: tty assignment according OFONO_LABEL should take precedence Philippe Nunes
2011-08-31  9:26 ` [PATCH v3 4/5] udev: Add rules to support Speedup 7300 dongle Philippe Nunes
2011-08-31  9:26 ` [PATCH v3 5/5] udev: Add rules to support SpeedUp 9800 dongle Philippe Nunes
2011-10-26 13:21 ` [PATCH v3 0/5] udev rules update Guillaume Zajac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314782795-9816-2-git-send-email-philippe.nunes@linux.intel.com \
    --to=philippe.nunes@linux.intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox