<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML ><HEAD ><TITLE >Loading the Modules</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="The BTTV HOWTO" HREF="index.html"><LINK REL="PREVIOUS" TITLE="Enabling Support for Your Bt8x8 Hardware in Linux" HREF="hw.html"><LINK REL="NEXT" TITLE="Television Applications" HREF="apps.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >The BTTV HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="hw.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="apps.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="MODPROBE" ></A >4. Loading the Modules</H1 ><P >This section is only for those whose modules don't load automatically and/or correctly. For a complete list of options by module, see <A HREF="options.html" >Appendix A</A >.</P ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="BTMOD" ></A >4.1. The Bttv Module</H2 ><P >Once your card is installed, you can load the bttv module if your kernel hasn't already done it for you. Using the <B CLASS="COMMAND" >modprobe</B > command as root, type <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" > # modprobe bttv</PRE ></FONT ></TD ></TR ></TABLE > The modules <TT CLASS="FILENAME" >videodev</TT > and <TT CLASS="FILENAME" >i2c</TT > may be required prior to this if you are running a pre-2.4 series kernel. By default, the <B CLASS="COMMAND" >bttv</B > will try to autodetect your card type; you can inspect <B CLASS="COMMAND" >/var/log/messages</B > to see what it finds. If it doesn't autodetect properly, you can add the <B CLASS="COMMAND" >card=#</B > option to the end of the previous command to force a your particular card type, a list of which are found in <A HREF="cards.html" >Appendix B</A > or on your system in <A HREF="file:///usr/src/linux/Documentation/video4linux/bttv/Cards" TARGET="_top" >your kernel source Documentation</A > if installed in the usual place (<TT CLASS="FILENAME" >/usr/src/linux</TT >. If you get in trouble and need to remove the module, you can use <B CLASS="COMMAND" >rmmod</B >: <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" > $ rmmod bttv</PRE ></FONT ></TD ></TR ></TABLE > You can then reload the module with the appropriate options.</P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="TUNMOD" ></A >4.2. The Tuner Module</H2 ><P >If necessary, load the tuner module, with <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" > # modprobe tuner</PRE ></FONT ></TD ></TR ></TABLE > If the tuner is not correctly identified you may need to supply the magic number for tuner-type: <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" > # modprobe tuner type=#</PRE ></FONT ></TD ></TR ></TABLE ></P ><P >You may need to dig into your case to see which tuner you have if you can't find the maker and model in the printed specifications that came with your hardware, or if this information is otherwise unavailable. It should be marked with the brand name and may support one or more of the three major broadcast standards in use in the world, whether <A HREF="http://en.wikipedia.org/wiki/NTSC" TARGET="_top" >NTSC</A >, <A HREF="http://en.wikipedia.org/wiki/PAL" TARGET="_top" >PAL</A > or <A HREF="http://en.wikipedia.org/wiki/SECAM" TARGET="_top" >SECAM</A >. In general, chipsets manufactured for the US market are NTSC; for Europe, PAL, and Asia PAL or SECAM. Some countries support more than one standard.</P ><P >Once you have identified your tuner, select the value of <B CLASS="COMMAND" >n</B > from the following list:</P ><P ><P CLASS="LITERALLAYOUT" > <B CLASS="COMMAND" >tuner=</B ><EM >n</EM > <B CLASS="COMMAND" >type of tuner chip</B ><br> --------------------------------------------------------------<br> <br> <B CLASS="COMMAND" >tuner=0</B > Temic PAL (4002 FH5)<br> <B CLASS="COMMAND" >tuner=1</B > Philips PAL_I (FI1246 and compatibles)<br> <B CLASS="COMMAND" >tuner=2</B > Philips NTSC (FI1236,FM1236 and compatibles)<br> <B CLASS="COMMAND" >tuner=3</B > Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)<br> <B CLASS="COMMAND" >tuner=4</B > NoTuner<br> <B CLASS="COMMAND" >tuner=5</B > Philips PAL_BG (FI1216 and compatibles)<br> <B CLASS="COMMAND" >tuner=6</B > Temic NTSC (4032 FY5)<br> <B CLASS="COMMAND" >tuner=7</B > Temic PAL_I (4062 FY5)<br> <B CLASS="COMMAND" >tuner=8</B > Temic NTSC (4036 FY5)<br> <B CLASS="COMMAND" >tuner=9</B > Alps HSBH1<br> <B CLASS="COMMAND" >tuner=10</B > Alps TSBE1<br> <B CLASS="COMMAND" >tuner=11</B > Alps TSBB5<br> <B CLASS="COMMAND" >tuner=12</B > Alps TSBE5<br> <B CLASS="COMMAND" >tuner=13</B > Alps TSBC5<br> <B CLASS="COMMAND" >tuner=14</B > Temic PAL_BG (4006FH5)<br> <B CLASS="COMMAND" >tuner=15</B > Alps TSCH6<br> <B CLASS="COMMAND" >tuner=16</B > Temic PAL_DK (4016 FY5)<br> <B CLASS="COMMAND" >tuner=17</B > Philips NTSC_M (MK2)<br> <B CLASS="COMMAND" >tuner=18</B > Temic PAL_I (4066 FY5)<br> <B CLASS="COMMAND" >tuner=19</B > Temic PAL* auto (4006 FN5)<br> <B CLASS="COMMAND" >tuner=20</B > Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)<br> <B CLASS="COMMAND" >tuner=21</B > Temic NTSC (4039 FR5)<br> <B CLASS="COMMAND" >tuner=22</B > Temic PAL/SECAM multi (4046 FM5)<br> <B CLASS="COMMAND" >tuner=23</B > Philips PAL_DK (FI1256 and compatibles)<br> <B CLASS="COMMAND" >tuner=24</B > Philips PAL/SECAM multi (FQ1216ME)<br> <B CLASS="COMMAND" >tuner=25</B > LG PAL_I+FM (TAPC-I001D)<br> <B CLASS="COMMAND" >tuner=26</B > LG PAL_I (TAPC-I701D)<br> <B CLASS="COMMAND" >tuner=27</B > LG NTSC+FM (TPI8NSR01F)<br> <B CLASS="COMMAND" >tuner=28</B > LG PAL_BG+FM (TPI8PSB01D)<br> <B CLASS="COMMAND" >tuner=29</B > LG PAL_BG (TPI8PSB11D)<br> <B CLASS="COMMAND" >tuner=30</B > Temic PAL* auto + FM (4009 FN5)<br> <B CLASS="COMMAND" >tuner=31</B > SHARP NTSC_JP (2U5JF5540)<br> <B CLASS="COMMAND" >tuner=32</B > Samsung PAL TCPM9091PD27<br> <B CLASS="COMMAND" >tuner=33</B > MT20xx universal<br> <B CLASS="COMMAND" >tuner=34</B > Temic PAL_BG (4106 FH5)<br> <B CLASS="COMMAND" >tuner=35</B > Temic PAL_DK/SECAM_L (4012 FY5)<br> <B CLASS="COMMAND" >tuner=36</B > Temic NTSC (4136 FY5)<br> <B CLASS="COMMAND" >tuner=37</B > LG PAL (newer TAPC series)<br> <B CLASS="COMMAND" >tuner=38</B > Philips PAL/SECAM multi (FM1216ME MK3)<br> <B CLASS="COMMAND" >tuner=39</B > LG NTSC (newer TAPC series)<br> <B CLASS="COMMAND" >tuner=40</B > HITACHI V7-J180AT<br> <B CLASS="COMMAND" >tuner=41</B > Philips PAL_MK (FI1216 MK)<br> <B CLASS="COMMAND" >tuner=42</B > Philips 1236D ATSC/NTSC <br> <B CLASS="COMMAND" >tuner=43</B > Philips NTSC MK3 (FM1236MK3 or FM1236/F)<br> <B CLASS="COMMAND" >tuner=44</B > Philips 4 in 1 (ATI TV Wonder Pro/Conexant)<br> <B CLASS="COMMAND" >tuner=45</B > Microtune 4049 FM5</P > </P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="SND" ></A >4.3. Other Modules</H2 ><P >Don't forget to load any other modules you may need, including <B CLASS="COMMAND" >btaudio</B > if you plan on recording or capturing audio to another application.</P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AUTO" ></A >4.4. Automating the Module Loading Process</H2 ><P >After you know which modules and options you need, you can automate the process by putting the information into <TT CLASS="FILENAME" >/etc/conf.modules</TT > or <TT CLASS="FILENAME" >/etc/modules.conf</TT >, depending on your distribution. Then, running an application which needs the driver will cause it to be loaded automatically with the appropriate options. The following is an example entry: <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" > # TV alias char-major-81 bttv pre-install bttv modprobe -k tuner; modprobe -k msp3400 options bttv radio=1 card=3 options tuner type=2</PRE ></FONT ></TD ></TR ></TABLE ></P ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="hw.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="apps.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Enabling Support for Your Bt8x8 Hardware in Linux</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Television Applications</TD ></TR ></TABLE ></DIV ></BODY ></HTML >