Attention is currently required from: Anastasia Klimchuk, Nicholas Chin.
ZhiYuanNJ has posted comments on this change by ZhiYuanNJ. ( https://review.coreboot.org/c/flashrom/+/82776?usp=email )
Change subject: ch347_spi: Add spi clock frequency selection ......................................................................
Patch Set 10:
(1 comment)
File ch347_spi.c:
https://review.coreboot.org/c/flashrom/+/82776/comment/1031cf2a_2b91c089?usp... : PS7, Line 365: 30MHz
I'd have to do a bit of digging as I don't know of a quick way to find this. […]
If it is a Windows system, you can read it through the hardware ID of the device manager hardware details, for example: "USB\VID_1A86&PID_55DE&REV_0101&MI_04 ", then the hardware version is v1.1. If it is Linux, you may need to write a small program to get bcdUSB. like:
```c #include <stdio.h> #include <stdlib.h> #include <usb.h>
int main() { struct usb_bus *bus; struct usb_device *dev; usb_init(); usb_find_busses(); usb_find_devices();
for(bus = usb_get_busses(); bus; bus = bus->next) { for(dev = bus->devices; dev; dev = dev->next) { printf("Device: %04x:%04x, bcdUSB: %04x\n", dev->descriptor.idVendor, dev->descriptor.idProduct, dev->descriptor.bcdUSB); } } return 0; } ```