3

I'm following this instruction: https://github.com/nns779/px4_drv

make under the directory fwtool builds it930x-firmware.bin and make under driver builds px4_drv kernel module.

Now it930x.nix and px4_drv.nix is here.

https://gist.github.com/gtgteq/30cb73c344477d26f8c69768e010331a

/etc/udev/rules.d/99-px4video.rules of px4_drv is not show in system.

How to make available this rule file?

2
  • In your configuration.nix try services.udev.packages = [ px4_drv ]. You may also need to change the udev path in the installPhase to $out/lib/udev/rules.d – Emmanuel Rosa Mar 31 '20 at 12:53
  • Your comment should be promoted to the answer. Thank you. – gtgteq Apr 3 '20 at 0:25
2

Following Emmanuel's two instructions, my gist is updated.

In your configuration.nix, try

services.udev.packages = [ px4_drv ]

You may also need to change the udev path in the installPhase to $out/lib/udev/rules.d, not $out/etc/udev/rules.d.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.