I am confused.  I am running Debian testing ("Lenny"), and, if
possible, I would like to install the linux-uvc drivers in accordance
with Debian protocol.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I used aptitude to install the Debian package linux-uvc-source.  The
installation provided the file /usr/src/linux-uvc.tar.bz2 , which is
expanded with bunzip2 and tar, providing the following files:

    /usr/src/modules/linux-uvc/debian/rules
    /usr/src/modules/linux-uvc/debian/control.modules.in
    /usr/src/modules/linux-uvc/debian/control
    /usr/src/modules/linux-uvc/debian/compat

    /usr/src/modules/linux-uvc/debian/copyright
    /usr/src/modules/linux-uvc/debian/changelog
    /usr/src/modules/linux-uvc/debian/README.Debian

    /usr/src/modules/linux-uvc/Makefile

    /usr/src/modules/linux-uvc/uvcvideo.h

    /usr/src/modules/linux-uvc/uvc_video.c
    /usr/src/modules/linux-uvc/uvc_driver.c
    /usr/src/modules/linux-uvc/uvc_queue.c
    /usr/src/modules/linux-uvc/uvc_ctrl.c
    /usr/src/modules/linux-uvc/uvc_v4l2.c
    /usr/src/modules/linux-uvc/uvc_compat.h

    /usr/src/modules/linux-uvc/extract.c
    /usr/src/modules/linux-uvc/.uvcvideo.o.d

    /usr/src/modules/linux-uvc/macbook-insight-firmware-loader.8

It appears to me that, once I discover the proper Debian approach to
installation of linux-uvc, I can update the drivers simply by copying
into /usr/src/modules/linux-uvc/ the latest source files obtained via:

    # svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk linux-uvc

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

>From the OpenFacts documents "Linux UVC" and "HowTo compile for Ubuntu
6.06 LTS", it appears that the first thing to do is to compile the
modules:

    # make

    # make install

-----------------------------------

Second, the module uvcvideo.ko is to be removed from /lib/modules/ ,
so that the module is not loaded automatically.  (This may be a
problem with Debian, because /lib/modules/ has several subdirectories,
and the structure of /lib/modules/ is not immediately apparent to me.)

-----------------------------------

Third, /etc/modprobe.conf.local is to be edited to add the line:

    install uvcvideo /sbin/modprobe snd_usb_audio; 
    /sbin/modprobe --ignore-install uvcvideo

However, I find in Debian no file /etc/modprobe.conf.local .

-----------------------------------

Fourth, the commands:

    # modprobe -r uvcvideo

    # modprobe -r snd_usb_audio

are to be used after unplugging the camera, in the event that the
camera needs to be restarted.

-----------------------------------

Adding to my confusion is the instruction given in the file
/usr/src/modules/linux-uvc/debian/README.Debian , which states that
the module-assistant tool should be used to install linux-uvc, using
the commands:

    # module-assistant prepare

    # module-assistant auto-install linux-uvc

-----------------------------------

Would someone on the list who is knowledgeable concerning Debian
kindly help me sort out this matter?

RLH
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to