For Programmers: Free Programming Magazines  


Home > Archive > MSDN > October 2005 > AVStream : 2 devices on an USB box









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author AVStream : 2 devices on an USB box
Edward Hsu

2005-10-27, 9:55 pm

Dear All,

I am developing an AVStream device driver for a MPEG2 HW encoding USB
box. The MPEG2 capture pin is working now. Now I try to develop a HID device
driver for IR (Infrared) device on the same USB box. But I don't know how to
make WinXP know this USB device has two devices (one is MPEG2 encoder and the
other is IR receiver)? PS : I use (VID, PID) of USB device to identify the
device but one USB device only has one (VID, PID) value. Any comments are
very appreciated.

Thanks a lot!!!
Edward
Marc Reinig

2005-10-28, 6:56 pm

The standard way to do this is to use multiple interfaces, one interface per
"device".

Marc Reinig
System Solutions


"Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
news:277BCB83-4DF3-462A-8968-43AAC7D34D6F@microsoft.com...

> I am developing an AVStream device driver for a MPEG2 HW encoding USB
> box. The MPEG2 capture pin is working now. Now I try to develop a HID
> device
> driver for IR (Infrared) device on the same USB box. But I don't know how
> to
> make WinXP know this USB device has two devices (one is MPEG2 encoder and
> the
> other is IR receiver)? PS : I use (VID, PID) of USB device to identify the
> device but one USB device only has one (VID, PID) value. Any comments are
> very appreciated.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com