Compiling w_scan

I bought a DVB-T USB and needed w_scan to scan channels.

$ lsusb
Bus 001 Device 005: ID 048d:9006 Integrated Technology Express, Inc.
$ modprobe dvb_usb_it913x

Source code is at

$ cd /tmp
$ wget
$ tar jxvf w_scan-20140118.tar.bz2
$ cd w_scan-20140118

Solving “ERROR: w_scan requires linux DVB API v5.3 or higher”:

$ CFLAGS="-I /usr/src/linux-headers-3.3.4-030304/include/" ./configure
$ make
$ sudo cp w_scan /usr/bin

$ w_scan -c SK
w_scan version 20140118 (compiled for DVB API 5.5)
using settings for SLOVAKIA
DVB aerial
DVB-T Europe
scan type TERRESTRIAL, channellist 4
output format vdr-2.0
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C  to override
Info: using DVB adapter auto detection.
        /dev/dvb/adapter0/frontend0 -> TERRESTRIAL "ITE 9135(9006) Generic_1": good :-)
Using TERRESTRIAL frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_
Using DVB API 5.5
frontend 'ITE 9135(9006) Generic_1' supports
FREQ (51.00MHz ... 1680.00MHz)
Scanning 7MHz frequencies...
177500: (time: 00:01)
184500: (time: 00:05)
191500: (time: 00:09)
198500: (time: 00:13)
205500: (time: 00:19)
212500: (time: 00:26)
219500: (time: 00:31)
226500: (time: 00:35)
Scanning 8MHz frequencies...

Author: Michal Zuber

Full stack developer, biker and rollerblader. Owner and developer at Co-founded Blog at

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s