diff options
author | Torgny Johansson <torgny.johansson@ericsson.com> | 2009-07-16 12:21:38 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-07-16 12:21:38 +0200 |
commit | 4062ec658e1beb3afea5c2fa96aa6a38b5f222e0 (patch) | |
tree | bb46ecf6e94cbc4abbb9d789e11240ff219d4e76 | |
parent | 318a7465b101c1c6347eb2b1d97e2023e90c7b96 (diff) |
Ignore "not quite" ethernet interfaces
Remove the net.80203 capability of mobile broadband devices which appear after
sending some AT commands. These should not be treated as real ethernet
interfaces by NetworkManager and friends. However, modemmanager/NM are not yet
ready to prevent those devices from being managed as normal ethernet devices.
https://launchpad.net/bugs/374970
-rw-r--r-- | fdi/information/10freedesktop/10-modem.fdi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fdi/information/10freedesktop/10-modem.fdi b/fdi/information/10freedesktop/10-modem.fdi index 7debf61..c2d37af 100644 --- a/fdi/information/10freedesktop/10-modem.fdi +++ b/fdi/information/10freedesktop/10-modem.fdi @@ -520,5 +520,22 @@ </match> </match> + +<!-- ***************************************************** + Remove the net.80203 capability of mobile broadband devices which appear + after sending some AT commands. These should not be treated as real + ethernet interfaces by NetworkManager and friends. + ***************************************************** --> + <match key="info.parent" contains_outof="413c_8147;bdb_1902;bdb_1900;930_130b"> + <match key="info.parent" suffix="_if7"> + <remove key="info.capabilities" type="strlist">net.80203</remove> + </match> + </match> + <match key="info.parent" contains_outof="bdb_1904"> + <match key="info.parent" suffix="_if6"> + <remove key="info.capabilities" type="strlist">net.80203</remove> + </match> + </match> + </device> </deviceinfo> |