Problems to install v4l2 driver (meteor or the videodevX driver) on redhat 7.1 (kernel 2.4.2-2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Please, I would be glad if someone could help me or give me some suggestion
to solve my problem.

I've tried to install the matrox meteor driver available on the k-team web
page but I couldn't run the apps after finishing the install. I did the
following to install:

1- the kernel source provided with the RH 7.1 was compiled letting the
"video for linux" option set as module (make mrproper; make xconfig; make
dep; make clean; make bzImage; make modules; make modules_install). I've
changed the version name to 2.4.2-teste to not overwrite the original files;

2- the /etc/lilo.conf was altered and a line append="mem=200M" was inserted
(I have a Pentium 4 with 256Mb RAM)

3- the meteor driver was extracted in the /root

4- In the /root/meteor_v4l2 directory I executed make clean; make

5- when making I had only this warning:









gcc -D__KERNEL__ -DCPU=686 -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -O3 -Wall 
-Wstrict-







prototypes -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loo
ps=2 -malign-jumps=2 -malign-














         functions=2 -Iinclude -I/usr/src/linux-2.4.2-teste/include -include
/usr/src/linux-2.4.2-teste/include/linux/modversions.h -o
drivers/char/videodevX.o -c drivers/char/videodevX.c
        drivers/char/videodevX.c: In function `videodev_proc_read':
        drivers/char/videodevX.c:1135: warning: `d' might be used
uninitialized in this function

        (the apps were also re-compiled with no errors)

6- After that I executed the make install, which did:

        /bin/mknod /dev/video4 c 81 4
        test -c /dev/video4 || /bin/mknod /dev/video4 c 81 4
        /bin/mknod /dev/video5 c 81 5
        test -c /dev/video5 || /bin/mknod /dev/video5 c 81 5
        insmod drivers/char/videodevX.o
        insmod drivers/char/v4l_compat.o
        insmod drivers/char/meteor_v4l2.o

7- Then I tried to execute the vcat application, but it exited with the
following error:

        # ./vcat /dev/video0 >teste
        S_FMT returned error 22

I've observed that the install procedure for the meteor driver is a little
bit different from the videodevX driver (kernel 2.4) and the videodev driver
(kernel 2.2). During the install procedure of the meteor driver, the files
videodevX.o and v4l_compat.o were not copied to the
/lib/modules/linux/kernel/drivers/media/video directory. The videodev.h were
not copied to the /usr/src/linux/include/linux/ directory and the commands
insmod are executed instead of depmod.
I don't know much of modules in linux and I would like to know why there are
those differences on the install procedures of the drivers. What should I do
to appropriately install and load the drivers?

Thank you very much.

Valdir





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux