68821d2cb2d07a9fae5c0a8e9f005bede4846dc1
Some devices' downstream kernels may have different RNDIS/functionfs drivers (ex. QCRNDIS) that require different values for some configfs gadget attributes. Make it possible to customize with deviceinfo file from device- package. The idea is that each device- package can optionally specify a bunch of `deviceinfo_usb_*` variables to customize the way it is visible on USB bus. The ability to override `deviceinfo_usb_rndis_function` is essential to make downstream sdm660 based device to appear on USB bus. While at it, make `idVendor`, `idProduct` and `serialnumber` also customizable. So that we can make, for example, PineTab appear on USB bus as PineTab, not as "Google Inc. Nexus 4 (fastboot)".
postmarketOS aports
Helpful resources:
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%