更改嵌入式USB设备的idVendor和idProduct

时间:2021-12-18 09:22:04

Can I change those values on my Embedded device or do I need to recompile the Gadget Serial Driver?

我可以在嵌入式设备上更改这些值,还是需要重新编译小工具串行驱动程序?

1 个解决方案

#1


1  

You can pass vendor and product id as module parameter. Something like below:

您可以将供应商和产品ID作为模块参数传递。如下所示:

        insmod module.ko vendor="vendorid" product="productid"

Hope this will help!

希望这会有所帮助!

#1


1  

You can pass vendor and product id as module parameter. Something like below:

您可以将供应商和产品ID作为模块参数传递。如下所示:

        insmod module.ko vendor="vendorid" product="productid"

Hope this will help!

希望这会有所帮助!