airspy / airspyone_host

AirSpy's usemode driver and associated tools
http://airspy.com
247 stars 88 forks source link

Ship the udev rules upstream #82

Closed AsciiWolf closed 2 years ago

AsciiWolf commented 3 years ago

Please, consider submitting the udev rules to upstream (systemd). Here is an example how to do it: https://github.com/systemd/systemd/pull/20561

Without this, it is not possible to use Airspy SDR devices in Flatpak and other special configurations where it is not possible to install the Airspy libs/udev rules system-wide.

bvernoux commented 3 years ago

You are welcome if you want to do a pull request of the AirSpy udev rules to systemd and maintain it. Note: It is first time I see it and I have never used Flatpak on GNU/Linux distribution (I'm mainly using Ubuntu/Xubuntu without any issue)

AsciiWolf commented 3 years ago

It's not just Flatpak. AppImage apps, portable apps and basically all apps that cannot install custom things into the system /usr or /etc have the same problem. It is common on GNU/Linux that udev rules are shipped in upstream (udevd, which is now part of systemd). Missing udev rules are basically the only thing that prevents most of these devices from working out-of-box on Linux (airspy/rtl-sdr/etc. libs can be bundled as a part of the SDR app without being installed system-wide). I have created the same ticket for rtl-sdr as well and will consider submitting the Airspy udev rules myself after the rtl-sdr ones are submitted.

bvernoux commented 2 years ago

Could you provide an update about that issue ?

AsciiWolf commented 2 years ago

Sorry, I sadly did not have enough free time to work on this. But if you want to start working on it and submitting the PR yourself, I will be glad to help.

bvernoux commented 2 years ago

Thanks for your offer but I do not have time to work on that So I close this issue, if someone is interested to add that feature a Pull Request is welcome