[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libusb-devel
Subject:    [libusb] usb_clear_halt() after open.
From:       Ralph Little <skelband () gmail ! com>
Date:       2023-09-27 16:31:58
Message-ID: 1cc26359-d241-1061-4906-231ec0e28bab () gmail ! com
[Download RAW message or body]

Hi,
I am looking into a SANE issue in code where usb_clear_halt() is 
routinely called shortly after usb_open() and some of the standard calls 
to get configuration etc.

Is there any good reason to call this function when an error condition 
has not been reported?
Are there any known dangers in doing so?

A number of users have reported that the device fails to operate 
properly when the function is called in this way.
Removing the call fixes the issue.

Cheers,
Ralph Little



_______________________________________________
libusb-devel mailing list
libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic