Re: ugen(4) crash libusb

2014-02-09 Thread Martin Pieuchot
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

Re: ugen(4) crash libusb

2014-02-04 Thread Thomas Pfaff
[...] > 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

Re: ugen(4) crash libusb

2014-02-02 Thread Martin Pieuchot
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! >

ugen(4) crash libusb

2014-02-02 Thread Thomas Pfaff
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