Re: [PATCH] add udev support to mga_vid svn
Peter Magnusson <[email protected]> Mon, 7 Aug 2006 02:04:52 +0200 (CEST)
| Newsgroups | gmane.comp.video.mplayer.user.matrox |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 7 Aug 2006, Peter Magnusson wrote: > On Sat, 29 Jul 2006, Tamas, Gergely wrote: > >> Hi, >> >> This patch adds udev support to mga_vid svn [revision 243]. >> >> Put something like the following into '/etc/udev/rules.d/mga_vid.rules' >> file : >> >> KERNEL=="mga_vid", NAME="%k", MODE="0660", GROUP="video" >> >> Works fine here with 2.6.18-rc2 . > > Could you please make a already patched tar.gz version available somewhere? I > dont succed of patching mga_vid-svn-r241.tar.gz that is the latest version I > got. I dont know how to download files from svn. > > It doesnt work so well to load mga_vid-svn-r241: > > # modprobe mga_vid > FATAL: Error inserting mga_vid > (/lib/modules/2.6.17-1.2157_FC5smp/extra/mga_vid.ko): Invalid module format > Kernel says: mga_vid: disagrees about version of symbol struct_module (ok svn checkout svn://svn.mplayerhq.hu/mga_vid was really easy :)) HOWEVER, it doesnt work anyway. Probably because of my fake SMP (HT intel). I compiles nicely but it installs in /lib/modules/2.6.17-1.2157_FC5/extra and not in /lib/modules/2.6.17-1.2157_FC5smp/extra like it should. If I copy it to the correct place I get the same errors as above. I have created /etc/udev/rules.d/mga_vid.rules.