-
Notifications
You must be signed in to change notification settings - Fork 0
Automatically exported from code.google.com/p/libperseus-sdr
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
techn0mad/libperseus-sdr
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# # Perseus SDR # # GNU autoconf/automake package # # Andrea Montefusco IW0HDV (andrew at montefusco dot com) # # # Install compiler and tools (Debian and derived distributions, e.g. Ubuntu) # sudo apt-get update sudo apt-get upgrade sudo apt-get install gcc g++ make manpages-dev autoconf automake libtool subversion # # Install the prerequisite library # sudo apt-get install libusb-1.0-0-dev # # Fedora Core 11 # # Get root status with the method you prefer, for example su - root # next install the prerequisite packages: yum update yum install gcc gcc-c++ man-pages autoconf automake libtool subversion yum install libusb1 libusb1-devel # # Mandriva 2010 # # Get root status with the method you prefer, for example su - root # next install the prerequisite packages: urpmi gcc gcc-c++ man-pages autoconf automake subversion libtool make urpmi -a libusb1 # # download, compile and install the Perseus library # cd svn checkout http://libperseus-sdr.googlecode.com/svn/trunk/ libperseus-sdr cd libperseus-sdr sh bootstrap.sh ./configure && make sudo make install sudo ldconfig # back to home directory cd # # test the library # note: the outputs shown below is in case the Perseus hardware is not linked # perseustest_dyn # perseus: perseus_init() # perseus: Found device with VID/PID 0000:0000 on BUS1 ADDR1 # perseus: Found device with VID/PID 0000:0000 on BUS2 ADDR1 # perseus: Found device with VID/PID 0000:0000 on BUS3 ADDR1 # perseus: Found device with VID/PID 0000:0000 on BUS4 ADDR1 # perseus: Found device with VID/PID 0000:0000 on BUS5 ADDR1 # perseus: poll libusb thread started... # perseus: setting thread priority to 99... # perseus: done # 0 Perseus receivers found # No Perseus receivers detected # perseus: perseus_exit() # ... # ... # # setup udev system # (for reference only ! now the make install procedure takes care to do that) # sudo groupadd perseususb sudo usermod -a -G perseususb `whoami` sudo udevadm control --reload-rules # # Now log off and on again in order to finally become member of 'perseususb'. # A reboot is not needed. # # # now, link your Perseus receiver to USB interface and plug the power supply # you have to hear a click, led on receiver's front panel lights # # looking at filtered lsusb output you should see the following: # (Bus and Device figures can vary) lsusb | grep Cypress Bus 001 Device 007: ID 04b4:325c Cypress Semiconductor Corp. # # now try again the test program, you should see a lot of output (not shown here) # and, overall, hear the relays clicking # cd perseustest_dyn # ... # # take care to one of the last messages, it should read as follows: # # perseus: Elapsed time: 10.003243 s - kSamples read: 2499 - Rate: 249.9 kS/s # # that above ends the build procedure. # # # what if my distro doesn't support a binary package for libusb 1.0 ? # # go your home dir cd ~ # download the package wget http://downloads.sourceforge.net/libusb/libusb-1.0.6.tar.bz2 # unzip it bunzip2 libusb-1.0.6.tar.bz2 # create the directory tree tar -xvf libusb-1.0.6.tar # go into it cd libusb-1.0.6 # configure, compile and install ./configure make sudo make install sudo ldconfig
About
Automatically exported from code.google.com/p/libperseus-sdr
Resources
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Stars
Watchers
Forks
Packages 0
No packages published