svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/us...

Stanislav Sedov stas at FreeBSD.org
Tue Jan 6 11:54:12 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 6 Jan 2009 20:43:19 +0100
Hans Petter Selasky <hselasky at c2i.net> mentioned:

> On Tuesday 06 January 2009, Stanislav Sedov wrote:
> > On Tue, 6 Jan 2009 20:04:51 +0100
> >
> > Hans Petter Selasky <hselasky at 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).

- -- 
Stanislav Sedov
ST4096-RIPE
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkljt2wACgkQK/VZk+smlYFC9gCfQVlIWWSmmTW9Ji9rIBjPZDgM
hOcAn15p0gTdm5zGXwbU4jdhBhsicXmD
=MBND
-----END PGP SIGNATURE-----

!DSPAM:4963b6df967004835023868!




More information about the svn-src-head mailing list