Skip to content

Conversation

@NotKit
Copy link

@NotKit NotKit commented Apr 20, 2025

Needed on newer device as they now have NCM enabled in kernel config by default, but not RNDIS (which is now deprecated).

@NotKit NotKit changed the base branch from halium to dynparts October 16, 2025 09:10
@NotKit NotKit changed the base branch from dynparts to halium October 16, 2025 09:11
@NotKit NotKit requested a review from peat-psuwit October 16, 2025 09:11

if [ -z "$NETWORK_FUNCTION" ]; then
echo "Error: No USB network gadget function available" >&2
exit 1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure exit 1 here is the best thing to do. If I understand correctly, this will exit PID 1, leading to kernel panic immediately (followed by reboot, maybe).

I think we should to the same as the # Unable to set up USB interface? Reboot. below (i.e. sleep for 60 seconds, then reboot).

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.

3 participants