<html>
<body>
Hi Andrew,<br><br>
A useful little something that you may find helpful -
<a href="http://www.idesignz.org/misc/UVCView.x86.zip">
http://www.idesignz.org/misc/UVCView.x86.zip</a> <br><br>
It displays tables associated with all enumerated USB devices.<br><br>
!! obviously run a virus scanner on it first !!<br><br>
I do like Philip's idea of changing &quot;Vendor ID&quot; and
&quot;Product ID&quot; in hex - that will give you a very quick way of
meddling with things...<br><br>
Can you supply part number and manufacturer of the audio codec, some
manufacturers supply tools to create custom descriptors without having to
sign an NDA...<br><br>
Regards,<br><br>
Mark<br><br>
PS for real music - &quot;John Otway, You Ain't Seen Nothing
Yet&quot;<br><br>
<br>
At 05:56 p.m. 5/01/2011, Andrew Errington wrote:<br>
<blockquote type=cite class=cite cite="">Hi all,<br><br>
I am looking for a favour or advice.<br><br>
I have a USB audio device.&nbsp; It is HID compliant, so it needs no
drivers. <br>
On the chip are two GPIO pins which I know are controllable (but which
are<br>
not normally used).&nbsp; I have a data sheet for the pinout.&nbsp; I
have source<br>
code and a compiled .exe for a test program which will set and read
the<br>
GPIO pins.&nbsp; I do not have the source for the library file which
constructs<br>
the data packets to send to the device to change the GPIO pins.&nbsp;
(Grr!). <br>
I want to control an external circuit using the GPIO pins, and keep
the<br>
audio functionality too.<br><br>
I want to run the test program, twiddle the GPIO bits and capture
the<br>
packets which are sent to the device.&nbsp; I can then figure out how
write my<br>
own code to control the GPIOs by constructing my own packets.&nbsp; Oh,
and I<br>
can also double-check that the circuit I tack on to the GPIO will
work,<br>
because I can control it with the test program.<br><br>
Unfortunately, the test code was compiled with a different product ID
to<br>
the chip I have (same product, different configuration), so the test<br>
program won't run because it cannot find the device. (Grr!)<br><br>
The source code is Microsoft Visual C++ with MFC.&nbsp; I don't have
a<br>
compiler, and I'm not sure where to look (later compilers use .NET, but
I<br>
want old skool).&nbsp; I also generally use Linux, but I have access to
an XP<br>
machine.<br><br>
What I'd really like to do is send someone the source code and the
product<br>
ID and have them recompile and send the .exe to me...<br><br>
Thanks in advance,<br><br>
Andrew</blockquote></body>
</html>