[PATCH] hal probe modem caps ondemand

Bastien Nocera hadess at hadess.net
Tue May 6 07:08:12 PDT 2008


On Tue, 2008-05-06 at 09:55 -0400, Dan Williams wrote:
> On Sun, 2008-05-04 at 11:34 +0400, Vitja Makarov wrote:
> > Probe CDC-ACM modems, found in most cell phones on the fly, using
> > AT+GCAP modem command.
> > I tested it with 1 Nokia GSM phone, and 2 CDMA.
> 
> Great!  Thanks for writing this.
> 
> So what we can do now is remove all the matches for individual devices
> in the fdi file, and just match on the driver name for nozomi, airprime,
> option, and sierra.  We'll have a few left-over items that aren't driven
> by those, but those devices will either use cdc_acm (and therefore be
> probed) or we can just tag them to be probed automatically.  Not sure
> how this works on BSD and Solaris though; if they don't have separate
> drivers to run the mobile broadband cards then they'd have to revert
> back to the per-device tagging to know when to probe and when not to
> probe.

Or we should mark all the devices that don't use those drivers as V25
modems and install the callout for V25 modems, and devices with a
specific driver.



More information about the hal mailing list