0ea6e61122
Below you will find an updated version from the original series bunching all patches into one big patch updating broken web addresses that are located in Documentation/* Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult, the best way to deal with these is to use web.archive.org to locate these addresses that are outdated. Now there are also some addresses pointing to .spec files some are located, but some(after searching on the companies site)where still no where to be found. In this case I just changed the address to the company site this way the users can contact the company and they can locate them for the users. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Thomas Weber <weber@corscience.de> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Cc: Paulo Marques <pmarques@grupopie.com> Cc: Randy Dunlap <rdunlap@xenotime.net> Cc: Michael Neuling <mikey@neuling.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
29 lines
530 B
Bash
29 lines
530 B
Bash
#!/bin/bash
|
|
|
|
function makedev () {
|
|
|
|
for dev in 0 1 2 3; do
|
|
echo "/dev/$1$dev: char 81 $[ $2 + $dev ]"
|
|
rm -f /dev/$1$dev
|
|
mknod /dev/$1$dev c 81 $[ $2 + $dev ]
|
|
chmod 666 /dev/$1$dev
|
|
done
|
|
|
|
# symlink for default device
|
|
rm -f /dev/$1
|
|
ln -s /dev/${1}0 /dev/$1
|
|
}
|
|
|
|
# see http://linux.bytesex.org/v4l2/API.html
|
|
|
|
echo "*** new device names ***"
|
|
makedev video 0
|
|
makedev radio 64
|
|
makedev vtx 192
|
|
makedev vbi 224
|
|
|
|
#echo "*** old device names (for compatibility only) ***"
|
|
#makedev bttv 0
|
|
#makedev bttv-fm 64
|
|
#makedev bttv-vbi 224
|