On 05/02/14(Wed) 00:39, Thomas Pfaff wrote:
> [...]
> > This diff simply remove the possibility to "unconfigure" a device by
> > passing the magic value to usbd_set_config_no(). There's no code in
> > our three that does that so it should be enough for the moment.
>
> Configuration 0 should be th
[...]
> To debug USB related problems,
> you can start by compiling a new kernel with USB_DEBUG define then set
> the usbdebug to something different than 0 (depending on the verbosity
> you want/need). In this case since it's an ugen(4) related bug,
> defining UGEN_DEBUG also helps ;)
Thank you
Hello Thomas,
On 02/02/14(Sun) 15:39, Thomas Pfaff wrote:
> Hi.
>
> I was playing with libusb when my machine suddenly crashed.
>
> The code below, run twice, should reproduce the problem on
> i386 and amd64 with any ugen device attached, GENERIC and
> GENERIC.MP.
Thanks for the bug report!
>
Hi.
I was playing with libusb when my machine suddenly crashed.
The code below, run twice, should reproduce the problem on
i386 and amd64 with any ugen device attached, GENERIC and
GENERIC.MP.
$ cat bug.c # minimal error-checking
#include
#include
#include
#include
/* Set to your ugen(4) de