From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35915) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihE6u-00043X-1e for guix-patches@gnu.org; Tue, 17 Dec 2019 09:46:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihE6s-0003Ym-Kq for guix-patches@gnu.org; Tue, 17 Dec 2019 09:46:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihE6s-0003Yg-HY for guix-patches@gnu.org; Tue, 17 Dec 2019 09:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihE6s-0004XM-FY for guix-patches@gnu.org; Tue, 17 Dec 2019 09:46:02 -0500 Subject: [bug#38650] hackrf: new package Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35687) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihE6L-0003yF-S6 for guix-patches@gnu.org; Tue, 17 Dec 2019 09:45:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihE6J-00037T-QY for guix-patches@gnu.org; Tue, 17 Dec 2019 09:45:29 -0500 Received: from mx.kolabnow.com ([95.128.36.41]:56538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ihE6J-00037C-9S for guix-patches@gnu.org; Tue, 17 Dec 2019 09:45:27 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 17CD2672 for ; Tue, 17 Dec 2019 15:45:23 +0100 (CET) Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mqDTk7AiJri5 for ; Tue, 17 Dec 2019 15:45:22 +0100 (CET) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 4932F404 for ; Tue, 17 Dec 2019 15:45:17 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 09A422BE4 for ; Tue, 17 Dec 2019 15:45:17 +0100 (CET) Message-ID: <33d8820578a5011bfd66f694b32f2e60d273469d.camel@librehacker.com> From: Christopher Howard Date: Tue, 17 Dec 2019 05:45:14 -0900 Content-Type: multipart/mixed; boundary="=-5QbCZmMouXCvxleRf+9Z" MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38650@debbugs.gnu.org --=-5QbCZmMouXCvxleRf+9Z Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Patch is attached for new package `hackrf'. Installing this package installs the userspace hackrf utilities and C library. To install the hackrf udev rules, you must add this package as a system service via modify-services. E.g.: ''' (services (modify-services (append #| your other services |# (udev-service-type config => (udev-configuration (inherit config) (rules (cons hackrf (udev-configuration-rules config))))))) ''' And also you need to add your local user to the `dialout' group. I did a simple test with my HackRF One and hackrf_info was able to detect the board, indicating that package works on x86_64. -- Christopher Howard p: +1 (907) 374-0257 w: https://librehacker.com social: https://gnusocial.club/librehacker gpg: ADDEAADE5D607C8D (keys.gnupg.net) --=-5QbCZmMouXCvxleRf+9Z Content-Disposition: attachment; filename="0001-hackrf-new-package.patch" Content-Type: text/x-patch; name="0001-hackrf-new-package.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSA2OGM0M2MwMzg2NzViMTQyZGVkZGZhNWNmOGY0YzRkNjIxMjVlZDExIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBDaHJpc3RvcGhlciBIb3dhcmQgPGNocmlzdG9waGVyQGxpY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ICItRFVERVZfUlVMRVNfUEFUSD0iCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIChhc3NvYy1yZWYgJW91dHB1dHMgIm91dCIpCisJCQkgICAgICIv bGliL3VkZXYvcnVsZXMuZCIpKQorICAgICAgICAjOnBoYXNlcworCShtb2RpZnktcGhhc2VzICVz dGFuZGFyZC1waGFzZXMKKwkgIChhZGQtYmVmb3JlICdjb25maWd1cmUgJ2VudGVyLXNvdXJjZS1k aXJlY3RvcnkKKwkJICAgICAgKGxhbWJkYSBfIChjaGRpciAiaG9zdCIpICN0KSkKKwkgIChhZGQt YmVmb3JlICdpbnN0YWxsLWxpY2Vuc2UtZmlsZXMgJ2xlYXZlLXNvdXJjZS1kaXJlY3RvcnkKKwkJ ICAgICAgKGxhbWJkYSBfIChjaGRpciAiLi4iKSAjdCkpKQorICAgICAgICAjOnRlc3RzPyAjZikp ICAgICAgICAgICAgICAgICAgOyBubyB0ZXN0IHN1aXRlCisgICAgIChuYXRpdmUtaW5wdXRzCisg ICAgICBgKCgicGtnLWNvbmZpZyIgLHBrZy1jb25maWcpKSkKKyAgICAgKGlucHV0cworICAgICAg YCgoImZmdHciICxmZnR3KQorICAgICAgICAoImZmdHdmIiAsZmZ0d2YpCisJKCJsaWJ1c2IiICxs aWJ1c2IpKSkKKyAgICAgKGhvbWUtcGFnZSAiaHR0cHM6Ly9ncmVhdHNjb3R0Z2FkZ2V0cy5jb20v aGFja3JmLyIpCisgICAgIChzeW5vcHNpcyAiVXNlci1zcGFjZSBsaWJyYXJ5IGFuZCB1dGlsaXRp ZXMgZm9yIEhhY2tSRiBTRFIiKQorICAgICAoZGVzY3JpcHRpb24KKyAgICAgICJDb21tYW5kIGxp bmUgdXRpbGl0aWVzIGFuZCBhIEMgbGlicmFyeSBmb3IgY29udHJvbGxpbmcgdGhlIEhhY2tSRgor U29mdHdhcmUgRGVmaW5lZCBSYWRpbyAoU0RSKSBvdmVyIFVTQi4iKQorICAgICAobGljZW5zZSBs aWNlbn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