Re: TV Card


Subject: Re: TV Card
From: Adam Elkins (i-robot@gci.net)
Date: Sat Jul 06 2002 - 21:46:59 AKDT


bryan@ak.net wrote:

>On Sat, Jul 06, 2002 at 07:11:20PM -0800, Adam Elkins <i-robot@gci.net> wrote:
>
>
>>I picked up an Intel Smart Video Recorder III, I have the Modules loaded
>>for it (bttv) and all that seems in order. However, I don't have a
>>/dev/video0. I get an error saying there is no /dev/video in /etc/fstab
>>or /etc/mtab....is it as simple as commenting /dev/video in those
>>places? Is there anything further I need to do? I looked online....I can
>>never find the answers I need, all those doc's 'beat around the bush'
>>
>>
>
>Agreed -- I remember how hard it was to find the right documentation
>when I was setting up my video capture card.
>
>On my system, /dev/video is a symlink to /dev/video0, which is a
>character special device with major 81 and minor 0. If you feel
>comfortable with it, you could create it manually, but there should
>be a script lying around somewhere that would do it for you.
>
>Hey, found it... why don't I just include it for you?
>
>MAKEDEV.v4l:
>------------
>
>#!/bin/bash
>
>function makedev () {
>
> for dev in 0 1 2 3; do
> echo "/dev/$1$dev: char 81 $[ $2 + $dev ]"
> rm -f /dev/$1$dev
> mknod /dev/$1$dev c 81 $[ $2 + $dev ]
> chmod 666 /dev/$1$dev
> done
>
> # symlink for default device
> rm -f /dev/$1
> ln -s /dev/${1}0 /dev/$1
>}
>
># see http://roadrunner.swansea.uk.linux.org/v4lapi.shtml
>
>echo "*** new device names ***"
>makedev video 0
>makedev radio 64
>makedev vtx 192
>makedev vbi 224
>
>#echo "*** old device names (for compatibility only) ***"
>#makedev bttv 0
>#makedev bttv-fm 64
>#makedev bttv-vbi 224
>
>------------
>
>Knock yourself out!
>
>--
>Bryan Medsker
>bryan@ak.net
>
>
>---------
>To unsubscribe, send email to <aklug-request@aklug.org>
>with 'unsubscribe' in the message body.
>
>
>
>
Nice, script ran...Whats a good app to use? Xawtv? oh, /dev/video still
isn't in the mtab or fstab. Should it be?

Adam

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Sat Jul 06 2002 - 21:46:37 AKDT