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

Re: module pwc



- Tu passes a 2.6.12 (plus besoin, c'est dans le source officiel)
- ou

  + Tu rajoutes:

deb-src http://mentors.debian.net/debian unstable

dans /etc/apt/sources.list

  + tu fais un update.
  + tu prepare le module:

cd /usr/src
apt-get -t unstable source pwc-source
cd  pwc-10.0.7
dpkg-buildpackage -uc -b
dpkg -i ../pwc-source_10.0.7-2_all.deb
cd ..
tar -zxvf /usr/src/pwc-source.tar.gz

  + Maintenant tu as pwc dans /usr/src/modules/pwc
  + tu utilise make-kpkg avec les memes options eventuelles que
ton noyau, a priori (teste!):

make-kpkg --append_to_version ppp-patch-mppe --added_modules pwc modules_image

J'espere que ca marchera, j'ai pas fais ca depuis plusieurs mois.

A+, JD.

On Thursday 04 August 2005 19:45, Debian User wrote:
DU > Bonjour,
DU > 
DU > j'ai récupere les sources d'un module: 
DU > 
DU > J'ai fait ce qui est indiqué
DU > 
DU > a) Goto http://www.saillard.org/pwc/
DU > b) Click on README - you will read (and this is true, I verified it) that you may really have a big resolution of 640x480 !
DU > c) Save/download the tar-ball pwc-10.0.6a.tar.bz2 to any directory
DU >    and enter the following commands:
DU > d) tar -jxvf pwc-10.0.6a.tar.bz2
DU > e) cd pwc-10.0.6a
DU > f) make     (ignore the two error-messages)
DU > g) cp -p /lib/modules/2.6.7-1-686/kernel/drivers/usb/media/pwc.ko /lib/modules/2.6.7-1-686/kernel/drivers/usb/media/pwc.ko_orig
DU > h) cp -p pwc.ko /lib/modules/2.6.7-1-686/kernel/drivers/usb/media/pwc.ko
DU >    !! Should the command 'uname -r' on your system not result in '2.6.7-1-686',
DU >       then you should use your own output of the command 'uname -r' instead
DU >       of '2.6.7-1-686' in the two commands above !!
DU > i) depmod -a
DU > j) rmmod pwc
DU > k) modprobe pwc
DU > 
DU > Mais modprobe me donne:
DU > FATAL: Error inserting pwc (/lib/modules/2.6.8ppp-patch-mppe/kernel/drivers/usb/media/pwc.ko): Invalid module format
DU > 
DU > Je suis allé voir: dmesg
DU > pwc: version magic '2.6.8.dell050702 preempt PENTIUMIII gcc-3.3' should be '2.6.8ppp-patch-mppe preempt K7 4KSTACKS gcc-3.3'
DU > 
DU > '2.6.8ppp-patch-mppe preempt K7 4KSTACKS gcc-3.3' correspond bien à la version de mon kernel et K7 à mon AThlon 
DU > 
DU > Qu'est ce que je dois faire?
DU > 
DU > Merci
DU > 
DU > 
DU > 
DU > 
DU > 
DU > 
DU > 
DU > 
DU > 
DU > 

-- 
Jean-Damien Durand CERN/IT/FIO/DS - Geneva, Switzerland
PGP: http://home.cern.ch/~jdurand/public_key.asc
CERN CA: http://cern.ch/service-grid-ca/crt/root_crt.html
WWW: http://home.cern.ch/~jdurand

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: