You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I followed the example gadget_uac2.c to create UAC2 gadget, usbg_create_function returns NO_ACCESS error. And I found that &f_uac2_attrs causes this error in usbg_set_function_attrs method.
Do you have any idea what causes it?
The text was updated successfully, but these errors were encountered:
@yxue2 please try running the gadget as root, if that doesn't work then please strace the gadget and see which file is getting which error. NO_ACCESS corresponds to these three errno values:
EACCES 13 Permission denied
EROFS 30 Read-only file system
EPERM 1 Operation not permitted
When I followed the example gadget_uac2.c to create UAC2 gadget, usbg_create_function returns NO_ACCESS error. And I found that &f_uac2_attrs causes this error in usbg_set_function_attrs method.
Do you have any idea what causes it?
The text was updated successfully, but these errors were encountered: