Commit 12e66f65 authored by Ville Skytt\ä's avatar Ville Skytt\ä Committed by Mauro Carvalho Chehab

V4L/DVB (3242): make the firmware dir docs consistent in the v4l-dvb tree.


- make the firmware dir documentation and comments consistent in the v4l-dvb tree.
Signed-off-by: default avatarVille Skyttä <ville.skytta@iki.fi>
Signed-off-by: default avatarMichael Krufky <mkrufky@m1k.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
parent 90200d2b
...@@ -150,7 +150,8 @@ Getting the card going ...@@ -150,7 +150,8 @@ Getting the card going
The frontend module sp887x.o, requires an external firmware. The frontend module sp887x.o, requires an external firmware.
Please use the command "get_dvb_firmware sp887x" to download Please use the command "get_dvb_firmware sp887x" to download
it. Then copy it to /usr/lib/hotplug/firmware. it. Then copy it to /usr/lib/hotplug/firmware or /lib/firmware/
(depending on configuration of firmware hotplug).
Receiving DVB-T in Australia Receiving DVB-T in Australia
......
...@@ -34,7 +34,11 @@ for ($i=0; $i < scalar(@components); $i++) { ...@@ -34,7 +34,11 @@ for ($i=0; $i < scalar(@components); $i++) {
if ($cid eq $components[$i]) { if ($cid eq $components[$i]) {
$outfile = eval($cid); $outfile = eval($cid);
die $@ if $@; die $@ if $@;
print STDERR "Firmware $outfile extracted successfully. Now copy it to either /lib/firmware or /usr/lib/hotplug/firmware/ (depending on your hotplug version).\n"; print STDERR <<EOF;
Firmware $outfile extracted successfully.
Now copy it to either /usr/lib/hotplug/firmware or /lib/firmware
(depending on configuration of firmware hotplug).
EOF
exit(0); exit(0);
} }
} }
......
...@@ -41,4 +41,5 @@ Hotplug Firmware Loading for 2.6 kernels ...@@ -41,4 +41,5 @@ Hotplug Firmware Loading for 2.6 kernels
For 2.6 kernels the firmware is loaded at the point that the driver module is For 2.6 kernels the firmware is loaded at the point that the driver module is
loaded. See linux/Documentation/dvb/firmware.txt for more information. loaded. See linux/Documentation/dvb/firmware.txt for more information.
Copy the three files downloaded above into the /usr/lib/hotplug/firmware directory. Copy the three files downloaded above into the /usr/lib/hotplug/firmware or
/lib/firmware directory (depending on configuration of firmware hotplug).
...@@ -64,7 +64,8 @@ config DVB_SP8870 ...@@ -64,7 +64,8 @@ config DVB_SP8870
This driver needs external firmware. Please use the command This driver needs external firmware. Please use the command
"<kerneldir>/Documentation/dvb/get_dvb_firmware sp8870" to "<kerneldir>/Documentation/dvb/get_dvb_firmware sp8870" to
download/extract it, and then copy it to /usr/lib/hotplug/firmware. download/extract it, and then copy it to /usr/lib/hotplug/firmware
or /lib/firmware (depending on configuration of firmware hotplug).
config DVB_SP887X config DVB_SP887X
tristate "Spase sp887x based" tristate "Spase sp887x based"
...@@ -75,7 +76,8 @@ config DVB_SP887X ...@@ -75,7 +76,8 @@ config DVB_SP887X
This driver needs external firmware. Please use the command This driver needs external firmware. Please use the command
"<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to "<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to
download/extract it, and then copy it to /usr/lib/hotplug/firmware. download/extract it, and then copy it to /usr/lib/hotplug/firmware
or /lib/firmware (depending on configuration of firmware hotplug).
config DVB_CX22700 config DVB_CX22700
tristate "Conexant CX22700 based" tristate "Conexant CX22700 based"
...@@ -105,7 +107,8 @@ config DVB_TDA1004X ...@@ -105,7 +107,8 @@ config DVB_TDA1004X
This driver needs external firmware. Please use the commands This driver needs external firmware. Please use the commands
"<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045", "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045",
"<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to
download/extract them, and then copy them to /usr/lib/hotplug/firmware. download/extract them, and then copy them to /usr/lib/hotplug/firmware
or /lib/firmware (depending on configuration of firmware hotplug).
config DVB_NXT6000 config DVB_NXT6000
tristate "NxtWave Communications NXT6000 based" tristate "NxtWave Communications NXT6000 based"
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
/* /*
* This driver needs external firmware. Please use the command * This driver needs external firmware. Please use the command
* "<kerneldir>/Documentation/dvb/get_dvb_firmware nxt2002" to * "<kerneldir>/Documentation/dvb/get_dvb_firmware nxt2002" to
* download/extract it, and then copy it to /usr/lib/hotplug/firmware. * download/extract it, and then copy it to /usr/lib/hotplug/firmware
* or /lib/firmware (depending on configuration of firmware hotplug).
*/ */
#define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw" #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw"
#define CRC_CCIT_MASK 0x1021 #define CRC_CCIT_MASK 0x1021
......
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
/* /*
* This driver needs external firmware. Please use the command * This driver needs external firmware. Please use the command
* "<kerneldir>/Documentation/dvb/get_dvb_firmware or51211" to * "<kerneldir>/Documentation/dvb/get_dvb_firmware or51211" to
* download/extract it, and then copy it to /usr/lib/hotplug/firmware. * download/extract it, and then copy it to /usr/lib/hotplug/firmware
* or /lib/firmware (depending on configuration of firmware hotplug).
*/ */
#define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw" #define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw"
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
/* /*
* This driver needs external firmware. Please use the command * This driver needs external firmware. Please use the command
* "<kerneldir>/Documentation/dvb/get_dvb_firmware alps_tdlb7" to * "<kerneldir>/Documentation/dvb/get_dvb_firmware alps_tdlb7" to
* download/extract it, and then copy it to /usr/lib/hotplug/firmware. * download/extract it, and then copy it to /usr/lib/hotplug/firmware
* or /lib/firmware (depending on configuration of firmware hotplug).
*/ */
#define SP8870_DEFAULT_FIRMWARE "dvb-fe-sp8870.fw" #define SP8870_DEFAULT_FIRMWARE "dvb-fe-sp8870.fw"
......
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
/* /*
* This driver needs external firmware. Please use the command * This driver needs external firmware. Please use the command
* "<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to * "<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to
* download/extract it, and then copy it to /usr/lib/hotplug/firmware. * download/extract it, and then copy it to /usr/lib/hotplug/firmware
* or /lib/firmware (depending on configuration of firmware hotplug).
*/ */
#define SP887X_DEFAULT_FIRMWARE "dvb-fe-sp887x.fw" #define SP887X_DEFAULT_FIRMWARE "dvb-fe-sp887x.fw"
......
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
* This driver needs external firmware. Please use the commands * This driver needs external firmware. Please use the commands
* "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045", * "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045",
* "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to * "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to
* download/extract them, and then copy them to /usr/lib/hotplug/firmware. * download/extract them, and then copy them to /usr/lib/hotplug/firmware
* or /lib/firmware (depending on configuration of firmware hotplug).
*/ */
#define TDA10045_DEFAULT_FIRMWARE "dvb-fe-tda10045.fw" #define TDA10045_DEFAULT_FIRMWARE "dvb-fe-tda10045.fw"
#define TDA10046_DEFAULT_FIRMWARE "dvb-fe-tda10046.fw" #define TDA10046_DEFAULT_FIRMWARE "dvb-fe-tda10046.fw"
......
...@@ -20,7 +20,8 @@ config DVB_AV7110 ...@@ -20,7 +20,8 @@ config DVB_AV7110
This driver needs an external firmware. Please use the script This driver needs an external firmware. Please use the script
"<kerneldir>/Documentation/dvb/get_dvb_firmware av7110" to "<kerneldir>/Documentation/dvb/get_dvb_firmware av7110" to
download/extract it, and then copy it to /usr/lib/hotplug/firmware. download/extract it, and then copy it to /usr/lib/hotplug/firmware
or /lib/firmware (depending on configuration of firmware hotplug).
Say Y if you own such a card and want to use it. Say Y if you own such a card and want to use it.
......
...@@ -1494,9 +1494,9 @@ static int get_firmware(struct av7110* av7110) ...@@ -1494,9 +1494,9 @@ static int get_firmware(struct av7110* av7110)
if (ret == -ENOENT) { if (ret == -ENOENT) {
printk(KERN_ERR "dvb-ttpci: could not load firmware," printk(KERN_ERR "dvb-ttpci: could not load firmware,"
" file not found: dvb-ttpci-01.fw\n"); " file not found: dvb-ttpci-01.fw\n");
printk(KERN_ERR "dvb-ttpci: usually this should be in" printk(KERN_ERR "dvb-ttpci: usually this should be in "
" /usr/lib/hotplug/firmware\n"); "/usr/lib/hotplug/firmware or /lib/firmware\n");
printk(KERN_ERR "dvb-ttpci: and can be downloaded here" printk(KERN_ERR "dvb-ttpci: and can be downloaded from"
" http://www.linuxtv.org/download/dvb/firmware/\n"); " http://www.linuxtv.org/download/dvb/firmware/\n");
} else } else
printk(KERN_ERR "dvb-ttpci: cannot request firmware" printk(KERN_ERR "dvb-ttpci: cannot request firmware"
......
...@@ -16,6 +16,7 @@ config DVB_TTUSB_DEC ...@@ -16,6 +16,7 @@ config DVB_TTUSB_DEC
"<kerneldir>/Documentation/dvb/get_dvb_firmware dec2000t", "<kerneldir>/Documentation/dvb/get_dvb_firmware dec2000t",
"<kerneldir>/Documentation/dvb/get_dvb_firmware dec2540t", "<kerneldir>/Documentation/dvb/get_dvb_firmware dec2540t",
"<kerneldir>/Documentation/dvb/get_dvb_firmware dec3000s", "<kerneldir>/Documentation/dvb/get_dvb_firmware dec3000s",
download/extract them, and then copy them to /usr/lib/hotplug/firmware. download/extract them, and then copy them to /usr/lib/hotplug/firmware
or /lib/firmware (depending on configuration of firmware hotplug).
Say Y if you own such a device and want to use it. Say Y if you own such a device and want to use it.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment