Comment 8 for bug 272302

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 272302] Re: NM 0.7: probe_modem(): Couldn't get caps

On Sun, Sep 28, 2008 at 01:50:23AM -0000, Chris Jones wrote:
> After tracing the execution a little, it seems that the failure is
> happening quite early - in modem_probe_caps() the first exit point.
>
> err = write(fd, AT_CAPS_PROBE, sizeof(AT_CAPS_PROBE) - 1);
>
> if (err != sizeof(AT_CAPS_PROBE) - 1)
> return -1;
>
> I will see if I can extract some more information with some debugging
> statements.
>

you should build your NM with SERIAL_DEBUG 1 ... you can flip that
define in nm-device-serial.c iirc.

 - Alexander