Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add errno.h and print better error messages #3

Open
dominicgs opened this issue May 10, 2014 · 0 comments
Open

Add errno.h and print better error messages #3

dominicgs opened this issue May 10, 2014 · 0 comments
Labels
enhancement potential new feature

Comments

@dominicgs
Copy link
Contributor

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$

BenGardiner pushed a commit to BenGardiner/USBProxy that referenced this issue Nov 5, 2015
@straithe straithe added the enhancement potential new feature label Nov 1, 2021
v-whoami-v pushed a commit to v-whoami-v/USBProxy that referenced this issue Mar 24, 2022
* feat: add test workflow

* fix: run on every branch's push

* feat: split dockerfile and implement ghcr integration

* feat: connect repo to ghcp repo

* feat: build full toolchain for arm

* feat: add more workflows

* fix: apply a possible fix for the download issue

* fix: root issue

* feat: add aptly workflow

* feat: configure app builder workflow

* fix: workflow

* trigger workflow

* fix: paths in workflow trigger

* trigger workflow

* fix: workflow

* fix: workflow

* trigger workflow

* fix: workflow

* fix: add git clone to workflow

* fix: cwd in workflow

* trigger workflow

* feat: add package signing and upload

* fix: secrets in workflow

* fix: pass aws credentials properly

* feat: set a nightly package version

* trigger workflow

* fix: install missing devscripts for dch

* fix: change version before building package

* refactor: change debian component from local to aws

* feat: specify workflow branch conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement potential new feature
Projects
None yet
Development

No branches or pull requests

2 participants