On Wed, Sep 26, 2012 at 8:31 PM, jan van katwijk <j.vankatw...@gmail.com> wrote:
>
Firstly please take note you need to subscribe to libusbx mailing list
in order to post.
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

>
> I do have the following problem occurring when using libusbXXX under Windows
>
> I am developing sdr software and currently, cheap RTL2832U based sticks are
> a hop topic. My software
> also supports these kinds of sticks. This is the issue
> a. when using driver software which on its turn used libusb-1.0.9, it is
> (virtually) impossible to change
>     frequency while data transfers are going on. Even when stopping the data
> transfer, rapidly changing frequencies will lead to a complete halt of the
> software (obviously changing frequencies causes some control communications
> through the USB port). Changing frequencies with a rate faster than once per
> second will block everything within seconds. On slower machines the problem
> occurs sooner than on faster ones, however, I managed to create the problem
> on all of my laptops.

You may hit the serious bugs of libusb-1.0.9 under Windows which
have been fixed in libusb.git. libusb-1.0.9 is basically not usable
under Windows.

You should try the git version to see if that helps.
http://git.libusb.org/?p=libusb.git;a=shortlog;js=1

>     This is however, not the case when using libusbx-1.0.12, then everything
> works fine.
> HOWEVER:
> b. I got many complaints of some users with various types of sticks that the
> software that there are usb-read and write errors when using software which
> is built from exactly the same sources, when using libusbx-1.012 (obviously
> then, when using software using libusb-1.0.9, they can use the stick
> and complain about the issue mentioned under (a)
>
> The (b) problem does not show up always,  I do have three laptops of various
> age (7 years with XP, 4 years with Vista and 0.2 years with W7) which do not
> show the problem described in (b), I do have the problem described in (a) on
> all three of them.
>
> The problems do only occur with Windows, I know some people run the
> software on Linux and there is no problem whatsoever.

For libusbx, to narrow down the problem, you may want to ask your
users to try out libusbx-1.0.11 and 1.0.14 to see if there are any
differences in the behavior.
https://github.com/libusbx/libusbx/blob/master/ChangeLog

And for libusbx-1.0.12 and libusbx-1.0.14, you can ask your users
to get the debug log by setting the environmental variable
LIBUSB_DEBUG to 4.



-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to