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
Adding errno.h and a bit better output on mount errors in /Hosts/GadgetFS_helpers.c
Output below from usb-mitm with this added helped me realize I wasn't root
include <errno.h>
if (status!=0) {fprintf(stderr,"Error mounting gadgetfs from [%s].\n",gadgetfs_path);fprintf(stderr, "Error code from mount is: [%s]\n", strerror(errno));return 1;}
debian@arm:/USBProxy/src$ ./usb-mitm
SIGRTMIN: 34
cleaning up /tmp
removing 0
Made directory /tmp/gadget-dVME7b for gadget
Error mounting gadgetfs from [/tmp/gadget-dVME7b].
Error code from mount is: [Operation not permitted]
Made directory /tmp/mqueue-Ovdyjh for mqueue
Error mounting mqueue at [/tmp/mqueue-Ovdyjh].
Unable to connect to device proxy.
Error unmounting gadgetfs from [/tmp/gadget-dVME7b].
done
debian@arm:/USBProxy/src$
The text was updated successfully, but these errors were encountered:
BenGardiner
pushed a commit
to BenGardiner/USBProxy
that referenced
this issue
Nov 5, 2015
Adding errno.h and a bit better output on mount errors in /Hosts/GadgetFS_helpers.c
Output below from usb-mitm with this added helped me realize I wasn't root
include <errno.h>
if (status!=0) {fprintf(stderr,"Error mounting gadgetfs from [%s].\n",gadgetfs_path);fprintf(stderr, "Error code from mount is: [%s]\n", strerror(errno));return 1;}
debian@arm:
/USBProxy/src$ ./usb-mitm/USBProxy/src$SIGRTMIN: 34
cleaning up /tmp
removing 0
Made directory /tmp/gadget-dVME7b for gadget
Error mounting gadgetfs from [/tmp/gadget-dVME7b].
Error code from mount is: [Operation not permitted]
Made directory /tmp/mqueue-Ovdyjh for mqueue
Error mounting mqueue at [/tmp/mqueue-Ovdyjh].
Unable to connect to device proxy.
Error unmounting gadgetfs from [/tmp/gadget-dVME7b].
done
debian@arm:
The text was updated successfully, but these errors were encountered: