Identifying mobile phones as modems
Daniel Qarras
dqarras at yahoo.com
Tue Apr 8 10:16:44 PDT 2008
Hi Alexander!
> I think the best that hal can do is to mark all CA-42, DKU-2, etc
> devices (detected by interface class == 2 and interface subclass ==
> 2,
> no hardcoding of interface numbers or vendor/product ids) as generic
> v.25 modems, and let the applications figure out additional command
> sets, if they need them, by either asking the user, or sending AT
> commands to the device.
>
> Here's some discussion on DKU-2 phones which has a similar problem
> (unable to distinguish between GSM and CDMA):
> http://bugzilla.gnome.org/show_bug.cgi?id=525305
> http://bugs.freedesktop.org/show_bug.cgi?id=15346
Thanks a lot for your help! I've attached a patch proposal, I think it
does what you suggest. I'm bit surprised if leaving vendor/product ids
is ok but then I fully don't know the finer logic involved here.
Anyway, if the patch looks sane perhaps it could be merged then?
Thanks.
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10-modem.fdi.patch
Type: text/x-patch
Size: 562 bytes
Desc: 4211432875-10-modem.fdi.patch
Url : http://lists.freedesktop.org/archives/hal/attachments/20080408/f90156bf/attachment.bin
More information about the hal
mailing list