aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libusbgx/libusbgx/gadget-start
AgeCommit message (Collapse)Author
2023-05-16libusbgx: check scripts in /etc/usbgx.dMing Liu
Sometimes an end user might want to change some values in /sys/kernel/config/usb_gadget/ at runtime, for instance, a product id or serial number must be read from /proc/device-tree, and so on. Support that by letting gadget-start run all scripts in /etc/usbgx.d after importing the schemas. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-07libusbgx: Configure the Devices UsedMaksym Sloyko
Add ability to configure the UDC used for specific schema. The feature is backwards compatible, so existing users don't need to change anything. If one wants to specify which UDC is used for specific schema, for example, `eth0`, they can add this variable to the configuration file: UDC_FOR_SCHEMA_eth0=f8000000.udc If the device file exists in /sys/class/udc when the gadget is started, it will be used for this schema. If this configuration is not present, first available device is picked. Signed-off-by: Maksym Sloyko <maxims@google.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-30libusbgx: Add recipeOtavio Salvador
The libusbgx allow easier use and setup of USB gadgets. To easy integration on different systems a libusbgx-config package is provided so it can be used to start and enable respective USB gadget schema. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>