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

Re: AverMedia TVcapture 98 y /dev/video



Hola!

On Sat, Jun 26, 1999 at 07:36:48PM +0200, Agustin MuNoz wrote:
> Pues eso que el kernel me la detecta al arrancar:
> 
> bttv0: Brooktree Bt878 (rev 2) bus: 0, devfn: 112, irq: 15, memory: 0xf4008000.
> bttv: 1 Bt8xx card(s) found.
> bttv0: NO fader chip: TEA6300
> bttv0: model: BT878(AVerMedia TVCapture 98)
> 
> pero cuando intento ver la tele con el xawtv me dice esto:
> 
> zeppelin:~$ xawtv
> This is xawtv-/home/adam/x/xawtv, running on Linux/i686 (2.2.10)
> can't open /dev/video: No existe el fichero o el directorio
> 
> ¿ Cómo se crea el /dev/video ? 
> 

Yo tengo una Hauppauge WinTV que usa el mismo chip BT878.

Para que me funcionara bien, tuve que bajar los drivers de BTTV mas nuevos,
creo que estan en:

http://roadrunner.swansea.uk.linux.org/v4lapi.shtml

Compile los modulos necesarios, y los instale, pero aun tenia el problema
de que no encontraba /dev/video. Para corregir esto, ejecute el MAKEDEV que
esta en bttv/driver.

Lo adjunto con este correo, espero que te sirva. Es muy pequeno (Solo 539B),
espero que no sea un problema.

Saludos,

Alexis Maldonado
#!/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

Reply to: