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

fixes #560: udev rule not running after loading fpga image #561

Closed
wants to merge 1 commit into from
Closed

fixes #560: udev rule not running after loading fpga image #561

wants to merge 1 commit into from

Conversation

cmoore1776
Copy link

Issue #, if available:
fixes #560

Description of changes:
udev rule not running after loading fpga image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

@jacobmgn jacobmgn left a comment

Choose a reason for hiding this comment

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

While this should correctly handle the original issue #560 , the README for the examples should also mention that if you use a non-default PCI device ID, that the udev rule should also be updated to reflect that ( #564 )

set ::env(device_id) "0xF001"

If you also updated the README in this PR, it would be appreciated.

@@ -55,6 +55,8 @@ ATTR{vendor}=="0x1d0f", ATTR{device}=="0x1041", RUN+="/opt/aws/bin/change-fpga-p
ATTR{vendor}=="0x1d0f", ATTR{device}=="0x1041", ACTION=="add", RUN+="/opt/aws/bin/change-fpga-perm.sh %k"
ATTR{vendor}=="0x1d0f", ATTR{device}=="0x1042", RUN+="/opt/aws/bin/change-fpga-perm.sh %k"
ATTR{vendor}=="0x1d0f", ATTR{device}=="0x1042", ACTION=="add", RUN+="/opt/aws/bin/change-fpga-perm.sh %k"
ATTR{vendor}=="0x1d0f", ATTR{device}=="0xf001", RUN+="/opt/aws/bin/change-fpga-perm.sh %k"

Choose a reason for hiding this comment

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

@jacobmgn
Copy link

jacobmgn commented Jun 1, 2022

Failing test is an already failing markdown linter, PR passes tests

@cmoore1776 cmoore1776 closed this by deleting the head repository Aug 30, 2022
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.

udev rule not running after loading fpga image
3 participants