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 http://wirbel.htpc-forum.de/w_scan/index2.html

$ cd /tmp
$ wget http://wirbel.htpc-forum.de/w_scan/w_scan-20140118.tar.bz2
$ 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
INVERSION_AUTO
QAM_AUTO
TRANSMISSION_MODE_AUTO
GUARD_INTERVAL_AUTO
HIERARCHY_AUTO
FEC_AUTO
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...
Advertisements

About Michal Zuber

Biker and rollerblader. Owner and developer at http://nevilleweb.sk/ Co-founded http://neville.sk/ Blog at https://michalzuber.wordpress.com/
This entry was posted in cli, dvb, linux. Bookmark the permalink.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s