polhenarejos / pico-openpgp

Converting a Raspberry Pico into an OpenPGP CCID smart card.
GNU General Public License v3.0
43 stars 7 forks source link

Device Manger reports "Invalid Configuration Descriptor" #15

Closed Lillythefox closed 2 weeks ago

Lillythefox commented 1 month ago

Hello, I believe the Pico Patcher is not working, the device is showing up as "Invalid Configuration Descriptor" and none of my software can detect it (GPG, kleopatra and opensc). As you see below in the event viewer logs it mentions "00FF2000" the default descriptor.

image

Device USB\VID_0000&PID_0006\5&2d531919&0&1 was configured.

Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Driver Date: 06/21/2006
Driver Version: 10.0.19041.4355
Driver Provider: Microsoft
Driver Section: BADDEVICE.Dev.NT
Driver Rank: 0xFF0000
Matching Device Id: USB\CONFIGURATION_DESCRIPTOR_VALIDATION_FAILURE
Outranked Drivers: usb.inf:USB\CONFIGURATION_DESCRIPTOR_VALIDATION_FAILURE:**00FF2000**
Device Updated: false
Parent Device: USB\ROOT_HUB30\4&30961835&0&0
imkuang commented 3 weeks ago

Same problem with version 2.0, version 1.12 works fine.

Edit: This should have nothing to do with the Pico Patcher, and the system should be able to successfully recognize the device type even without a valid PID/VID (the behavior exhibited by version 1.12).

polhenarejos commented 2 weeks ago

Fixed in 11cb855