8种机械键盘轴体对比
本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选?
uboot:uboot 2016.07
kernel:linux 4.9.1
最近遇到uboot下U盘传输速率过低的问题,速度大概只有2MB/S,USB控制器是XHCI。借助USB分析仪抓包,对比kernel和uboot的数据包差异,发现kernel下每个transfer packet大小是120KB,uboot则十分的小(具体数值忘记)。针对这个现象去定位代码,确定问题点在”common/usb_storage.c”的宏定义”USB_MAX_XFER_BLK”。#ifdef CONFIG_USB_EHCI
/*
* The U-Boot EHCI driver can handle any transfer length as long as there is
* enough free heap space left, but the SCSI READ(10) and WRITE(10) commands are
* limited to 65535 blocks.
*/
#define USB_MAX_XFER_BLK 65535
#else
#define USB_MAX_XFER_BLK 20
#endif
#ifndef CONFIG_BLK
static struct us_d