w_scan is a small command line utility used to perform frequency scans for DVB and ATSC transmissions.
It is capable of creating channels.conf files (in different output formats !) as well as initial tuning data for scan.
It's based on the utility scan from linuxtv-dvb-apps, but meanwhile it was heavily changed and has different features:
Compiling w_scan:
NOTE: Compiling needs latest(!) DVB headers with S2API support: /usr/include/linux/dvb.
If compiling doesn't work: pls check in any case wether /usr/include/linux/dvb/frontend.h is up-to-date.
cd $SOURCEDIR tar xfj w_scan-<VERSION>.tar.bz2 && cd $SOURCEDIR ./configure makeoptional, install with:
make install
w_scan's command line options:
-f Frontend Type
a = ATSC, see also option A
c = DVB-C
s = DVB-S/S2
t = DVB-T (default)
-c Country
Specify your country, mandatory for ATSC and DVB-C/T
NOTE: since w_scan-200905xx, use -c? for a list of identifiers
-s Satellit
Specify your satellite, mandatory for DVB-S/S2
NOTE: since w_scan-200905xx, use -s? for a list of identifiers
-A N ATSC Type (Cable/Aerial)
1 = Terrestrial/Aerial (VSB) [default]
2 = Cable
3 = both of them, Aerial and Cable
-o N optional: explicitly specify VDR version
6 = VDR-1.6 (default)
7 = VDR-1.7
-X czap/tzap/xine output format
alternative channels.conf output format, matching for
tzap, czap, xine etc.
-x create initial tuning data for (dvb-)scan
-k create channels.dvb for kaffeine-0.8.5
-I import of (dvb)scan initial-tuning-data (since 200905xx)
-h basic help
-H extended help for expert functionality
How to use, some working examples:
w_scan -ft -c DE >> /etc/vdr/channels.conf
w_scan -ft -c GB >> /etc/vdr/channels.conf
w_scan -fc -c FI >> /etc/vdr/channels.conf
w_scan -ft -c DE >> /etc/vdr/channels.conf && w_scan -fc -c DE >> /etc/vdr/channels.conf
w_scan -fs -sS19E2 -o7 >> /etc/vdr/channels.conf
w_scan -fs -sS13E0 >> /etc/vdr/channels.conf
w_scan -fs -sS13E0 -o7 -D2c >> /etc/vdr/channels.conf
w_scan -h
w_scan -H
w_scan -ft -c DE -x > initial-tuning-data.txt
w_scan -fc -c DE -x > initial-tuning-data.txt
w_scan -fs -s S19E2 -x > initial-tuning-data.txt
w_scan -k > channels.dvb
w_scan -fc -k > channels.dvb
w_scan -fa > channels.conf
w_scan -A2 > channels.conf
w_scan -A3 > channels.conf
Reporting problems:
A log file can be created with
./w_scanusually one can understand from that file what goes wrong.-v -v 2>&1 | tee w_scan.log
w_scan start script:
Start with:
./w_scan_start.sh

ChangeLog:
for Changelog and latest Download please look at the German w_scan page, i will not update this page often.