mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USBCCGP]
- Add more debugging for failing webcam CORE-6574 svn path=/trunk/; revision=57849
This commit is contained in:
parent
e51a80740b
commit
c9502f66eb
2 changed files with 15 additions and 9 deletions
|
@ -355,6 +355,7 @@ USBCCGP_ScanConfigurationDescriptor(
|
|||
}
|
||||
else
|
||||
{
|
||||
DumpConfigurationDescriptor(ConfigurationDescriptor);
|
||||
DumpFullConfigurationDescriptor(FDODeviceExtension, ConfigurationDescriptor);
|
||||
|
||||
//
|
||||
|
@ -386,15 +387,15 @@ USBCCGP_ScanConfigurationDescriptor(
|
|||
VOID
|
||||
DumpConfigurationDescriptor(PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor)
|
||||
{
|
||||
DPRINT1("Dumping ConfigurationDescriptor %x\n", ConfigurationDescriptor);
|
||||
DPRINT1("bLength %x\n", ConfigurationDescriptor->bLength);
|
||||
DPRINT1("bDescriptorType %x\n", ConfigurationDescriptor->bDescriptorType);
|
||||
DPRINT1("wTotalLength %x\n", ConfigurationDescriptor->wTotalLength);
|
||||
DPRINT1("bNumInterfaces %x\n", ConfigurationDescriptor->bNumInterfaces);
|
||||
DPRINT1("bConfigurationValue %x\n", ConfigurationDescriptor->bConfigurationValue);
|
||||
DPRINT1("iConfiguration %x\n", ConfigurationDescriptor->iConfiguration);
|
||||
DPRINT1("bmAttributes %x\n", ConfigurationDescriptor->bmAttributes);
|
||||
DPRINT1("MaxPower %x\n", ConfigurationDescriptor->MaxPower);
|
||||
DbgPrint("Dumping ConfigurationDescriptor %x\n", ConfigurationDescriptor);
|
||||
DbgPrint("bLength %x\n", ConfigurationDescriptor->bLength);
|
||||
DbgPrint("bDescriptorType %x\n", ConfigurationDescriptor->bDescriptorType);
|
||||
DbgPrint("wTotalLength %x\n", ConfigurationDescriptor->wTotalLength);
|
||||
DbgPrint("bNumInterfaces %x\n", ConfigurationDescriptor->bNumInterfaces);
|
||||
DbgPrint("bConfigurationValue %x\n", ConfigurationDescriptor->bConfigurationValue);
|
||||
DbgPrint("iConfiguration %x\n", ConfigurationDescriptor->iConfiguration);
|
||||
DbgPrint("bmAttributes %x\n", ConfigurationDescriptor->bmAttributes);
|
||||
DbgPrint("MaxPower %x\n", ConfigurationDescriptor->MaxPower);
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
|
|
|
@ -62,6 +62,11 @@ typedef struct
|
|||
PFDO_DEVICE_EXTENSION FDODeviceExtension; // pointer to fdo's pdo list
|
||||
}PDO_DEVICE_EXTENSION, *PPDO_DEVICE_EXTENSION;
|
||||
|
||||
/* descriptor.c */
|
||||
|
||||
VOID
|
||||
DumpConfigurationDescriptor(
|
||||
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor);
|
||||
|
||||
NTSTATUS
|
||||
USBCCGP_GetDescriptors(
|
||||
|
|
Loading…
Reference in a new issue