1. 安装 libusb 库
sudo apt-get install libusb-dev sudo apt-get install libusb-1.0-0-dev
2. 安装 qt4
sudo apt-get install build-essential sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer qtcreator qmake -v qtcreator -version
3. 修改 /etc/cyusb.conf,在 VPD 段追加我们自定义的 VID/PID(04b4 FFF2 FX3 AEConsole USB2.0 和 xxx USB3.0)

# This is the main configuration file for Cypress USB FX2 and FX3 devices # All lines beginning with a # in the first column is treated as a comment # Blank lines are ignored # Author - V. Radhakrishnan ( www.atr-labs.com ) # Copyright - ATR Educational Devices (P) Ltd and Cypress Semiconductors Inc. # Date - March 7, 2012 # License - GNU Lesser General Public License (LGPL) 2.1 #--------------------------------------------------------------------------- # Location of logfile for the Cypress USB daemon process 'cyusbd' # Ensure that you have write permission in that directory, if you are non-root. LogFile=cyusbd.log # Location of PID file for the Cypress USB daemon process 'cyusbd' # Ensure that you have write permission in that directory, if you are non-root. PIDFile=cyusbd.pid # Vital Product Data : Vendor/Device IDs - one per line. # Format - vendorID DeviceID FriendlyName (Max 30 chars or end of line) <VPD> 04b4 8613 Default Cypress USB device 04b4 4717 Default Cypress USB device 04b4 0082 FX2 Device: Custom PID from EEPROM 04b4 1004 FX2LP Bulk Device 04b4 1003 FX2LP CY-Stream Device 04b4 00BC Cypress Benicia device 04b4 00F0 FX3 Example Application 04b4 00F1 FX3 Streamer Example 04b4 00F3 FX3 Boot-loader 04b4 4720 FX3 I2C/SPI Programmer 04b4 1005 FX3 2nd stage boot-loader 04b4 FFF2 FX3 AEConsole USB2.0 04b4 FFF3 FX3 AEConsole USB3.0 </VPD>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
· AI Agent开发,如何调用三方的API Function,是通过提示词来发起调用的吗