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

Match any device in hotplugtest by default #1350

Closed
wants to merge 2 commits into from

Conversation

RReverser
Copy link
Contributor

I spent some time trying to figure out why, when I run this example, it's not showing any events, until I looked into the code and saw it has some hardcoded vid:pid.

Most people probably don't have the specific device hardcoded here, and it seems better to default to showing events for any device unless overridden.

While at it, also updated device detached message to match the attached one to show vid:pid.

I spent some time trying to figure out why, when I run this example, it's not showing any events, until I looked into the code and saw it has some hardcoded vid:pid.

Most people probably don't have the specific device hardcoded here, and it seems better to default to showing events for any device unless overridden.

While at it, also updated device detached message to match the attached one to show vid:pid.
@tormodvolden
Copy link
Contributor

Thanks, I also think this makes sense.

While at it, I added some error string printing, which I noticed was missing when I tested this.

@RReverser RReverser deleted the patch-1 branch November 28, 2023 03:05
@mcuee mcuee added the Examples Examples label Dec 15, 2023
@mcuee
Copy link
Member

mcuee commented Jan 3, 2024

It would be good to apply the patch from @sonatique in the above discussion.

Reason:

@sonatique
Copy link
Contributor

It would be good to apply the patch from @sonatique in the above discussion.

@mcuee would you like me to make a sperate PR with just this patch?

@mcuee
Copy link
Member

mcuee commented Jan 3, 2024

It would be good to apply the patch from @sonatique in the above discussion.

@mcuee would you like me to make a sperate PR with just this patch?

Yes, I think that is a good idea. Thanks.

@sonatique
Copy link
Contributor

@mcuee : #1425

@mcuee
Copy link
Member

mcuee commented Jan 6, 2024

@RReverser and @tormodvolden

Somehow I think this PR is flawed for Linux. It kind of leads to unpredicatble results.

Please refer to the test results here.

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

Successfully merging this pull request may close these issues.

None yet

4 participants