On Mon, 2010-02-08 at 14:30 -0800, Dan Williams wrote: > On Mon, 2010-02-08 at 03:32 +0000, Sergio Monteiro Basto wrote: > > On Sat, 2010-02-06 at 00:08 +0000, updates fedoraproject org wrote: > > > Update Information: > > > > > > This update includes fixes for Alcatel, AnyData, and Nokia devices, > > > and improves > > > device detection for some ZTE modems when a PIN has been set. > > > > I'd like to know, how I call one system command in foreground, before > > ModemManager begins detection of (ZTE) modem and after knows the modem > > is ready (or plugged) ? > > Is this something general that ModemManager should be doing for these > devices? Or something that you specifically want to do? > I'd like run "COMGTPIN=1234 /usr/bin/comgt PIN -d /dev/ttyUSB0" to "unlock PIN". btw, now, my ZTE (Model MF622) is detected by NM , "when a PIN has been set", even without "unlock PIN". Thanks, > In any case, you can take a look at the NM 0.7.x > callouts/nm-modem-probe.c binary to see how you could do that. You set > up some udev rules that call your program when your specific device is > plugged in, and that will run before any program like ModemManager will > be notified that the device has been plugged in. > > Dan > > -- Sérgio M. B.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature