https://www.linuxtv.org/wiki/api.php?action=feedcontributions&user=Kismet&feedformat=atomLinuxTVWiki - User contributions [en]2024-03-28T22:37:58ZUser contributionsMediaWiki 1.39.6https://www.linuxtv.org/wiki/index.php?title=Main_Page&diff=7238Main Page2006-06-22T11:07:40Z<p>Kismet: Created a Guide section</p>
<hr />
<div>__NOTOC__<br />
__NOEDITSECTION__<br />
<br />
<div style="background-color:#6289AB; padding:0.3em; color:#ffffff; font-weight:bold; font-size:150%; text-align:center"><br />
Welcome to the linuxtv.org DVB Wiki! (For v4l wiki, click [http://linuxtv.org/v4lwiki/index.php/Main_Page here])<br />
</div><br />
{|valign=top background=none<br />
|valign=top|<br />
<div style="vertical-align:top; margin:0; border:1px solid #6289AB; padding:0.5em; background-color:#ffffff"><br />
<center><br />
This Wiki is intended to become the ultimate resource regarding all questions about Video, TV and DVB support on Linux, free DVB software and cool projects.<br />
<br />
Like every other Wiki it relies on the contributions of its users. Also this Wiki can only get as good as you and we mean: YOU!!! make it. <br />
<br />
Whatever you can contribute will be highly appreciated, no matter if it's a HOWTO, help and explanations how to write a driver, how to install some a driver or whether you can explain how that beast called DVB is working. <br />
<br />
have fun, enjoy -- ''The LinuxTV WikiTeam''<br />
<br />
<br />
''' ''The basic plan is to collect facts about available hardware, linux-dvb experiences, HOWTOs, encyclopedia-like information and explanations about how [[DVB]], [[MPEG2 Standard|MPEG-2]] and [[MHP]] work, what an [[EPG]] is and so on, to make this a place useful for everybody who is doing anything related to [[analog TV|analog]] or [[digital TV]]. Save and share knowledge.'' '''<br />
</center><br />
</div><br />
|}<br />
<br />
<div style="margin:0; border:1px solid #6289AB; padding:0.5em; background-color:#F7F9FB;"><br />
{|valign=top cellpadding=0 cellspacing=0 width=100%<br />
|valign=top bgcolor=#F7F9FB width=5%|<br />
|valign=top bgcolor=#F7F9FB width=45%|<br />
* '''Technical Background'''<br />
** [[DVB Standard]]<br />
** [[MPEG2 Standard]]<br />
** [[Analog TV]]<br />
** [[Digital TV]]<br />
** [[Modulation Scheme]]s used for Analog and Digital TV<br />
** [[PCI interface chipset]]s used for DVB cards<br />
** [[DVB at the USB bus]]<br />
** [[Hard- or Software Decoder?]]<br />
** [[i2c Protocol]]<br />
** [[DSM-CC ObjectCarousel Protocol]]<br />
** [http://en.wikipedia.org/wiki/DiSEqC DiSEqC Protocol]<br />
<br />
* '''Developer Section'''<br />
**[[Supported DVB cards]]<br />
**[[Supported CAM modules]]<br />
**[[DVB cards requiring definition]]<br />
**[[DVB API history and future]]<br />
**[[Anatomy of a DVB device]]<br />
**[[Anatomy of a LinuxTV driver]]<br />
**[[Bug Report|File a Bug Report]]<br />
**[[Code Review|Invitation for Code Review]]<br />
**[[Hints for Refactoring existing DVB drivers]]<br />
**[[The DVB Decoder Challenge]]<br />
**[[Linux DVB API Version 4]]<br />
<br />
* '''Card modding'''<br />
** [[Memory Mod]]<br />
** [[Cooling Mods]]<br />
** [[Voltage Mod]] (Rev. 1.3 only)<br />
** [[DVB TT Budget Patch]]<br />
<br />
* '''Hardware solutions'''<br />
** [[Barebones and bundles]]<br />
** [[Commercial solutions]]<br />
** [[Examples of hardware]]<br />
** [[Streaming clients]]<br />
* '''Periphery for linuxtv-computers'''<br />
** [[Sat antenna]]<br />
** [[DVB-T antenna]]<br />
** [[DD receiver|Dolby Digital receiver]]<br />
** [[Remote Controllers]]<br />
<br />
|valign=top bgcolor=#F7F9FB width=45%|<br />
* '''Supported Hardware'''<br />
** [[Kernel Config Overview]]<br />
** [[DVB-S_cards|DVB-S devices]]<br />
** [[DVB-T_cards|DVB-T devices]]<br />
** [[DVB-C_cards|DVB-C devices]]<br />
** [[ATSC_cards|ATSC devices]]<br />
** [[DVB Card Vendors|Cards sorted by Vendor]]<br />
** [[DVB USB|DVB/ATSC USB boxes sorted by driver]]<br />
<br />
* '''Guide'''<br />
** [[HOW TO Installing DVB]]<br />
** [[First steps with a budget DVB card]]<br />
<br />
* '''Software'''<br />
** [[software|Commented software list]], including: <br />
*** [[LinuxTV Drivers]]<br />
*** [[LinuxTV dvb-apps]]<br />
*** [[VDR]]<br />
*** [[MythTV]]<br />
*** [[GeeXboX]]<br />
*** [[Kaffeine]]<br />
*** [[KaxTV]]<br />
*** [[Klear]]<br />
*** [[dvbshout]]<br />
*** [[dvbstream]]<br />
*** [[dvbsnoop]]<br />
*** [[dvbsak]]<br />
*** [[ZapDvb]]<br />
*** [[xawtv]]<br />
*** [[XdTV]]<br />
*** [[pluto]]<br />
*** [[gdvb]]<br />
*** [[ProjectX]]<br />
*** [[Mini DVB Linux]]<br />
*** [[LinVDR]]<br />
*** [[Mplayer]]<br />
*** [[mumudvb]]<br />
*** [[getstream]]<br />
*** [[DVBStreamer]]<br />
<br />
* '''LinuxTV-based example Setups'''<br />
**[[Example setup]]s<br />
*** [[VDR-based STBs]]<br />
*** [[MythTV STBs]]<br />
*** [[Enigma on the dbox2]]<br />
*** [[Neutrino on the dbox2]]<br />
*** [[Enigma on the Dreambox]]<br />
<br />
* '''[[Use cases]]''': a list of working solutions ordered per country and broadcaster<br />
<br />
* '''[[FAQ]]'''<br />
<br />
* '''[[DVB Links]]'''<br />
|}<br />
</div><br />
<br />
[[Category:LinuxTV]]</div>Kismethttps://www.linuxtv.org/wiki/index.php?title=Archived:HOW_TO_Installing_DVB&diff=7237Archived:HOW TO Installing DVB2006-06-22T10:42:09Z<p>Kismet: Used Intrawiki link, and changed some grammatical error</p>
<hr />
<div>This page contain some information that let a "end user" be able to install the DVB device on it's own GNU/Linux systems.<br />
'''NOTE:''' Some of the following steps do not fit on some distro some, anyway you can still use the istruction as general procedure<br />
<br />
__TOC__<br />
<br />
== Needed Software ==<br />
Before start you'll need some software install on your systems that are:<br />
* mercurial: need for download the latest source from the Version System used by LinuxTV developer<br />
* kernel-headers: need for compiling the the driver<br />
* compiling suite: all the software for compiling and installing the driver<br />
** make<br />
** gcc<br />
This guide do not include all the step to accomplish for install the neeed software.<br />
<br />
=== Needed Software: Ubuntu, Debian and Debian-like ===<br />
On ubuntu you can use the following command to installa all the needed software:<br />
sudo apt-get install mercurial linux-headers-$(uname -r) build-essential gcc make<br />
<br />
== Obtain latest source ==<br />
Now that we have all the software installed you should be able to download the latest source with the following command<br />
hg clone http://linuxtv.org/hg/v4l-dvb<br />
Let assumet that we have executed the command from the /usr/src directory so that we end up with /usr/src/v4l-dvb<br />
<br />
== Compiling the latest Driver ==<br />
Let's go inside the directory that contain the just downloaded driver, continuing with our example means to run the command:<br />
cd /usr/src/v4l-dvb<br />
or<br />
cd v4l-dvb<br />
Now we have just to compile the source with<br />
make<br />
If get any trouble here you can contact the developer by irc at:<br />
* Server:irc.freenode.net <br />
* Channels: #linuxtv #dvb<br />
<br />
== Obtain the firmware ==<br />
To obtain the firmware need by your device you need to know the name and model of the device.<br />
<br />
=== Discovering the Device Name and Model ===<br />
The device name and model are usually written on the device, on the box or/and the manual of the device itself, but you can also uso the command:<br />
lspci -v<br />
if your device is connected by PCI or<br />
lsusb -v<br />
if your device is connected by USB<br />
to discover such information.<br />
<br />
=== Selecting right firmware ===<br />
Now that you know which device is in your hands you can look at the list of the supported device at:<br />
* [[DVB-S_cards|DVB-S Devices]]<br />
* [[DVB-C_cards|DVB-C Devices]]<br />
* [[DVB-T_cards|DVB-T Devices]]<br />
and there you can find which firmware is need by your device<br />
<br />
=== Downloading and Installing the firmware ===<br />
The firmware can be found on one of the folloing address:<br />
* http://thadathil.net:8000/dvb/fw/<br />
* http://thadathil.net:8000/dvb/fw/dvb-usb/<br />
* http://linuxtv.org/downloads/firmware/<br />
and must download on the directory used by you're hotplug, that usually depens on the distro that you're using but usually the directory are:<br />
/lib/firmware/$(uname -r) [Ubuntu use that directoy one for each kernel installed]<br />
/lib/hotplug/firmware/ <br />
/lib/firmware<br />
<br />
== Installing driver ==<br />
Now you have to install the driver and then connect the device to your pc. To install the driver you have to execute:<br />
sudo make unload<br />
sudo make install<br />
Connect the device now and then start you're prefered program for watching DVB like [[Kaffeine]]<br />
<br />
== Appendix A: Next Steps ==<br />
Next step can be read at:<br />
* [[First_steps_with_a_budget_DVB_card|First Step with DVB Cards]]<br />
<br />
== Appendix B: FAQ ==<br />
Q: My device was working perfectly but now is not recongnized anymore?<br />
<br />
A: Probably now you're using a different kernel so you have to install the driver again and ensure that the firmware is reached by hotplug system. Beacuse some distro(like Ubuntu) use a firmware directory for each kernel version installed<br />
<br />
Q: My DVB device is recognized but I'm not able to use it?<br />
<br />
A: You should check that the user that is trying to access DVB device have right to read and write on the /dev/dvb directory that contains all virtual file where each of them rappresent a DVB device discovered by your system<br />
<br />
Q: I have download the firmware but no /dev/dvb are present on my system<br />
<br />
A: Probably you're saved the firmware on directory that's used by the hotplug system for discovering the available firmware or the firmare is not readble by ALL the user.<br />
<br />
== Appendix C: Credits ==<br />
This page is been created by:<br />
* Stefano "Kismet" Lenzi</div>Kismethttps://www.linuxtv.org/wiki/index.php?title=Testing_your_DVB_device&diff=7236Testing your DVB device2006-06-22T10:41:10Z<p>Kismet: Fixed link display name</p>
<hr />
<div>''' First steps with a budget DVB card in Linux - Getting Started Howto '''<br />
<br />
This page gives you some suggestions how to test your DVB card installed on your system. It won't tell you greatly featured software to ''watch'' TV, neither how to install your specific hardware that you have (see the other pages of this wiki for that). But it will tell you software that will run in command-line mode (shell only, actually) and even on very modest software. And '''it won't take long''' to do these tests here. <br />
<br />
Run all stuff on this page as root, for the beginning. Here, we assume you already installed the driver for your hardware and loaded the modules, i.e. you should have a non empty directory<br />
/dev/dvb/adapter0/<br />
<br />
'''For installing the DVB device on the sytem you can look at: [[HOW_TO_Installing_DVB|HOW TO Install DVB Device]]'''<br />
== First steps using DVBtools ==<br />
<br />
The [[dvb-utils]] have many useful tools with great functionality. Install it, e.g. with debian: <br />
# apt-get install dvb-utils<br />
For the beginning, do something like this: Adopt this line for your place<br />
scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/uk-Oxford <br />
and you'll see what's coming in to the card. If that makes sense, repeat it like this: <br />
mkdir /root/.tzap<br />
scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/uk-Oxford >/root/.tzap/channels.conf<br />
This trys to find the programs it takes from the initial uk-Oxford configuration (or whatever your place is). Note that the screen output you get into your shell doesn't really say if you can recieve something or not. The file it creates is more important; it has lines like: <br />
BBC ONE:578000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_3_4:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:600:601:4171<br />
which says that the stream on frequency 578000000 Hz has the two PIDs 600 and 601 for the video and audio stream of BBC ONE. This file with the data for your TV-programs, if stored into the place as above, can be used by the zapper tzap, e.g.: <br />
tzap Bloomberg -- Bloomberg<br />
That tunes automatically both channel and PIDs for video and audio to the channel called "Bloomberg -- Bloomberg". Use the command [[tzap]] for DVB-T. For DVB-C, replace [[tzap]] with [[czap]] and for DVB-S with [[szap]].<br />
<br />
You could now start up your TV watching application or datastreamer. But we want to see some nice statistics of what's coming in for each channel and PID: <br />
dvbtraffic<br />
And finally <br />
dvbdata<br />
Note: if your signal is too weak and you recieve '''only some''' channels, the way to find out which is to look in the channel.conf file that you just created. If for a program the two PIDs (third and second last number in line) are 0, you can't recieve it. If the first PID is 0 and the second is not 0, then it's probably a radio channel.<br />
<br />
== First steps using dvbsnoop ==<br />
As an alternative, [[dvbsnoop]] is a small, down-to-earth util. As it's very hardware-near, it's very handy for debugging and seeing what's going on with the card (tuning works? data coming in? signal strong enough?). (On the other side, if all in the section above works fine, you can jump over this section here.)<br />
Install it, e.g. with debian: <br />
# apt-get install dvbsnoop<br />
Then try things like<br />
dvbsnoop -help<br />
dvbsnoop -s pidscan<br />
This will give out a lot of numbers, but if you understand the system of [[DVB]] you should see if they make sense. Go for one of the PIDs (choose a right one which is a bit difficult as you don't know what they stand for unless you used the scan line above) and try: <br />
dvbsnoop -s bandwidth <PID><br />
dvbsnoop <PID><br />
The latter will spit out a lot of hexdumps - at least you recieve '''something''' ;-)<br />
<br />
<br />
== Save a TV program to harddisk with dvbstream ==<br />
The handy thing about digital TV is, it comes in as a digital stream that you can save right away to your harddisk without any changes necessary to it. Therefore, hardly any CPU resources are needed -- just a lot of HD space (few GB per hour as the stream is MPEG-2 which is not as compressed as for example DivX/MPEG-4). A good program that can do that (and more) is [[dvbstream]]. <br />
<br />
Install it, e.g. with debian: <br />
# apt-get install dvbstream<br />
<br />
Let's tune into a channel with tzap as described above, and then you can just save the stream into a file like this: <br />
tzap BBC ONE<br />
dvbstream 600 601 -o >BBC1.mpeg<br />
So this is why it's important that you have your personal channels.conf file with all the PIDs so you can look them up. Instead of using tzap you can do it all in one - tune the frequency and select the right PIDs:<br />
dvbstream -f 578000 600 601 -o >bbc1.mpeg<br />
<br />
Wait a few seconds and then press Ctrl+C to stop. You can open the MPEG file with players that play movie files (decode MPEG2), like mplayer, (g)xine or noatune. <br />
<br />
If the file is rather small, e.g. smaller than 1 MB after a minute of recording, then you can't recieve this TV channel - maybe the reception is bad (too weak antenna signal) - or maybe your card's frequency is not tuned for the right sender? Watch out, some PIDs come up a few times (but for different frequencies). <br />
<br />
This might not be what you wanna do every day (unless you only watch BBC1 or you can easily memorise all your channels with their two PIDs) - but it's very fast and easy to do these steps, e.g. for a test.<br />
<br />
<br />
==More Software - next steps ==<br />
You have a lot of choice. Obviously, don't use analog-TV or full-featured-cards software but use budget-DVB-software. Don't get yourself confused that bttv was analog-TV first - it's come a long way and now the form you use is DVB. So xawtv for example will '''not''' work -- you just don't have /dev/video0 (instead you have /dev/dvb/adapter0).<br />
<br />
[[Xine]] and [[VDR]] probably are the first choice for a DVB card. Keep in mind, the TwinhanDTV Ter is is a budget card, not a [[Full-featured Card]] so you have to install the [[VDR Software Decoder Plugin]] if you wanna use VDR for watching (good luck). Xine will work right away. <br />
<br />
Alternatively, you could use [[dvbstream]] and then watch the MPEG-2 stream (even possible on a different computer) with programs like xine, mplayer etc.<br />
<br />
<br />
== See also ==<br />
* [[Example setup]]s (for more complex, more advanced, more powerful and more comfortable systems)<br />
* [[Commented software list]]</div>Kismethttps://www.linuxtv.org/wiki/index.php?title=Testing_your_DVB_device&diff=7235Testing your DVB device2006-06-22T10:29:30Z<p>Kismet: Added link to HOW_TO_Installing_DVB that is not covered by page</p>
<hr />
<div>''' First steps with a budget DVB card in Linux - Getting Started Howto '''<br />
<br />
This page gives you some suggestions how to test your DVB card installed on your system. It won't tell you greatly featured software to ''watch'' TV, neither how to install your specific hardware that you have (see the other pages of this wiki for that). But it will tell you software that will run in command-line mode (shell only, actually) and even on very modest software. And '''it won't take long''' to do these tests here. <br />
<br />
Run all stuff on this page as root, for the beginning. Here, we assume you already installed the driver for your hardware and loaded the modules, i.e. you should have a non empty directory<br />
/dev/dvb/adapter0/<br />
<br />
'''For installing the DVB device on the sytem you can look at: [[HOW_TO_Installing_DVB]]'''<br />
== First steps using DVBtools ==<br />
<br />
The [[dvb-utils]] have many useful tools with great functionality. Install it, e.g. with debian: <br />
# apt-get install dvb-utils<br />
For the beginning, do something like this: Adopt this line for your place<br />
scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/uk-Oxford <br />
and you'll see what's coming in to the card. If that makes sense, repeat it like this: <br />
mkdir /root/.tzap<br />
scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/uk-Oxford >/root/.tzap/channels.conf<br />
This trys to find the programs it takes from the initial uk-Oxford configuration (or whatever your place is). Note that the screen output you get into your shell doesn't really say if you can recieve something or not. The file it creates is more important; it has lines like: <br />
BBC ONE:578000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_3_4:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:600:601:4171<br />
which says that the stream on frequency 578000000 Hz has the two PIDs 600 and 601 for the video and audio stream of BBC ONE. This file with the data for your TV-programs, if stored into the place as above, can be used by the zapper tzap, e.g.: <br />
tzap Bloomberg -- Bloomberg<br />
That tunes automatically both channel and PIDs for video and audio to the channel called "Bloomberg -- Bloomberg". Use the command [[tzap]] for DVB-T. For DVB-C, replace [[tzap]] with [[czap]] and for DVB-S with [[szap]].<br />
<br />
You could now start up your TV watching application or datastreamer. But we want to see some nice statistics of what's coming in for each channel and PID: <br />
dvbtraffic<br />
And finally <br />
dvbdata<br />
Note: if your signal is too weak and you recieve '''only some''' channels, the way to find out which is to look in the channel.conf file that you just created. If for a program the two PIDs (third and second last number in line) are 0, you can't recieve it. If the first PID is 0 and the second is not 0, then it's probably a radio channel.<br />
<br />
== First steps using dvbsnoop ==<br />
As an alternative, [[dvbsnoop]] is a small, down-to-earth util. As it's very hardware-near, it's very handy for debugging and seeing what's going on with the card (tuning works? data coming in? signal strong enough?). (On the other side, if all in the section above works fine, you can jump over this section here.)<br />
Install it, e.g. with debian: <br />
# apt-get install dvbsnoop<br />
Then try things like<br />
dvbsnoop -help<br />
dvbsnoop -s pidscan<br />
This will give out a lot of numbers, but if you understand the system of [[DVB]] you should see if they make sense. Go for one of the PIDs (choose a right one which is a bit difficult as you don't know what they stand for unless you used the scan line above) and try: <br />
dvbsnoop -s bandwidth <PID><br />
dvbsnoop <PID><br />
The latter will spit out a lot of hexdumps - at least you recieve '''something''' ;-)<br />
<br />
<br />
== Save a TV program to harddisk with dvbstream ==<br />
The handy thing about digital TV is, it comes in as a digital stream that you can save right away to your harddisk without any changes necessary to it. Therefore, hardly any CPU resources are needed -- just a lot of HD space (few GB per hour as the stream is MPEG-2 which is not as compressed as for example DivX/MPEG-4). A good program that can do that (and more) is [[dvbstream]]. <br />
<br />
Install it, e.g. with debian: <br />
# apt-get install dvbstream<br />
<br />
Let's tune into a channel with tzap as described above, and then you can just save the stream into a file like this: <br />
tzap BBC ONE<br />
dvbstream 600 601 -o >BBC1.mpeg<br />
So this is why it's important that you have your personal channels.conf file with all the PIDs so you can look them up. Instead of using tzap you can do it all in one - tune the frequency and select the right PIDs:<br />
dvbstream -f 578000 600 601 -o >bbc1.mpeg<br />
<br />
Wait a few seconds and then press Ctrl+C to stop. You can open the MPEG file with players that play movie files (decode MPEG2), like mplayer, (g)xine or noatune. <br />
<br />
If the file is rather small, e.g. smaller than 1 MB after a minute of recording, then you can't recieve this TV channel - maybe the reception is bad (too weak antenna signal) - or maybe your card's frequency is not tuned for the right sender? Watch out, some PIDs come up a few times (but for different frequencies). <br />
<br />
This might not be what you wanna do every day (unless you only watch BBC1 or you can easily memorise all your channels with their two PIDs) - but it's very fast and easy to do these steps, e.g. for a test.<br />
<br />
<br />
==More Software - next steps ==<br />
You have a lot of choice. Obviously, don't use analog-TV or full-featured-cards software but use budget-DVB-software. Don't get yourself confused that bttv was analog-TV first - it's come a long way and now the form you use is DVB. So xawtv for example will '''not''' work -- you just don't have /dev/video0 (instead you have /dev/dvb/adapter0).<br />
<br />
[[Xine]] and [[VDR]] probably are the first choice for a DVB card. Keep in mind, the TwinhanDTV Ter is is a budget card, not a [[Full-featured Card]] so you have to install the [[VDR Software Decoder Plugin]] if you wanna use VDR for watching (good luck). Xine will work right away. <br />
<br />
Alternatively, you could use [[dvbstream]] and then watch the MPEG-2 stream (even possible on a different computer) with programs like xine, mplayer etc.<br />
<br />
<br />
== See also ==<br />
* [[Example setup]]s (for more complex, more advanced, more powerful and more comfortable systems)<br />
* [[Commented software list]]</div>Kismethttps://www.linuxtv.org/wiki/index.php?title=Archived:HOW_TO_Installing_DVB&diff=7234Archived:HOW TO Installing DVB2006-06-22T10:19:17Z<p>Kismet: Release 1.0</p>
<hr />
<div>This page contain some information that let a "end user" be able to install the DVB device on it's own GNU/Linux systems.<br />
'''NOTE:''' Some of the following steps do not fit on some distro some, anyway you can still use the istruction as general procedure<br />
<br />
__TOC__<br />
<br />
== Needed Software ==<br />
Before start you'll need some software install on your systems that are:<br />
* mercurial: need for download the latest source from the Version System used by LinuxTV developer<br />
* kernel-headers: need for compiling the the driver<br />
* compiling suite: all the software for compiling and installing the driver<br />
** make<br />
** gcc<br />
This guide do not include all the step to accomplish for install the neeed software.<br />
<br />
=== Needed Software: Ubuntu ===<br />
On ubuntu you can use the following command to installa all the needed software:<br />
sudo apt-get install mercurial linux-headers-$(uname -r) build-essential gcc make<br />
<br />
== Obtain latest source ==<br />
Now that we have all the software installed you should be able to download the latest source with the following command<br />
hg clone http://linuxtv.org/hg/v4l-dvb<br />
Let assumet that we have executed the command from the /usr/src directory so that we end up with /usr/src/v4l-dvb<br />
<br />
== Compiling the latest Driver ==<br />
Let's go inside the directory that contain the just downloaded driver, continuing with our example means to run the command:<br />
cd /usr/src/v4l-dvb<br />
or<br />
cd v4l-dvb<br />
Now we have just to compile the source with<br />
make<br />
If get any trouble here you can contact the developer by irc at:<br />
* Server:irc.freenode.net <br />
* Channels: #linuxtv #dvb<br />
<br />
== Obtain the firmware ==<br />
To obtain the firmware need by your device you need to know the name and model of the device.<br />
<br />
=== Discovering the Device Name and Model ===<br />
The device name and model are usually written on the device, on the box or/and the manual of the device itself, but you can also uso the command:<br />
lscpi -v<br />
if your device is connected by PCI or<br />
lsusb -v<br />
if your device is connected by USB<br />
to discover such information.<br />
<br />
=== Selecting right firmware ===<br />
Now that you know which device is in your hands you can look at the list of the supported device at:<br />
* [http://linuxtv.org/wiki/index.php/DVB-S_cards DVB-S]<br />
* [http://linuxtv.org/wiki/index.php/DVB-C_cards DVB-C]<br />
* [http://linuxtv.org/wiki/index.php/DVB-T_cards DVB-T]<br />
and there you can find which firmware is need by your device<br />
<br />
=== Downloading and Installing the firmware ===<br />
The firmware can be found on one of the folloing address:<br />
* http://thadathil.net:8000/dvb/fw/<br />
* http://thadathil.net:8000/dvb/fw/dvb-usb/<br />
* http://linuxtv.org/downloads/firmware/<br />
and must download on the directory used by you're hotplug, that usually depens on the distro that you're using but usually the directory are:<br />
/lib/firmware/$(uname -r) [Ubuntu use that directoy one for each kernel installed]<br />
/lib/hotplug/firmware/ <br />
/lib/firmware<br />
<br />
== Installing driver ==<br />
Now you have to install the driver and then connect the device to your pc. To install the driver you have to execute:<br />
sudo make unload<br />
sudo make install<br />
Connect the device now and then start you're prefered program for watching DVB like [http://kaffeine.sourceforge.net/ Kaffeine]<br />
<br />
== Appendix A: Next Steps ==<br />
Next step can be read at:<br />
* [http://linuxtv.org/wiki/index.php/First_steps_with_a_budget_DVB_card First Step with DVB]<br />
<br />
== Appendix B: FAQ ==<br />
Q: My device was working perfectly but now is not recongnized anymore?<br />
<br />
A: Probably now you're using a different kernel so you have to install the driver again and ensure that the firmware is reached by hotplug system. Beacuse some distro(like Ubuntu) use a firmware directory for each kernel version installed<br />
<br />
Q: My DVB device is recognized but I'm not able to use it?<br />
<br />
A: You should check that the user that is trying to access DVB device have right to read and write on the /dev/dvb directory that contains all virtual file where each of them rappresent a DVB device discovered by your system<br />
<br />
Q: I have download the firmware but no /dev/dvb are present on my system<br />
<br />
A: Probably you're saved the firmware on directory that's used by the hotplug system for discovering the available firmware or the firmare is not readble by ALL the user.<br />
<br />
== Appendix C: Credits ==<br />
This page is been created by:<br />
* Stefano "Kismet" Lenzi</div>Kismethttps://www.linuxtv.org/wiki/index.php?title=Firmware&diff=7233Firmware2006-06-21T16:41:41Z<p>Kismet: Added firmware repository</p>
<hr />
<div>Modern chipsets move more and more functionality from fixed-function implementations in silicon to firmware or software. The chip becomes a more generic microcontroller or [[DSP]] that executes the Firmware and does the same jobs.<br />
<br />
Drawbacks are that this solution may consume more power than an optimized fixed-function design and that different firmware revisions can cause completely different behaviour of the chips.<br />
<br />
The fact that the Firmware can 'fix' bugs later has at some vendors the effect that early firmware revisions are rarely useable -- fixed-function hardware is usually more carefully designed.<br />
<br />
==Firmware auto-loading==<br />
<br />
Most people would like their system to load their DVB firmware at boot time/when the module is loaded.<BR><br />
This can be done easily using [http://linux-hotplug.sourceforge.net hotplug]<br />
<br />
First, do the following where xxxxx is one of sp8870/sp887x/tda10045/tda10046/av7110/dec2000t/dec2540t/dec3000s/vp7041/dibusb :<BR><br />
<code>perl /usr/src/linux/Documentation/dvb/get_dvb_firmware xxxxx</code><BR> (script distributed along with kernel source)<br />
<br />
It would download the wanted firmware to current directory.<BR><br />
Then, copy the firmware file to <code>/lib/firmware</code> or <code>/usr/lib/hotplug/firmware/</code> (depends of your hotplug version)<br />
<br />
When the appropriate module is loaded, it would automatically load the firmware.<br />
<br />
''Gentoo users'': A fresh minimal install of Gentoo installs the <code>sys-apps/hotplug-base</code> package. However to actually get the firmware loading, you will need to install <code>sys-apps/hotplug</code>, as well.<br />
<br />
''' ''it would be nice to have some words explaining the linux firmware loader stuff. contributors?'' '''<br />
<br />
==Firmware repository==<br />
<br />
The following site can used searching the firwmare needed by your device:<br />
* http://thadathil.net:8000/dvb/fw/<br />
* http://linuxtv.org/downloads/firmware/<br />
<br />
[[Category:Technology]]</div>Kismet