On Tuesday 06 January 2009, Stanislav Sedov wrote:
> On Tue, 6 Jan 2009 21:04:14 +0100
>
> Hans Petter Selasky <hsela...@c2i.net> mentioned:
> > On Tuesday 06 January 2009, Stanislav Sedov wrote:
> > > On Tue, 6 Jan 2009 20:43:19 +0100
> > >
> > > Hans Petter Selasky <hsela...@c2i.net> mentioned:
> > > > On Tuesday 06 January 2009, Stanislav Sedov wrote:
> > > > > On Tue, 6 Jan 2009 20:04:51 +0100
> > > > >
> > > > > Hans Petter Selasky <hsela...@c2i.net> mentioned:
> > > > > > On Tuesday 06 January 2009, Stanislav Sedov wrote:
> > > > > > > http://www.SpringDaemons.com/stas/dmesg
> > > > > >
> > > > > > From the debug messages it might look like your device has a
> > > > > > problem with clearing the stall. Try commenting out the following
> > > > > > lines in "ubsa2.c":
> > > > > >
> > > > > >         /* clear stall at first run */
> > > > > >         sc->sc_flag |= (UBSA_FLAG_WRITE_STALL |
> > > > > >             UBSA_FLAG_READ_STALL);
> > > > >
> > > > > This doesn't affect anything. :-(
> > > > >
> > > > > BTW, sometime I see the following after plugging in the module:
> > > >
> > > > In the function "ubsa_cfg_request":
> > > >
> > > > Try:
> > > >
> > > > 1) Always return - no requests: Do you get AT+OK back on the modem
> > > > channel?
> > >
> > > This doesn't change anything.
> > >
> > > > 2) Add pause("DLY", hz / 10); in that function.
> > >
> > > After this change the device began to work (that is I'm receiving
> > > replies for AT commands). However I can connect to it only once,
> > > after disconnecting "cu" I can communicate with it again only after
> > > device reset (or reattach).
> >
> > Can you send me change 2) with debugging output?
>
> Unfortunately, it stopped working for some reason. :-( Probably, I need
> to reboot. Anyway the change was like this:
> @@ -384,6 +390,8 @@
>         req.wIndex[1] = 0;
>         USETW(req.wLength, 0);
>
> +       pause("DLY", hz / 10);
> +
>         err = usb2_do_request_flags
>             (sc->sc_udev, &Giant, &req, NULL, 0, NULL, 1000);
>
> What kind of debugging info are you interested in? Should I enable
> hw.usb2.ubsa.debug?

Yes, only ubsa debugging.

--HPS


_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to