Ok, I've tried your script, it works on Edgy, only problem is on m-a a-i pwc , I get an error message "foudndh_testdir: Command not found"
To correct this, I had to install dh-make...
So here the corrected scripts :
-- BEGIN --
apt-get install module-assistant dh-make
m-a prepare
m-a a-i pwc
cp /lib/modules/2.6.17-10-386/updates/pwc.ko /lib/modules/2.6.17-10-386/kernel/drivers/media/video/pwc
rmmod pwc
modprobe pwc
-- END --
Ok, I've tried your script, it works on Edgy, only problem is on m-a a-i pwc , I get an error message "foudndh_testdir: Command not found"
To correct this, I had to install dh-make...
So here the corrected scripts : 2.6.17- 10-386/ updates/ pwc.ko /lib/modules/ 2.6.17- 10-386/ kernel/ drivers/ media/video/ pwc
-- BEGIN --
apt-get install module-assistant dh-make
m-a prepare
m-a a-i pwc
cp /lib/modules/
rmmod pwc
modprobe pwc
-- END --