Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH] udev: assign "huaweicdma" OFONO_DRIVER for E156 dongle
Date: Thu, 28 Jul 2011 22:12:24 +0200	[thread overview]
Message-ID: <1311883944.8920.118.camel@aeonflux> (raw)
In-Reply-To: <1311864599-10607-1-git-send-email-guillaume.zajac@linux.intel.com>

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

Hi Guillaume,

>  plugins/ofono.rules |  217 ++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 216 insertions(+), 1 deletions(-)
> 
> diff --git a/plugins/ofono.rules b/plugins/ofono.rules
> index f8e485b..94eb061 100644
> --- a/plugins/ofono.rules
> +++ b/plugins/ofono.rules
> @@ -412,7 +412,222 @@ ATTRS{idVendor}=="1199", ENV{OFONO_DRIVER}="sierra"
>  ATTRS{idVendor}=="1199", ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}=""
>  
>  # HUAWEI Technology
> -ATTRS{idVendor}=="12d1", ENV{OFONO_DRIVER}="huawei"
> +
> +# Generic 0x1001
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ENV{OFONO_DRIVER}="huawei"
> +
> +# Generic 0x1003
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1004", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1401", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1402", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1404", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1405", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1406", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1408", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1409", ENV{OFONO_DRIVER}="huawei"
> +
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="140a", ENV{OFONO_DRIVER}="huawei"
> +
> +# E156
> +ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="140b", ENV{OFONO_DRIVER}="huaweicdma"

just make this one special and have it overwrite the previous one. No
need for touching everything.

Regards

Marcel



  reply	other threads:[~2011-07-28 20:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-28 14:49 [PATCH] udev: assign "huaweicdma" OFONO_DRIVER for E156 dongle Guillaume Zajac
2011-07-28 20:12 ` Marcel Holtmann [this message]
2011-07-29  7:39   ` 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=1311883944.8920.118.camel@aeonflux \
    --to=marcel@holtmann.org \
    --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