TV on Linux

A number of cards exist allowing you to watch and record TV on your PC. Most come with software for
Windows only, like so many things, but it is possible to do the same thing on Linux.
Linux comes with several drivers which make up the Video4Linux drivers. Several cards are supported by
these drivers, and a list of them is available at http://roadrunner.swansea.linux.org.uk/v4l.shtml. This is the
driver side. You also need software to use the devices.
Several programs are available to watch TV, capture images and even Web applications. A list of some of the
programs is available at http://www.thp.uni-koeln.de/~rjkm/linux/bttv.html including datasheets.
Read more

Can’t mount root fs

When you boot a system, this is an error that will halt the system. This error means that the kernel can’t
mount the root file system, so it can’t get all of its configuration files.
There are a few cases where this happens:
·  No IDE support in the kernel. If your main hard drive is an IDE, and you have recompiled
without including “Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support” or some other
basic IDE device drivers.
·  File system not supported. Usually the root file system should be of type ext2. You need to
make sure that ext2 is compiled in the kernel, and not as a module because you can’t load
modules without first mounting the root file system.
·  The drive is not ready. If you have removed the drive, the hard disk died or the BIOS didn’t
detect the device for some reason, then the kernel won’t be able to mount it.
Read more

Added processors

Dual processors are becoming more and more popular in computers. Of course, you won’t be able to see much performance increase in Linux unless you…

Makefile don’t equal C

Makefiles are used in most Unix C or even C++ programs. But nowhere does it say that they can’t be used for other languages. Make…

Code reuse

Why write code that we already wrote for previous programs? Well here is a small tip that might save you some time: Make a generic…