hal-info: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Mon May 5 12:21:52 PDT 2008
fdi/information/10freedesktop/10-modem.fdi | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit 739f2cc5cf151c7454b8573d80a0173787527808
Author: Daniel Qarras <dqarras at yahoo.com>
Date: Mon May 5 21:21:46 2008 +0200
add CDC ACM Modem
The attached patch add support for CDC ACM modems, typically
provided by GSM/CDMA phones.
Background: it turned out while testing a Nokia CA-42 cable with a GSM
phone and NetworkManager that the cable can actually support CDMA
phones, too (1). After few iterations it was suggested by Alex that
these kind of cables should be marked as general V.250 modems (2).
Applications can then use AT commands to find out whether the device is
GSM, CDMA, or what else. However, it was also pointed out that David is
working on a "probing feature" (3) which I'm unaware of, so please
consider that aspect before applying the patch.
1) http://lists.freedesktop.org/archives/hal/2008-March/011151.html
2) http://lists.freedesktop.org/archives/hal/2008-April/011382.html
3) http://lists.freedesktop.org/archives/hal/2008-April/011385.html
diff --git a/fdi/information/10freedesktop/10-modem.fdi b/fdi/information/10freedesktop/10-modem.fdi
index 1a93013..b5b6200 100644
--- a/fdi/information/10freedesktop/10-modem.fdi
+++ b/fdi/information/10freedesktop/10-modem.fdi
@@ -276,6 +276,15 @@
</match>
</match>
+ <!-- Communication Device Class Abstract Control Model (CDC ACM) modems,
+ typically provided by GSM/CDMA phones -->
+ <match key="@info.parent:usb.interface.class" int="0x02">
+ <match key="@info.parent:usb.interface.subclass" int="0x02">
+ <append key="info.capabilities" type="strlist">modem</append>
+ <append key="modem.command_sets" type="strlist">V.250</append>
+ </match>
+ </match>
+
</match>
</device>
</deviceinfo>
More information about the hal-commit
mailing list