webcam 一直呈現灰色畫面

webcam 一直呈現灰色畫面

ubuntu的webcam 一直呈現灰色畫面解決辦法 轉貼自** http://ubuntuforums.org/showthread.php?t=282748 Howto: Fix Grey Image From Webcam In Edgy**


The PWC webcam driver doesn't work anymore in Edgy. Webcams only show a grey image. Just follow this guide to install a PWC driver that does work. It shouldn't be too hard. Good luck! 1] 下載修正檔 http://www.saillard.org/linux/pwc/fi...12-rc1.tar.bz2 2] 解壓縮 3] 開啟terminal 4] 安裝符合你kernel版本的kernel-header # sudo apt-get install linux-headers-`uname -r` 5] You need build-essential to compile it. # sudo apt-get install build-essential 6] 進入sws目錄 type: # cd cwc[tab] ( represents the tab key on your keyboard, the same goes for . Do not use copy/paste.) 7] 開始編譯 type: # make 8] 確定modules路徑 type: # find /lib/modules/`uname -r`/ -name "pwc*.ko*" 9] 砍掉剛剛那個find的結果 type: # sudo rm /lib/modules/2.6.17-10-generic/kernel/drivers/media/video/pwc/pwc.ko (每台電腦目錄可能隨著版本差異而不同,請自行判斷) 10] 把重新編好的module放進去剛剛fund的結果 type: # sudo cp \~/pwc-10.0.12-rc1/pwc.ko /lib/modules/2.6.17-10-generic/kernel/drivers/media/video/pwc/pwc.ko 11] 確認module沒有衝突 type: # sudo depmod -a reboot your computer 重新開機 reboot

convert from Thomas blog post id 60 old convert log: ./150700/tag%3E2007%2003%20linux)

@2007 @03 @linux

Comments