From 1bf90a91ca62aa05af397b82476eaad6e2761ff2 Mon Sep 17 00:00:00 2001 From: cdfrey Date: Tue, 27 Nov 2007 22:36:16 +0000 Subject: [PATCH] - added ClearHalt() calls to probe and controller classes, just before any communication happens... the 8830 seems to need this --- ChangeLog | 4 ++++ src/controller.cc | 3 +++ src/probe.cc | 3 +++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7047ebd2..5934a070 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Release: version 0.10 - 2007/10/12 ------------------------------------------------------------------------------ +2007/11/27 + - added ClearHalt() calls to probe and controller classes, just + before any communication happens... the 8830 seems + to need this 2007/11/23 - added usbwrap.cc:GetConfiguration() - added code to check whether the configuration is the one diff --git a/src/controller.cc b/src/controller.cc index 8309f1ee..989b406f 100644 --- a/src/controller.cc +++ b/src/controller.cc @@ -69,6 +69,9 @@ Controller::Controller(const ProbeResult &device) } m_iface = new Usb::Interface(m_dev, device.m_interface); + + m_dev.ClearHalt(device.m_ep.read); + m_dev.ClearHalt(device.m_ep.write); } Controller::~Controller() diff --git a/src/probe.cc b/src/probe.cc index 5d093a2d..635e1f75 100644 --- a/src/probe.cc +++ b/src/probe.cc @@ -201,6 +201,9 @@ void Probe::ProbeDevice(Usb::DeviceIDType devid) Interface iface(dev, InterfaceNumber); + dev.ClearHalt(ep.read); + dev.ClearHalt(ep.write); + Data data; dev.BulkDrain(ep.read); if( !Intro(0, ep, dev, data) ) { -- 2.11.4.GIT