summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJessica Nilsson <jessica.j.nilsson@stericsson.com>2011-02-23 12:43:15 +0100
committerAki Niemi <aki.niemi@nokia.com>2011-02-25 17:21:08 +0200
commit0c0cc21b71d4612a898c01488f4d3fed1b949cc8 (patch)
tree0253f5c14eb89a09f2e571a2c359362b8de764ae /plugins
parent1554854be024ba81a511a41b2db375d76dd9cb05 (diff)
downloadofono-0c0cc21b71d4612a898c01488f4d3fed1b949cc8.tar.bz2
plugins: add u8500 to udev
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ofono.rules3
-rw-r--r--plugins/udev.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/plugins/ofono.rules b/plugins/ofono.rules
index a3279237..5a36380e 100644
--- a/plugins/ofono.rules
+++ b/plugins/ofono.rules
@@ -357,6 +357,9 @@ SUBSYSTEMS=="usb", ENV{OFONO_DRIVER}="isiusb", ENV{OFONO_ISI_ADDRESS}="16"
# Nokia N900 modem
SUBSYSTEMS=="hsi", ENV{OFONO_DRIVER}="n900", ENV{OFONO_ISI_ADDRESS}="108"
+# STE u8500
+KERNEL=="shrm0", ENV{OFONO_DRIVER}="u8500"
+
LABEL="ofono_isi_end"
SUBSYSTEM!="usb", GOTO="ofono_end"
diff --git a/plugins/udev.c b/plugins/udev.c
index aa5702eb..d34cd515 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -667,6 +667,8 @@ done:
add_nokia(modem, udev_device);
else if (g_strcmp0(driver, "isiusb") == 0)
add_isi(modem, udev_device);
+ else if (g_strcmp0(driver, "u8500") == 0)
+ add_isi(modem, udev_device);
else if (g_strcmp0(driver, "n900") == 0)
add_isi(modem, udev_device);
else if (g_strcmp0(driver, "gobi") == 0)