# This is the procedure I follow to install QUISK on my ODROID-X card to control an IQ SDR. # based on README_G3VBV.txt note - Thanks to Sid( G3VBV ) for his generous help ! # download python & quisk: 1. download python 2.7.5 for linux from python.org : http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz 2. install in a /home/python directory. 3. download the last quisk for linux from james site, http://james.ahlstrom.name/quisk/docs.html 4. install in a /home/quisk directory or in any repertory you wish. # doing now what is in readme_G3VBV file: ....first : sudo apt-get update.... 5. sudo apt-get install libfftw3-dev libasound2-dev libportaudio2 portaudio19-dev libncurses5-dev libwxbase2.8-0 libwxgtk2.8-0 python-wxgtk2.8 python-wxversion libusb-dev python2.7-dev 6. add a /etc/udev/rules.d/99-softrock.rules file with the data from readme_G3VBV file Copy and paste the next to /etc/udev/rules.d/99-softrock.rules (using...gksudo nautilus.....to create and edit this system file) --------------------------------------------------------- SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="16c0", ATTR{idProduct}=="05dc", MODE="0666", GROUP="dialout" --------------------------------------------------------- 7. ~/quisk$ make # I use the FA-SDR harware, same input/output as a RXTX Ensemble # usb E-MU for IQ is hw:2 # usb headset for mic/phone is hw:1 8. For ODROID-X/X2 # No more need to Change quisk.py with Quisk 3.6.13 9. Use this modified quisk_conf_rx_tx_ensemble.py and put it in /home/.quisk_conf.py : # you will have to adjust audio channels and I & Q channels also for RX and TX according to your own wiring - just cross 0 & 1 # if you see a wrong frequency on the display. Read first quisk_conf_defaults.py to understand hox it works and add your own options. ---------------------------------------------------------------------------------- # This is F6EHP quisk_conf.py configuration file for a FA-SDR. - 30/09/2013 - v1.2 # using a E-MU usb sound card for IQ & a usb headset for the audio mic/phone # Attach your SoftRock Rx/Tx Ensemble to the line in and line out of a high quality # sound card. Set name_of_sound_capt and name_of_mic_play to this card. You need # a second (lower quality) sound card to play radio audio named name_of_sound_play. # This is sufficient for CW. To transmit SSB, you need a capture sound card named # microphone_name. The microphone_name and name_of_sound_play can be the same device. from softrock import hardware_usb as quisk_hardware from softrock import widgets_tx as quisk_widgets # In Linux, ALSA soundcards have these names. The "hw" devices are the raw # hardware devices, and should be used for soundcard capture. # Vendor and product ID's for the SoftRock usb_vendor_id = 0x16c0 usb_product_id = 0x05dc softrock_model = "FA-SDR" # This controls the speed of the graph peak hold. Lower numbers give a longer time constant. graph_peak_hold_1 = 0.025 graph_peak_hold_2 = 0.010 # These are the initial values for the Y-scale and Y-zero sliders for each screen. # The sliders go from zero to 160. graph_y_scale = 110 graph_y_zero = 60 use_sdriq = 1 # Get ADC samples from SDR-IQ # channel adjusted to get the right signal usb or lsb where it should be. invert 0 and 1 if necessary. channel_i = 1 # Soundcard index of in-phase channel: 0, 1, 2, ... channel_q = 0 # Soundcard index of quadrature channel: 0, 1, 2, ... # This converts from dB to S-units for the S-meter (it is in S-units). correct_smeter = 15.5 # This determines what happens when you tune by dragging the mouse. The correct # choice depends on how your hardware performs tuning. You may want to use a # custom hardware file with a custom ChangeFrequency() method too. mouse_tune_method = 0 # The Quisk tune frequency changes and the VFO frequency is unchanged. #mouse_tune_method = 1 # The Quisk tune frequency is unchanged and the VFO changes. # configurable mouse wheel thanks to DG7MGY mouse_wheelmod = 50 # Round frequency when using mouse wheel (50 Hz) # If you want to monitor the hardware key state, enter a poll time in milliseconds. #key_poll_msec = 0 sample_rate = 96000 # ADC hardware sample rate in Hertz name_of_sound_capt = "hw:2,0" # Name of soundcard capture hardware device. name_of_sound_play = "hw:1,0" # Name of soundcard playback hardware device. # Microphone capture: microphone_name = "hw:1,0" # Name of microphone capture device mic_channel_I = 0 # Soundcard index of mic capture audio channel mic_channel_Q = 0 # Soundcard index of ignored capture channel mic_play_chan_I = 1 # Soundcard index of mic I play channel mic_play_chan_Q = 0 # Soundcard index of mic Q play channel name_of_mic_play = "portaudio:(hw:2,0)" # Name of play device if CW or mic I/Q is sent to a sound card mic_sample_rate = 48000 # Microphone capture sample rate in Hertz, should be 48000, can be 8000 mic_playback_rate = 96000 # Playback rate must be a multiple 1, 2, ... of mic_sample_rate mic_out_volume = 0.4 # Transmit sound output volume (after all processing) as a fraction 0.0 to 1.0 #tx_channel_delay = -1 # For no mic audio processing, use mic_clip = 1.0; mic_preemphasis = 0.0 mic_clip = 3.0 # Mic amplitude clipping; 1.0 for no clip, larger numbers give more clipping mic_preemphasis = 0.6 # Mic pre-emphasis 0.0 (none) to 1.0; or -1.0 for a Butterworth filter # These parameters control the microphone gain adjustment. mic_avg_gain = 10.0 # Typical gain for the microphone in use mic_max_gain = 100.0 # Do not increase gain over this value #use_iq_bal = True #useManualAmplPhase = False hot_key_ptt1 = wx.WXK_END # hot key for ptt # please note I had to use portaudio( ) instead of only hw: to get a good TX signal at output of my E-MU usb card, # but the right way to define these audio port may depend on your own card. TRY until it works ! ----------------------------------------------------------------------------- # to modify this file that is hidden : sudo gedit .quisk_conf.py reboot and, 10. run quisk : cd quisk ~/quisk$ python quisk.py 11. play and enjoy ! Pascal F6EHP www.f6ehp.fr