Skip to content

Conversation

@Foutete
Copy link
Contributor

@Foutete Foutete commented Sep 19, 2025

When an USB Device can't be accessed, snagrecover prints a generic error message stating to check presence
and access right.
Improve this by testing if the USB error is a permission error. If so log an error message and some hints
on how to solve it.

@Foutete Foutete force-pushed the usb_access_permission branch 2 times, most recently from 4cd9975 to 9f72262 Compare September 22, 2025 08:57
Copy link
Collaborator

@rgantois rgantois left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! I've requested a few changes.

@Foutete Foutete force-pushed the usb_access_permission branch from 9f72262 to 74a6591 Compare November 8, 2025 15:13
@Foutete
Copy link
Contributor Author

Foutete commented Nov 8, 2025

Hi Romain :) ! Finally took some time to work on this PR, tell me if it looks good for you.

Copy link
Collaborator

@rgantois rgantois left a comment

Choose a reason for hiding this comment

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

Hi François! Thanks for the corrections! There are still a couple of things to straighten out and then we should be good to merge :)

When an USB Device can't be accessed, snagrecover prints
a generic error message stating to check presence
and access right.
Improve this by testing if the USB error is a permission
error. If so log an error message and some hints
on how to solve it.

Signed-off-by: François Foltete <francois.foltete@bootlin.com>
@Foutete Foutete force-pushed the usb_access_permission branch from 74a6591 to 649c2e3 Compare November 30, 2025 19:27
@rgantois
Copy link
Collaborator

rgantois commented Dec 1, 2025

Nice, thanks!

@rgantois rgantois merged commit c40193f into bootlin:main Dec 1, 2025
11 checks passed
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