D P Freeman-Jones wrote:
>
> Hauppauge were less than helpfull they wanted me to buy their Windows > developers
>kit. ;-(
>
I'm still waiting for an answer from Hauppauge. But this gives no hope
to me. Do we have to do reverse ingeniering?
>
> What does your 'usb_control_msg' call look like?
>
The command to invoke the 'Power Up' is:
char value = 0x20;
return usb_control_msg(dev, usb_sndctrlpipe(dev, 1),
0x33, USB_TYPE_VENDOR | USB_RECIP_ENDPOINT,
0, 0, &value, sizeof(value), HZ);
The number of the pipe is calculated ba usb_sndctrlpipe(dev, endpoint),
were endpoint is 1 (shown in the NT1003-1 data sheet nt1031DS.pdf,
chapter 1). '0x33' is NT1003 specific code. The next value is self
explaining TYPE=VENDOR, RECIPIENT=ENDPOINT. The fifth is without
meaning. the sixth value is the control register address (0 for
Power_Register). Then there's the address of the actually data (0x20 =
Power_ON | Restart_Endpoint2) followed by the byte size of the data. The
last value is for timeout.
And now let's find a configuration for the chips to work together.
Greeting
Joerg Heckenbach
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]