Author Topic: Is my device vendor-defined class or defined USB class ?  (Read 4052 times)

jani12

  • Member
  • ***
  • Posts: 10
Is my device vendor-defined class or defined USB class ?
« on: January 15, 2019, 02:04:14 pm »
My device doesn't fully meet USB 2.0 specification.  It sends video to host PC in 512 byte packets.
Is it vendor-defined device or defined USB device class ?

When I connect my device to PC USB port, I capture following descriptor:
bDeviceClass:     Miscellaneous (0xef)
bDeviceSubClass:  2
bInterfaceClass:  Vendor Specific (0xff)
idVendor:         Unknown (0x8765)
idProduct:        Unknown (0x1235)
bString:          Bulk device

My windows application GUI that gets video from device isn't invoked yet.  Which program is fetching the descriptor?  Is it a host system class driver?

Does my device fit a standard class?  Does Windows 10 OS support this class?
I'm not using a vendor-defined driver.  Another words I don't install any driver when I connect my device to PC USB port.

It looks like host PC is able to match driver to the device because it is able to transfer video to my GUI application when it is invoked.

I'm asking this question because I need to access this video from embedded host.  If drivers already exist for my device then I don't need to create new drivers from scratch?


Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Is my device vendor-defined class or defined USB class ?
« Reply #1 on: January 15, 2019, 02:44:46 pm »
Class codes are defined here

https://www.usb.org/defined-class-codes

Windows Device Manager will name the driver or drivers assigned

https://support.microsoft.com/en-us/help/4026149/windows-open-device-manager

Yes, if your embedded host has drivers you don't have to provide them.