mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 18:29:44 +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
|
else
|
||||||
{
|
{
|
||||||
|
DumpConfigurationDescriptor(ConfigurationDescriptor);
|
||||||
DumpFullConfigurationDescriptor(FDODeviceExtension, ConfigurationDescriptor);
|
DumpFullConfigurationDescriptor(FDODeviceExtension, ConfigurationDescriptor);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -386,15 +387,15 @@ USBCCGP_ScanConfigurationDescriptor(
|
||||||
VOID
|
VOID
|
||||||
DumpConfigurationDescriptor(PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor)
|
DumpConfigurationDescriptor(PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor)
|
||||||
{
|
{
|
||||||
DPRINT1("Dumping ConfigurationDescriptor %x\n", ConfigurationDescriptor);
|
DbgPrint("Dumping ConfigurationDescriptor %x\n", ConfigurationDescriptor);
|
||||||
DPRINT1("bLength %x\n", ConfigurationDescriptor->bLength);
|
DbgPrint("bLength %x\n", ConfigurationDescriptor->bLength);
|
||||||
DPRINT1("bDescriptorType %x\n", ConfigurationDescriptor->bDescriptorType);
|
DbgPrint("bDescriptorType %x\n", ConfigurationDescriptor->bDescriptorType);
|
||||||
DPRINT1("wTotalLength %x\n", ConfigurationDescriptor->wTotalLength);
|
DbgPrint("wTotalLength %x\n", ConfigurationDescriptor->wTotalLength);
|
||||||
DPRINT1("bNumInterfaces %x\n", ConfigurationDescriptor->bNumInterfaces);
|
DbgPrint("bNumInterfaces %x\n", ConfigurationDescriptor->bNumInterfaces);
|
||||||
DPRINT1("bConfigurationValue %x\n", ConfigurationDescriptor->bConfigurationValue);
|
DbgPrint("bConfigurationValue %x\n", ConfigurationDescriptor->bConfigurationValue);
|
||||||
DPRINT1("iConfiguration %x\n", ConfigurationDescriptor->iConfiguration);
|
DbgPrint("iConfiguration %x\n", ConfigurationDescriptor->iConfiguration);
|
||||||
DPRINT1("bmAttributes %x\n", ConfigurationDescriptor->bmAttributes);
|
DbgPrint("bmAttributes %x\n", ConfigurationDescriptor->bmAttributes);
|
||||||
DPRINT1("MaxPower %x\n", ConfigurationDescriptor->MaxPower);
|
DbgPrint("MaxPower %x\n", ConfigurationDescriptor->MaxPower);
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
|
@ -62,6 +62,11 @@ typedef struct
|
||||||
PFDO_DEVICE_EXTENSION FDODeviceExtension; // pointer to fdo's pdo list
|
PFDO_DEVICE_EXTENSION FDODeviceExtension; // pointer to fdo's pdo list
|
||||||
}PDO_DEVICE_EXTENSION, *PPDO_DEVICE_EXTENSION;
|
}PDO_DEVICE_EXTENSION, *PPDO_DEVICE_EXTENSION;
|
||||||
|
|
||||||
|
/* descriptor.c */
|
||||||
|
|
||||||
|
VOID
|
||||||
|
DumpConfigurationDescriptor(
|
||||||
|
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
USBCCGP_GetDescriptors(
|
USBCCGP_GetDescriptors(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue