From 554eb96000ff06cb9714ddf6e349361b87acb7b6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Dec 2014 19:13:33 +0000 Subject: [PATCH] Rules for FCDPP. --- Readme.md | 44 +++++++++++++++++++++++++++----------------- fcdpp.rules | 5 +++++ 2 files changed, 32 insertions(+), 17 deletions(-) create mode 100644 fcdpp.rules diff --git a/Readme.md b/Readme.md index d336ea76a..a72a1d3d1 100644 --- a/Readme.md +++ b/Readme.md @@ -1,25 +1,35 @@ +============== +Funcube Dongle +============== + +Funcube Dongle Pro+ support will need "libasound2-dev" installed. ("libhid" is now built from source). Install the rules file "fcdpp.rules" in "/etc/udev/rules.d" to gain the "root access" needed to control the dongle. + +Funcube Dongle ProPlus support is broken on recent hardware / kernels. It only works well for me with an Atom Chipset. On Desktop with Debian 6 "wheezy" it works if I un-install th +e udev rules file, so that Sdrangelove cannot contol the dongle, then change frequency with "fcdctl" (The same software built-in to the fcd plug-in). WORK IN PROGRESS. + + +========== +For Ubuntu: +========== + +"sudo apt-get install libqt5multimedia5-plugins qtmultimedia5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtbase5-dev libusb-1.0 librtlsdr-dev" + +"mkdir out && cd out && cmake ../ && make" + +"librtlsdr-dev" is in the "universe" repo. (utopic 14.10 amd64.) + +Use "cmake ../ -DKERNEL=ON" to build the Linux kernel driver (Experimental). Needs a recent kernel and libv4l2. Will need extra work to support Airspy and Hackrf. Needs "cp KERNEL_SOURCE/include/linux/compiler.h /usr/include/linux/" and "cp KERNEL_SOURCE/include/uapi/linux/videodev2.h /usr/include/uapi/linux/" and package "libv4l-dev". + +The Gnuradio plugin source needs extra packages, including "liblog4cpp-dev libboost-system-dev gnuradio-dev libosmosdr-dev" + + ============ For Debian 6: ============ Debian 6 uses Qt4. Qt5 is available from the "wheezy-backports" repo, but will remove Qt4. -Required Packages: "sudo apt-get install cmake g++ pkg-config libfftw3-dev libusb-1.0-0-dev libusb-dev qt5-default qtbase5-dev qtchooser libqt5multimedia5-plugins qtmultimedia5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtbase5-dev librtlsdr-dev" +"sudo apt-get install cmake g++ pkg-config libfftw3-dev libusb-1.0-0-dev libusb-dev qt5-default qtbase5-dev qtchooser libqt5multimedia5-plugins qtmultimedia5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtbase5-dev librtlsdr-dev" -Funcube Dongle Pro+ support will need "libasound2-dev" installed. "libhid" is now built from source. - - -========== -For Ubuntu: -========== - sudo apt-get install libqt5multimedia5-plugins qtmultimedia5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtbase5-dev libusb-1.0 librtlsdr-dev - mkdir out && cd out && cmake ../ && make - -"librtlsdr-dev" is in the "universe" repo. (utopic 14.10 amd64.) - -Funcube Dongle Pro+ support needs package "libasound2-dev" - -Use "cmake ../ -DKERNEL=ON" to build the Linux kernel driver (Experimental). Needs a recent kernel and libv4l2. Will need extra work to support Airspy and Hackrf. Needs "cp KERNEL_SOURCE/include/linux/compiler.h /usr/include/linux/" and "cp KERNEL_SOURCE/include/uapi/linux/videodev2.h /usr/include/uapi/linux/" and package "libv4l-dev". - -The Gnuradio plugin source needs extra packages, including "liblog4cpp-dev libboost-system-dev gnuradio-dev libosmosdr-dev" +"mkdir out && cd out && cmake ../ && make" diff --git a/fcdpp.rules b/fcdpp.rules new file mode 100644 index 000000000..ccadc1461 --- /dev/null +++ b/fcdpp.rules @@ -0,0 +1,5 @@ +# Udev rules for the Funcube Dongle Pro+ (0xfb31) + +# HIDAPI/libusb: +SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb31", GROUP:="audio", MODE:="0666" +