10-modem.fdi

Dan Williams dcbw at redhat.com
Thu May 29 11:12:52 PDT 2008


On Thu, 2008-05-29 at 09:45 +0300, Antti Kaijanmäki wrote:
> Hi,
> 
> I'm going to local home electronics store next Monday to gather some
> mobile phone USB IDs for 10-modem.fdi . I have few questions about the
> elements in the file. It would not be nice if I had to go there for
> second time just because I missed some crucial information :)
> 
> Looking at the file it's clear that I must collect the usb.vendor_id and
> usb.product_id pairs, but I'm not sure what to do about
> usb.interface.number and modem.command_sets .
> 
> Is usb.interface.number for situations where there are multiple serial
> ports exported by single device? In that case it's always "0" if there
> is only one port, right?

Correct.  Not sure what we do about multiplexing right now but we can
figure that out later.

> Is there some magic I can send to a phone to get the information for
> modem.command_sets? 

AT+GCAP

That should report the standards the phone supports.  If you see "GSM"
in the returned string, then it's a GSM phone.  If it says "IS707-A" in
the returned string then it's a CDMA phone.

Dan




More information about the hal mailing list