I removed the gpio bank 2, 6 and 7 from the device tree. System boots and works fine, but on boot the OS throws a warning:
[FAILED] Failed to start Load default USB gadget schema g1.schema.
See 'systemctl status usbg.service' for details.
The USB devices are still working. Is this something to be worry about? What did I just break?
@Ilan_Figueiredo,
If you’re not using any USB gadget functionality (i.e. USB client), this should not be an issue. You can disable usbg.service
and the warning will go away.
From what I recall from the top of my head and without any further details, you might have disabled a GPIO related to the USB client node on the device tree.
I intend to use an USB camera, will that be an issue? Or will I just lose the ability to turn the device on and off?
Hi @Ilan_Figueiredo,
This message was appearing before your changes? Or started to appear only after them?
First, I suggest you look over the related device-trees in order to identify nodes that would be using the removed gpio-banks. Then, I recommend you disable them if you don’t have plans to use them.
Are you required to use USB-OTG on your project?
Best regards,
André Curvello
The message started appearing after I disabled the GPIO6, I believe.
Should I look for nodes that use the same SODIMMs or just the same pins as GPIO?
The USB-OTG is not predicted to be used;
@Ilan_Figueiredo,
Not at all. When using a USB camera, Linux acts as USB host, so the non-working USB Gadget service won’t affect this.
Nonetheless, make sure to try this camera anyway to validate USB host functionality.