[PATCH] identify modems and mobile broadband cards

Dan Williams dcbw at redhat.com
Fri Feb 15 08:49:58 PST 2008


As discussed in previous threads.  fdi patch to hal-info attached as
it's too big for most mailing lists.  If we find things in the
ETSI/UMTS/3GPP stuff that is _new_ to UMTS cards, we'll add another
command set specification.  There are plenty of EDGE/GPRS cards and
actual phones that don't support UMTS and therefore wouldn't have any
new stuff like that.

Dan


diff -up hal-0.5.10/doc/spec/hal-spec-properties.xml.modem hal-0.5.10/doc/spec/hal-spec-properties.xml
--- hal-0.5.10/doc/spec/hal-spec-properties.xml.modem	2008-02-14 17:53:58.000000000 -0500
+++ hal-0.5.10/doc/spec/hal-spec-properties.xml	2008-02-14 18:19:52.000000000 -0500
@@ -881,6 +881,63 @@ org.freedesktop.Hal.Device.Volume.method
         </tgroup>
       </informaltable>
     </sect2>
+    <sect2 id="device-properties-modemif">
+      <title>
+        modem namespace
+      </title>
+      <para>
+        Serial device objectes that are known to be modems should also gain the
+        <literal>modem</literal> capability in their
+        <literal>info.capabilities</literal> list.  Modem device objects must
+        also be serial device objects.
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Key (type)</entry>
+              <entry>Values</entry>
+              <entry>Mandatory</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <literal>modem.command_sets</literal> (string)
+              </entry>
+              <entry>example: GSM-07.07, GSM-07.05</entry>
+              <entry>Yes</entry>
+              <entry>This property defines the command sets the modem device supports.</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>IS-707-A</entry>
+              <entry>Yes</entry>
+              <entry>This modem supports the IS-707-A standard AT commands (commonly used by CDMA cellular devices).  Implies V.250 support.</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>GSM-07.07</entry>
+              <entry>Yes</entry>
+              <entry>This modem supports the GSM-07.07 standard AT commands (commonly used by GSM-based cellular devices).  Implies V.250 support.</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>GSM-07.05</entry>
+              <entry>Yes</entry>
+              <entry>This modem supports the GSM-07.05 standard AT commands (commonly used by GSM-based cellular devices).  Implies V.250 support.</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>ITU-V.250</entry>
+              <entry>Yes</entry>
+              <entry>This modem supports the ITU V.250 standard AT commands (also known as Hayes-compatible).</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </sect2>
     <sect2 id="device-properties-usb">
       <title>
         usb_device namespace


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-info-modem.patch.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 2066 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080215/cd7560f9/attachment.bin 


More information about the hal mailing list