Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95323 Details for
Bug 143456
New Gentoo VDR Guide
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vdr.diff
vdr.diff (text/plain), 11.06 KB, created by
Dimitry Bradt (RETIRED)
on 2006-08-28 14:50:11 UTC
(
hide
)
Description:
vdr.diff
Filename:
MIME Type:
Creator:
Dimitry Bradt (RETIRED)
Created:
2006-08-28 14:50:11 UTC
Size:
11.06 KB
patch
obsolete
>--- vdr.xml.orig 2006-08-28 19:53:27.000000000 +0200 >+++ vdr.xml 2006-08-28 23:48:35.000000000 +0200 >@@ -1,16 +1,20 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!-- $Header:$ --> > <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> >-<!-- $Header$ --> > > <guide link="/doc/en/vdr.xml"> > <title>Gentoo Linux VDR Guide</title> > > <author title="Author"> > <mail link="mail@ng-plasmon.de">Norman Golisz</mail> > </author> >+<author title="Editor"> >+ <mail link="diox@swords.be">Dimitry Bradt</mail> >+</author> >+ > > <abstract> > This guide shows you how to prepare Gentoo Linux for DVB and VDR. > </abstract> > > <!-- The content of this document is licensed under the CC-BY-SA license --> >@@ -33,13 +37,14 @@ > to transfer several channels on the same frequency. The more data compression, > the more channels can be transfered, but you pay it with quality loss. > </p> > > <p> > DVB can be transfered in several ways. The trailing letter identifies the way >-of transfer, e.g. DVB-<e>T</e> for terrestrial transmission. There are some more: >+of transfer, e.g. DVB-<e>T</e> for terrestrial transmission. There are some >+more: > </p> > > <ul> > <li>DVB-S for transmission over satelites</li> > <li>DVB-C for transmission over cable</li> > <li>DVB-H for transmission to mobile devices (terrestrial)</li> >@@ -55,22 +60,22 @@ > > <section> > <title>Types and requirement of DVB cards</title> > <body> > > <p> >-Beside the different methods to receive the DVB stream, the cards are classified >-by their type of produced output. They're cards with a decoder implemented, which >-offer direct access to the stream by the device <path>/dev/video</path>. These >-cards are called <e>Full featured cards</e>. Other cards havn't an own decoder >-implemented and require a software decoder on the computer and are called >-<e>Budget cards</e>. That implies a higher system requirement; you shouldn't use >-a computer based on a CPU with lower than 600 MHz and a memory amount lower than >-256 MB. <uri link="http://linuxtv.org/wiki/index.php/DVB_Card_Vendors">This list >-</uri> is useful to identify your >-card. >+Beside the different methods to receive the DVB stream, the cards are >+classified by their type of produced output. They are cards with a decoder >+implemented, which offer direct access to the stream by the device >+<path>/dev/video</path>. These cards are called <e>Full featured cards</e>. >+Other cards have no own decoder implemented and require a software decoder on >+the computer and are called <e>Budget cards</e>. That implies a higher system >+requirement; you shouldn't use a computer based on a CPU with lower than 600 >+MHz and a memory amount lower than 256 MB. <uri >+link="http://linuxtv.org/wiki/index.php/DVB_Card_Vendors">This list</uri> is >+useful to identify your card. > </p> > > </body> > </section> > > </chapter> >@@ -93,34 +98,34 @@ > * Event Interface > Device Drivers ---> > Multimedia Devices ---> > Digital Video Broadcasting Devices ---> > [*] DVB For Linux > * DVB Core Support >- M [Your driver] >+ M [Your driver] > </pre> > > <p> > Additionally we have to select the proper driver for your hardware. To find out > the right module for your card, we mark every driver as module. If you have a > PCI card, install <c>pciutils</c>, if you havn't already. If you want built-in > drivers or you don't own a PCI card, skip this point and continue with <uri > link="#kernel_output">Checking the kernel output</uri>. > </p> > > <pre caption="Installing pciutils"> >-# emerge pciutils >+# <i>emerge pciutils</i> > </pre> > > <p> > After booting the new kernel, we run <c>pcimodules</c> to list the required > modules. > </p> > > <pre caption="Listing the required modules"> >-# pcimodules >+# <i>pcimodules</i> > ohci-hcd > ehci-hcd > sis900 > snd-emu10k1 > b2c2-flexcop-pci > nvidia >@@ -130,13 +135,13 @@ > <p> > In this case we have to load the module <c>b2c2-flexcop-pci</c>. We add the name > to <path>/etc/modules.autoload.d/kernel-2.6</path>. > </p> > > <pre caption="Adding the module name"> >-# echo b2c2-flexcop-pci >> /etc/modules.autoload.d/kernel-2.6 >+# <i>echo b2c2-flexcop-pci >> /etc/modules.autoload.d/kernel-2.6</i> > </pre> > > </body> > </section> > > <section id="kernel_output"> >@@ -149,23 +154,23 @@ > know the module name already, select the driver as built-in driver. Compile the > kernel, install the modules and boot it. Let's check if your kernel has > successfully detected your card by using <c>dmesg</c>. > </p> > > <pre caption="Checking kernel output"> >-# dmesg | grep DVB >+# <i>dmesg | grep DVB</i> > <comment>If you own a TerraTec Cinergy T2, your output might look like this:</comment> > DVB: registering new adapter (TerraTec/qanu USB2.0 Highspeed DVB-T Receiver). > input: TerraTec/qanu USB2.0 Highspeed DVB-T Receiver remote control as /class/input/input2 > </pre> > > <p> >-<!--If you can't find a proper kernel message, you should try downloading a proper >-driver, try <uri link="#inst_firmware">installing a firmware</uri>.--> Now >-continue <uri link="#inst_lirc">installing LIRC</uri>, in case you want to use a >-remote control. >+<!--If you can't find a proper kernel message, you should try downloading a >+proper driver, try <uri link="#inst_firmware">installing a firmware</uri>.--> >+Now continue <uri link="#inst_lirc">installing LIRC</uri>, in case you want to >+use a remote control. > </p> > > </body> > </section> > > <!--<section> >@@ -191,55 +196,57 @@ > If your card offers the possibility to control remotely, you may wish to > configure LIRC. LIRC interprets the pressed keys and returns a name for each > one. A program that supports LIRC waits for key events and runs the action > configured in the config file, mostly stored in the config directory of the > executing program (e.g. MPlayer loads the file <path>~/.mplayer/lircrc</path>). > Before we install LIRC, you have to add <c>lirc</c> to the USE flags and add >-an option. >+an option. To find the proper argument for LIRC_DEVICES, <uri >+link="http://www.lirc.org/html/table.html">use this list</uri>. > </p> > > <pre caption="Installing LIRC"> >-# nano -w /etc/make.conf >-# echo "LIRC_OPTS=\"--with-driver=devinput\"" >> /etc/make.conf >-# emerge lirc >+<comment>Replace "devinput" with the proper driver</comment> >+# <i>nano -w /etc/make.conf</i> >+# <i>echo "LIRC_DEVICES=\"devinput\"" >> /etc/make.conf</i> >+# <i>emerge lirc</i> > </pre> > > <p> > At first we have to define each key code with a name. Most supported remote > controls are configured already, take a look at >-<uri>http://lirc.sourceforge.net/remotes/</uri>. Download the proper file and >-save it as <path>/etc/lircd.conf</path>. Now we have to find out where to access >-your remote control. Run the following command to get a list of the current >-input devices (make sure your device is running). >+<uri link="http://lirc.sourceforge.net/remotes/">remote list</uri>. Download >+the proper file and save it as <path>/etc/lircd.conf</path>. Now we have to >+find out where to access your remote control. Run the following command to get >+a list of the current input devices (make sure your device is running). > </p> > > <pre caption="List of current input devices"> >-# cat /proc/bus/input/devices >+# <i>cat /proc/bus/input/devices</i> > I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 > N: Name="AT Translated Set 2 keyboard" > P: Phys=isa0060/serio0/input0 > S: Sysfs=/class/input/input0 >-H: Handlers=kbd event0 >+H: Handlers=kbd event0 > B: EV=120013 > B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe > B: MSC=10 > B: LED=7 > > I: Bus=0000 Vendor=0000 Product=0000 Version=0000 > N: Name="TerraTec/qanu USB2.0 Highspeed DVB-T Receiver remote control" > P: Phys=usb-0000:00:1d.7-1/input0 > S: Sysfs=/class/input/input2 >-H: Handlers=kbd event1 >+H: Handlers=kbd event1 > B: EV=100003 > B: KEY=108fc210 2043 0 0 0 0 8000 2080 1 9e1680 0 0 ffc > > I: Bus=0011 Vendor=0002 Product=0007 Version=0000 > N: Name="SynPS/2 Synaptics TouchPad" > P: Phys=isa0060/serio4/input0 > S: Sysfs=/class/input/input3 >-H: Handlers=mouse0 event2 >+H: Handlers=mouse0 event2 > B: EV=b > B: KEY=6420 0 7000f 0 0 0 0 0 0 0 0 > B: ABS=11000003 > </pre> > > <p> >@@ -251,30 +258,30 @@ > <p> > lircd needs to know the device to use. Add the following line to > <path>/etc/conf.d/lircd</path>. > </p> > > <pre caption="Adding options to lircd"> >-# echo "LIRCD_OPTS=\"-H dev/input -d /dev/input/event1\"" >+# <i>echo "LIRCD_OPTS=\"-H devinput -d /dev/input/event1\"" >> /etc/conf.d/lirc.conf</i> > </pre> > > <p> > Remember to replace <c>event1</c> with the actual device. It's time to start > lircd. > </p> > > <pre caption="Starting lircd"> >-# /etc/init.d/lircd start >+# <i>/etc/init.d/lircd start</i> > </pre> > > <p> > To start it always while booting, we add it to the default runlevel. > </p> > > <pre caption="Adding lircd to the default runlevel"> >-# rc-update add lircd default >+# <i>rc-update add lircd default</i> > </pre> > > </body> > </section> > </chapter> > >@@ -286,64 +293,69 @@ > > <p> > To install VDR, we just emerge it. > </p> > > <pre caption="Installing VDR"> >-# emerge vdr >+# <i>emerge vdr</i> > </pre> > > <p> >-If you want to be able to use your remote control, we have to enable LIRC support >-in VDR. Add the following line to the <path>/etc/conf.d/vdr</path>. >+If you want to be able to use your remote control, we have to enable LIRC >+support in VDR. Add the following line to the <path>/etc/conf.d/vdr</path>. > </p> > > <pre caption="Enabling support for LIRC"> >-# echo "IR_CTRL=\"lirc\"" >> /etc/conf.d/vdr >+# <i>nano /etc/conf.d/vdr</i> >+IR_CTRL="lirc" > </pre> > > <p> > You can start VDR manually by starting <path>/etc/init.d/vdr</path>, or always > the system gets started. > </p> > > <pre caption="Adding vdr to the default runlevel"> >-# /etc/init.d/vdr start >-# rc-update add vdr default >+# <i>/etc/init.d/vdr start</i> >+# <i>rc-update add vdr default</i> > </pre> > > <p> > The installation has finished so far, to configure VDR, you switch to your > output screen and follow the instructions on the screen. VDR asks you to press >-various keys on your remote control to learn the correct keys codes. In case you >-havn't a remote control unit, you can optionally use the keyboard. If you have >-a budget card, we need to <uri link="#softdevice">install a softdevice</uri> now. >-This device decodes the stream and offers a device to access. >+various keys on your remote control to learn the correct keys codes. In case >+you havn't a remote control unit, you can optionally use the keyboard. If you >+only have a budget card, we need to <uri link="#softdevice">install a >+software-output-plugin</uri> now. This device decodes the stream and offers a >+device to access. > </p> > > </body> > </section> > > <section id="softdevice"> > <title>Optional: Installing the softdevice plugin</title> > <body> > >+<note> >+<c>vdr-xineliboutput</c> is also supported via ebuilds >+</note> >+ > <p> > To install a softdevice, we have to emerge <c>vdr-softdevice</c>. Don't forget > to configure the plugin. > </p> > > <pre caption="Installing the softdevice plugin"> >-# emerge vdr-softdevice >-# emerge --config vdr-softdevice >+# <i>emerge vdr-softdevice</i> >+# <i>emerge --config vdr-softdevice</i> > </pre> > > <p> > To select the proper video- and audio output, edit >-<path>/etc/conf.d/vdr.softdevice</path>. To switch to the output screen, press >-Ctrl, Alt and F8. >+<path>/etc/conf.d/vdr.softdevice</path>. > </p> > > </body> > </section> > </chapter> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 143456
:
93907
|
94020
|
95299
|
95323
|
95387
|
95713