e other remark is THAT THE CRASH PERSIST :'(
Any Idea
Regards,
Mohamed
On Wed, Jan 30, 2013 at 9:26 PM, Mohamed HAMZAOUI wrote:
> On Wed, Jan 30, 2013 at 6:33 AM, Xiaofan Chen wrote:
>> On Wed, Jan 30, 2013 at 12:45 AM, Mohamed HAMZAOUI
>> wrote:
>>> Now I use libu
On Wed, Jan 30, 2013 at 6:33 AM, Xiaofan Chen wrote:
> On Wed, Jan 30, 2013 at 12:45 AM, Mohamed HAMZAOUI
> wrote:
>> Now I use libusbx library static in debug mode (i just have changed
>> /MTd to /MDd in compiling parameter).
>>
>> more information about the
Another remark : I found the same problem in an old libusb ticket
http://www.libusb.org/ticket/140
maybe the memory corruption is caused by pthread-win32 in a stress context ?
ragards,
Mohamed
On Tue, Jan 29, 2013 at 5:45 PM, Mohamed HAMZAOUI wrote:
> Hi Pete,
>
> Thank you for your
r [handle_events] poll failed -1 err=9
event_handler_thread : libusb_handle_events ret -1
>>>>crash :'( <<<<
Regards,
Mohamed
On Tue, Jan 29, 2013 at 12:58 AM, Pete Batard wrote:
> Hi Mohamed,
>
> On 2013.01.28 09:57, Mohamed HAMZAOUI wrote:
>> I retur
Please do not take into account this :
libusb_cancel_transfer(transfer->xfer); /* the callback do the free */
Regards,
Mohamed
On Mon, Jan 28, 2013 at 10:57 AM, Mohamed HAMZAOUI wrote:
> Hi,
> I return for you for a crash problem in my soft.
> For remember, I'm now developping
Hi,
I return for you for a crash problem in my soft.
For remember, I'm now developping a software based on libusbx to send
and receive with my CAN-USB gateway card.
In my program i have a start a thread to handle event with this code :
static void *event_handler_thread(void *args)
{
struct dtlib *l
YES IT WORKS
THAANKS for your help and your time.
Regards,
Mohamed
On Thu, Jan 3, 2013 at 10:07 AM, Xiaofan Chen wrote:
> On Thu, Jan 3, 2013 at 4:56 PM, Xiaofan Chen wrote:
>> On Thu, Jan 3, 2013 at 4:48 PM, Xiaofan Chen wrote:
>>> Do you have other applications accessing your de
My device is a CAN/LIN - USB interface, i use the gadget zero pid/vid
just for testing, after that i'll buy another vid/pid.
I'm not the first one who detect this problem, I have found in libusb
mailing list the same problem but the discussion is not complete :
http://www.mail-archive.com/libusbx-
2184] [0dfc] libusbx: debug [libusb_exit]
[ 3.224184] [0dfc] libusbx: debug [libusb_exit] destroying default context
Thanks for your help.
Mohamed
On Wed, Jan 2, 2013 at 9:45 AM, Xiaofan Chen wrote:
> On Wed, Jan 2, 2013 at 4:27 PM, Mohamed HAMZAOUI wrote:
>> Hi,
>> I us
pen device
\\.\USB#VID_0525&PID_A4A0#1_#{A5DCBF10-6530-11D2-901F-00C04FB951ED}
(interface 0): [5] Access denied */
Regards,
Mohamed
On Wed, Jan 2, 2013 at 7:16 AM, Xiaofan Chen wrote:
> On Tue, Jan 1, 2013 at 8:21 PM, Mohamed HAMZAOUI wrote:
>> I have just describe for yo
Hi,
On Tue, Jan 1, 2013 at 7:57 AM, Xiaofan Chen wrote:
> On Tue, Jan 1, 2013 at 2:43 AM, Mohamed HAMZAOUI wrote:
>> Hi,
>> Happy new year for everyone :)
>>
>> I have a strange problem with libusbx 1.0.14 on windows 7
>>
>> when i run this
Hi,
Happy new year for everyone :)
I have a strange problem with libusbx 1.0.14 on windows 7
when i run this test :
status = libusb_init(&ctx);
libusb_get_device_list(ctx,&list_devices);
libusb_open(libusb_dev[dev_index], &handle);
libusb_close(handle);
libusb_open(libusb_dev[dev_index], &ha
; On Wed, Dec 12, 2012 at 4:49 PM, Xiaofan Chen wrote:
>> On Wed, Dec 12, 2012 at 2:11 AM, Tim Roberts wrote:
>>> Mohamed HAMZAOUI wrote:
>>>> Solution, as pointed out Tim, is to buffer more data in a single
>>>> request. It's like nagle algorithm
Hi,
To summarize, the number of fds is limited to the size of the table,
256 elements at most, this is an estimate from Microsoft that is
enough!
Solution, as pointed out Tim, is to buffer more data in a single
request. It's like nagle algorithm that I will implement, but I think
it is not a good
in thread which execute the submit return sometimes -11.
After a few more seconds the callback function is never be called and the
submit return always LIBUSB_ERROR_NO_MEM and handler return -5 !!!
Regards,
Mohamed
On Sat, Dec 1, 2012 at 12:38 AM, Pete Batard wrote:
> Ho Mohamed,
>
> On
Hi,
I'm using libusbx/WINUSB on windows 7 32 machine. When I poll frequently my
device with 64-byte USB requests on bulk pipe, libusb no longer treats me
nothing and return on each call to libusb_submit_transfer and the callback
is never called.
I handle the events in another thread
with libusb_ha
16 matches
Mail list logo