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

setup_usb_configfs: Make it possible to choose the used UDC #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dos1
Copy link
Contributor

@dos1 dos1 commented Feb 4, 2021

Some devices may have more than one UDC available.


I did it while working on the Librem 5 port, but it turned out to be unnecessary with correctly configured kernel ;) Posting it anyway since it may be useful for other devices in the future and generally seems like a reasonable thing to do.

Some devices may have more than one UDC available.
@gschwind
Copy link

Hello,

Maybe my shell knowledge is wrong, but I don't see any difference to make:

echo "$(ls somepath)"

or

UDC="$(ls somepath)"
echo "$UDC"

The explanation look misleading.

@dos1
Copy link
Contributor Author

dos1 commented May 21, 2021

@gschwind The important part is if [ -z "$UDC" ]; then.

@gschwind
Copy link

Ok if I infer correctly you want to be able change the info.sh to include the choice of UDC

But currently there is no configuration that doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants