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.
On Sun, Sep 28, 2008 at 01:50:23AM -0000, Chris Jones wrote: AT_CAPS_ PROBE) - 1); AT_CAPS_ PROBE) - 1)
> 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(
>
> if (err != sizeof(
> 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