29 diciembre 2007

Hauppauge HVR900 en slackware 12

Descargamos el paquete mercurial:

http://packages.slackware.it/package.php?q=current/mercurial-0.9.4-i486-1

Despues descargamos el firmware para esta tarjeta

%cd /lib/firmware
%wget http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz
%sudo tar xvzf firmware_v3.tgz


Despues vamos a necesitar el modulo dvb

hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental

Para instalarlo:

%make && make install

Despues creamos este archivo en /etc/modprobe.d

%pico /etc/modprobe.d/hvr900


# Hauppage WinTV HVR 900 hybrid TV stick

# modo TDT
options em28xx device_mode=1

#Otra opcion sería
##install em28xx /sbin/modprobe --ignore-install em28xx; /bin/sleep 2; /sbin/modprobe em2880-dvb

# Dependencia de módulos
alias hvr900 em2880_dvb


Despues pinchamos el usb tv y hacemos un dmesg

si va todo bien vereis algo asi:

Linux video capture interface: v2.00
em28xx v4l2 driver version 0.0.1 loaded
em28xx new video device (2040:6502): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx: you're using the experimental/unstable tree from mcentral.de
em28xx: there's also a stable tree available but which is limited to
em28xx: linux <=2.6.19.2 em28xx: it's fine to use this driver but keep in mind that it will move em28xx: to http://mcentral.de/hg/~mrec/v4l-dvb-kernel as soon as it's em28xx: proved to be stable em28xx #0: Alternate settings: 8 em28xx #0: Alternate setting 0, max size= 0 em28xx #0: Alternate setting 1, max size= 0 em28xx #0: Alternate setting 2, max size= 1448 em28xx #0: Alternate setting 3, max size= 2048 em28xx #0: Alternate setting 4, max size= 2304 em28xx #0: Alternate setting 5, max size= 2580 em28xx #0: Alternate setting 6, max size= 2892 em28xx #0: Alternate setting 7, max size= 3072 attach_inform: eeprom detected. em28xx #0: i2c eeprom 00: 1a eb 67 95 40 20 02 65 d0 12 5c 03 82 1e 6a 18 em28xx #0: i2c eeprom 10: 00 00 24 57 66 07 01 00 00 00 00 00 00 00 00 00 em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b e0 00 00 em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 01 01 00 00 00 00 em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 18 03 34 00 30 00 em28xx #0: i2c eeprom 70: 32 00 38 00 35 00 33 00 38 00 31 00 36 00 34 00 em28xx #0: i2c eeprom 80: 00 00 1e 03 57 00 69 00 6e 00 54 00 56 00 20 00 em28xx #0: i2c eeprom 90: 48 00 56 00 52 00 2d 00 39 00 30 00 30 00 00 00 em28xx #0: i2c eeprom a0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 28 89 em28xx #0: i2c eeprom b0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 34 9d em28xx #0: i2c eeprom c0: 1e f0 74 02 01 00 01 79 5b 00 00 00 00 00 00 00 em28xx #0: i2c eeprom d0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 28 89 em28xx #0: i2c eeprom e0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 34 9d em28xx #0: i2c eeprom f0: 1e f0 74 02 01 00 01 79 5b 00 00 00 00 00 00 00 EEPROM ID= 0x9567eb1a Vendor/Product ID= 2040:6502 AC97 audio (5 sample rates) 500mA max power Table at 0x24, strings=0x1e82, 0x186a, 0x0000 tveeprom 4-0050: Hauppauge model 65018, rev B2C0, serial# 2006324 tveeprom 4-0050: tuner model is Xceive XC3028 (idx 120, type 71) tveeprom 4-0050: TV standards PAL(B/G) PAL(I) PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xd4) tveeprom 4-0050: audio processor is None (idx 0) tveeprom 4-0050: has radio setting new tuner type now 71! tuner 4-0061: chip found @ 0xc2 (em28xx #0) attach inform (default): detected I2C address c2 /root/v4l-dvb-experimental/v4l/tuner-core.c: setting tuner callback tuner 0x61: Configuration acknowledged /root/v4l-dvb-experimental/v4l/tuner-core.c: setting tuner callback /root/v4l-dvb-experimental/v4l/xc3028-tuner.c: attach request! /root/v4l-dvb-experimental/v4l/tuner-core.c: xc3028 tuner successfully loaded attach_inform: tvp5150 detected. tvp5150 4-005c: tvp5150am1 detected. Loading base firmware: xc3028_init0.i2c.fw Loading default analogue TV settings: xc3028_BG_PAL_A2_A.i2c.fw xc3028-tuner.c: firmware 2.7 ANALOG TV REQUEST em28xx #0: V4L2 VBI device registered as /dev/vbi0 em28xx #0: V4L2 device registered as /dev/video0 em28xx #0: Found Hauppauge WinTV HVR Rev. 1.2 usbcore: registered new interface driver em28xx em28xx-audio.c: probing for em28x1 non standard usbaudio em28xx-audio.c: Copyright (C) 2006 Markus Rechberger Em28xx: Initialized (Em28xx Audio Extension) extension usb 3-1: new low speed USB device using uhci_hcd and address 2 usb 3-1: configuration #1 chosen from 1 choice input: USB Mouse as /class/input/input7 input: USB HID v1.10 Mouse [USB Mouse ] on usb-0000:00:1a.0-1


Si teneis problemas con el sonido probad con este scripts:

#!/bin/sh
/usr/bin/tvtime &
/bin/sleep 3
#/usr/bin/sox -r 48000 -w -c 2 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp
/usr/bin/sox -r 11000 -w -c 2 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp
#/usr/bin/sox -r 22000 -w -c 2 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp


Información sacada de:

Manual ubuntu
http://caligari.treboada.net/ubuntu_tdt

Página del producto:
http://www.hauppauge.co.uk/pages/products/data_hvr900.html

Driver Em2880 en V4Lwiki:
http://www.linuxtv.org/v4lwiki/index.php/Em2880

FAQ sobre Em2880:
http://linuxtv.org/v4lwiki/index.php/Talk:Em2880

Información en inglés:
http://lunapark6.com/usb-hdtv-tuner-stick-for-windows-linux-hauppauge-wintv-hvr-950.html

No hay comentarios: