Re: [Hampshire] another sound question

Top Page
Author: David Ramsden
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] another sound question

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x571fd100.hantslug.org.uk.28412': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Fri Mar 23 18:35:29 2007 GMT
gpg: using DSA key B15F69BD3454B217
gpg: Can't check signature: No public key
Mike Burrows wrote:
>> cannot open capture device /dev/video0
>>
>> mplayer wont play dvds i think for the same reason.
>>

[snip]
> the 2.6 kernel has these files
>
> -rw-r--r-- 1 root root 135427 Dec 5 19:24 bttv.ko
> -rw-r--r-- 1 root root 11564 Dec 5 19:24 videodev.ko
>
> in the
> marvin:/lib/modules/2.6.8-3-386/kernel/drivers/media/video#
>
> i insmoded the 2nd one i think without probs. haven't rebooted.
>
> the bttv driver returned:
>
> marvin:/lib/modules/2.6.8-3-386/kernel/drivers/media/video# insmod
> bttv.ko
> insmod: error inserting 'bttv.ko': -1 Unknown symbol in module
> marvin:/lib/modules/2.6.8-3-386/kernel/drivers/media/video#
>

[snip]

Normally this means the module that is being inserted has been compiled
for a different kernel to the one currently running.

First, what's the output of "uname -r"? It should match up to the
directory you were looking at in /lib/modules.

If it does, as root run "depmod -a" and don't use insmod anymore.
Instead use "modprobe" which is more intelligent than insmod. You don't
need to specify the extension of the module and you don't need to be in
any specific directory.

So in your case "modprobe -v bttv". The -v makes the output more verbose.

Check lsmod at each stage to see what's loaded. If in doubt, reboot to
wipe the slate clean. It may be that "alsaconf" has unloaded a module
that bttv needs.

I don't have any experience using TV cards under Linux so the only help
I can offer is very general.

Regards,
David.
-- 
 .''`.     David Ramsden
: :'  :    http://0wned.it/
`. `'`     PGP key ID: 3454B217 on wwwkeys.eu.pgp.net
  `-  Debian - Because it works (tm).