使用c程序获取usb端口和其他端口的详细信息 [英] to get the details of usb port and other ports using c program

查看:430
本文介绍了使用c程序获取usb端口和其他端口的详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索了很多网站,但我不知道......
我现在正在学习...
请帮助我的朋友

解决方案

使用 libusb [ ^ ]库,用于枚举和访问USB设备.请参见开发人员指南 [ usbutils [ 解决方案

Use the libusb[^] library to enumerate and access USB devices. See the Developer''s Guide[^] for a description of the API.

You may have a look on the usbutils[^] package (sources) to see how the library can be used.


if you can work with python .python is he best choice for working with usb Device
and usb port.

python has a pyusb lib. Powerful library for working with usb Device
and usb port . You can use the library in C/C++.


这篇关于使用c程序获取usb端口和其他端口的详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆