Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2009 21:00:19 +0300
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Stanislav Sedov <stas@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, Alfred Perlstein <alfred@freebsd.org>, src-committers@freebsd.org
Subject:   Re: 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...
Message-ID:  <20090106210019.a517ff3f.stas@FreeBSD.org>
In-Reply-To: <200901061823.34415.hselasky@c2i.net>
References:  <200901040012.n040C2gH040928@svn.freebsd.org> <200901061751.27394.hselasky@c2i.net> <20090106200103.26f2b5a9.stas@FreeBSD.org> <200901061823.34415.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 6 Jan 2009 18:23:33 +0100
Hans Petter Selasky <hselasky@c2i.net> mentioned:

> > So at this point the device is effectively detached? Do you have ideas why
> > that might happen. I don't also understand how it may work with config
> > index 1 on old stack if the maximum number of configurations is 1 too...
> > Looks weird.
>

BTW, it seems that device really uses the config index 0. I checked with the old
stack and it seems that setting cfg index to 1 effectively does nothing, though
doesn't fail. Old ubsa continues to work even with configuration index 0, so I
think it worth to change it to 0. At least, for my device - cfg index=1 is
incorrect, though works.
 
> 1) You removed the config index 1 quirk?

Which quirk are you talking about? I changed default index to 0 in ubsa2.c.

> 2) You re-plugged the module and let it stay disconnected for some seconds?
> 

Yes.

> You can reach the endpoints through ugen when config index 0 is set.
> 
> cat /dev/ugen0.2.0.1
> 
> echo "at" > /dev/ugen0.2.0.2
> 

I don't receive anything back...

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

iEYEARECAAYFAkljnDcACgkQK/VZk+smlYEX8gCbBxiPkJb+lPRud28J06A9JP3N
ogkAoIKGUY06LirvAlaJNRZs2tfyyvZW
=YlnA
-----END PGP SIGNATURE-----

!DSPAM:49639bab967001389555047!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090106210019.a517ff3f.stas>