diff options
author | Tambet Ingo <tambet@gmail.com> | 2008-12-04 17:39:15 +0200 |
---|---|---|
committer | Tambet Ingo <tambet@gmail.com> | 2008-12-04 17:39:15 +0200 |
commit | 793044b577c18d3b9028276fdec629981c75f5ed (patch) | |
tree | 39ca5958aa741c7b44bc0841873c35d99daafe13 /plugins/mm-plugin-sierra.c | |
parent | 3d84a60ab1efade2ef7ae0885abfa4400d6b386b (diff) |
Add support for the HP branded version of the sierra mc8775.
Patch from Stefan Seyfried <seife@suse.de>.
Diffstat (limited to 'plugins/mm-plugin-sierra.c')
-rw-r--r-- | plugins/mm-plugin-sierra.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mm-plugin-sierra.c b/plugins/mm-plugin-sierra.c index 6e7b6976..7185c4dd 100644 --- a/plugins/mm-plugin-sierra.c +++ b/plugins/mm-plugin-sierra.c @@ -80,6 +80,14 @@ supports_udi (MMPlugin *plugin, LibHalContext *hal_ctx, const char *udi) if (vendor == 0x1199) supported = TRUE; + if (vendor == 0x03f0) { + int product; + + product = libhal_device_get_property_int (hal_ctx, parent_udi, "usb.product_id", NULL); + if (product == 0x1e1d) + supported = TRUE; + } + libhal_free_string (parent_udi); } } |