This is a multi-part message in MIME format.
--------------090908070203080006080805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Lucas van staden wrote:
> Hi,
>=20
> Ok,
>=20
> Firstly, apologies if this is a duplication, or if I had sent a
> previously unfinished mail.
> I started my reply a while ago, but work got in the way, and I saved it=

> as a draft.
> My mail program has it in my sent box, and not in my drafts, but I
> checked the archive site,
> and it is not listed, so I am a bit confused myself now if it had sent
> or not.

The first one didn't get through.

OK, we have several things here:

1. Why the firmware upload doesn't work...

Honestly, I have no idea. The actual process succeeded, and it's the same=
 as
the usbsnoops I have - but of course, this is a differently sized firmwar=
e,
so the next step I can think of would be to have you download SnoopyPro i=
n
Windows and do a USB dump.

2. The fact we can't talk to the remote after it gets hosed.

As Stephen pointed out, we test for both and IN and OUT endpoint.

The attached patch changes that to require only an IN endpoint. Give it a=

shot when the remote is in the messed-up state.

I don't expect most things to work (we'll have to recognized this case, s=
et
a flag and act accordingly), but in theory, it should at least let the
remote be found. So apply the attached patch (its on top of the previous
patch, so it should apply just fine), and then do a "concordance -vi"

--=20
Phil Dibowitz                             p...@ipom.com
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming


--------------090908070203080006080805
Content-Type: text/x-patch;
 name="libconcord_endpoint.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="libconcord_endpoint.patch"

Index: libconcord/libusb/libusbhid.cpp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/concordance/concordance/libconcord/libusb/libusbhid.cp=
p,v
retrieving revision 1.18
diff -u -r1.18 libusbhid.cpp
--- libconcord/libusb/libusbhid.cpp     11 Apr 2008 05:05:26 -0000      1.18
+++ libconcord/libusb/libusbhid.cpp     27 Aug 2009 19:27:24 -0000
@@ -178,7 +180,8 @@
                }
        }
=20
-       if (ep_read =3D=3D -1 || ep_write =3D=3D -1) return 1;
+       //if (ep_read =3D=3D -1 || ep_write =3D=3D -1) return 1;
+       if (ep_write =3D=3D -1) return 1;
=20
        // Fill in hid_info
=20

--------------090908070203080006080805--

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to