Comment 25 for bug 1433906

Revision history for this message
Ralf Lübben (ralfluebben) wrote :

Hi,

a few command lines that install the patch, the patch mentioned above is attached as file

# download patches to ~/Software/CameraPatch/
# mkdir ~/debian/src

cd ~/debian/src

#get the source
apt-get source linux-image-$(uname -r)
cd linux-4.2.0
cp ~/Software/CameraPatch/*.patch ./

# aplly the patch
patch -p1 < uvc.patch

cd drivers/media/usb/uvc/

# compile the module
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules

# install the module
sudo make -C /lib/modules/$(uname -r)/build M=$(pwd) modules_install

# depmod from modules_install fails, redo it
sudo depmod

#unload/load module, the camera should work
sudo rmmod uvcvideo
sudo modprobe uvcvideo