Installation of w_scan on the command line:
sudo apt-get update
sudo apt-get install w-scan
Please note the package name has a minus "-", not an underscore "_".
Usage of
w_scan:
sudo killall tvheadend; sudo w_scan -ft -cDE >> channels.conf
Process
channels.conf with this tool.
Then save the resulting
aa-All.txt to the folder
/usr/share/dvb/dvb-t
If this does not work, try this folder:
/usr/share/tvheadend/data/dvb-scan/dvb-t/
Please reboot the Pi for TVHeadend to restart and find the new entry.
More information about usage of this tool in this blogpost (German)