Changes between Version 12 and Version 13 of Software/hDrivers


Ignore:
Timestamp:
May 16, 2016, 7:57:20 PM (9 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/hDrivers

    v12 v13  
    172172== USRP Universal Hardware Driver ==
    173173
    174 Prior to installing ensure the host platform is running Ubuntu 12.04 and a USRP connected on eth2 interface.
    175 
    176 UHD binary installation instructions referenced from [http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Linux].
    177 
    178 Install the UHD binary from the repository:
    179 {{{
    180 bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/uhd/ubuntu/`lsb_release -cs` `lsb_release -cs` main" > /etc/apt/sources.list.d/ettus.list'
     174Prior to installing ensure the host platform is running Ubuntu 14.04 and a USRP connected on eth2 interface.
     175
     176UHD binary installation instructions referenced from [http://files.ettus.com/manual/page_install.html#install_linux].
     177
     178Add the repository and install the UHD binary:
     179{{{
     180add-apt-repository ppa:ettusresearch/uhd
    181181apt-get update
    182 apt-get install -t `lsb_release -cs` uhd
    183 }}}
    184 
    185 
    186 Configure eth2 network interface.
    187  1) For USRP X310 the device is on the 192.168.40.x subnet.
    188   a)  Load driver for 10G Ethernet interface:
    189 {{{
    190 modprobe mlx4_en
    191 }}}
    192   b) Configure eth2 interface
    193 {{{
    194 ifconfig eth2 192.168.40.1 netmask 255.255.255.0 mtu 9000 up
    195 }}}
    196 
    197  2) For USRP N210 the device is on the 192.168.10.x subnet.
    198   a) Use the stock driver for 1G Ethernet interface which is already loaded.
    199 
    200   b) Configure eth2 interface and resize socket buffers
    201 {{{
    202 ifconfig eth2 192.168.10.1 netmask 255.255.255.0 up
    203 sudo sysctl -w net.core.rmem_max=50000000
    204 sudo sysctl -w net.core.wmem_max=1048576
    205 }}}
    206 
     182apt-get install libuhd-dev libuhd003 uhd-host
     183}}}
     184
     185
     186Configure eth2 network interface by adding the following in /etc/network/interfaces
     187
     188{{{
     189auto eth2
     190iface eth2 inet static
     191      address 192.168.10.1
     192      netmask 255.255.255.0
     193      mtu 9216
     194}}}
    207195
    208196Test UHD installation using the USRP Hardware Driver Discovery Utility
     
    311299}}}
    312300
     301== RTL-SDR ==
     302
     303Assumes you have git and libusb-1.0.0.dev installed on the image.
     304
     305{{{
     306git clone git://git.osmocom.org/rtl-sdr.git
     307
     308cd rtl-sdr/
     309
     310mkdir build
     311
     312cd build
     313
     314cmake ../ -DINSTALL_UDEV_RULES=ON
     315
     316make
     317
     318make install
     319
     320ldconfig
     321
     322cp ../rtl-sdr.rules /etc/udev/rules.d/
     323}}}
     324
     325Blackclist the RTL-SDR so it doesn't interfere with other devices by adding creating /etc/modprobe.d/blacklist-rtlsdr.conf with:
     326
     327{{{
     328blacklist dvb_usb_rtl28xxu
     329}}}
     330
    313331== ATH 5k ==
    314332