[Solucionado] Ayuda Hauppauge WinTV HVR-900 Debian 9

[Editado]

A parte del firmware drxd-a2-1.1.fw, al ejecutar el comando dmesg vi que necesitaba también el xc3028-v27.fw.

Lo copie a /lib/firmware Reinicio el ordenador y ya si encuentra canales. Desde aquí agradecer a coyote y Darumo que sin su ayuda no lo habria conseguido [beer] [beer] [beer] [beer] [beer] [beer]

******************************************************************************************************************************************

Hola, estoy intentando hacer funcionar Hauppauge WinTV HVR-900 en debian 9. He visto que en el foro hay un hilo antiguo hilo_wintv-hvr-900-en-linux_1006736 pero con la siguiente linea de código no encuentra la dirección.

$ hg clone [url]http://mcentral.de/hg/~mrec/userspace-drivers[/url]


Me fui a la pagina linuxTV para compilar los driver. Instalo todo lo que me dicen:

kernel-source or kernel-headers
(Debian and Ubuntu) libdigest-sha-perl
make
gcc
git
patch
patchutils
libproc-processtable-perl ("perl-Proc-ProcessTable")


Pero a la hora de compilar da el siguiente error: (agrego las fotos por si es mas comodo verlo)

CC [M]  /home/norber/media_build/v4l/rc-ir-raw.o
/home/norber/media_build/v4l/rc-ir-raw.c: In function 'ir_raw_event_store_edge':
/home/norber/media_build/v4l/rc-ir-raw.c:109:14: error: incompatible types when assigning to type 'u32 {aka unsigned int}' from type 'ktime_t {aka union ktime}'
  ev.duration = ktime_sub(now, dev->raw->last_event);
              ^
/home/norber/media_build/v4l/rc-ir-raw.c: In function 'edge_handle':
/home/norber/media_build/v4l/rc-ir-raw.c:477:33: error: invalid operands to binary - (have 'ktime_t {aka union ktime}' and 'ktime_t {aka union ktime}')
  ktime_t interval = ktime_get() - dev->raw->last_event;
                     ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/home/norber/media_build/v4l/rc-ir-raw.c:479:15: error: invalid operands to binary >= (have 'ktime_t {aka union ktime}' and 'u32 {aka unsigned int}')
  if (interval >= dev->timeout) {
               ^~ ~~~~~~~~~~~~
/home/norber/media_build/v4l/rc-ir-raw.c:483:15: error: incompatible types when assigning to type 'u32 {aka unsigned int}' from type 'ktime_t {aka union ktime}'
   ev.duration = interval;
               ^
/home/norber/media_build/v4l/rc-ir-raw.c:488:46: error: invalid operands to binary - (have 'u32 {aka unsigned int}' and 'ktime_t {aka union ktime}')
      jiffies + nsecs_to_jiffies(dev->timeout - interval));
                                 ~~~~~~~~~~~~ ^
/usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.build:298: fallo en las instrucciones para el objetivo '/home/norber/media_build/v4l/rc-ir-raw.o'
make[5]: *** [/home/norber/media_build/v4l/rc-ir-raw.o] Error 1
/usr/src/linux-headers-4.9.0-3-common/Makefile:1507: fallo en las instrucciones para el objetivo '_module_/home/norber/media_build/v4l'
make[4]: *** [_module_/home/norber/media_build/v4l] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.9.0-3-amd64'
Makefile:51: fallo en las instrucciones para el objetivo 'default'
make[1]: *** [default] Error 2
make[1]: se sale del directorio '/home/norber/media_build/v4l'
Makefile:26: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
build failed at ./build line 526


Sabiendo que no iba a funcionar, instalo el kaffeine y este lo reconoce pero con otro nombre:

Imagen

Pero a la hora de buscar los canales no los encuentra.

Alguna sugerencia o ayuda al respecto?

Adjuntos

Seguro que no detecta el chipset correctamente? (solo te es de interés que reconozca el chipset, la marca te viene a dar igual) creo recordar que lo único que hace falta para rular dicho DVB-T es instalar el firmware

¿Tienes el paquete firmware-linux-nonfree instalado?

Es que tomar como guía un hilo de hace casi 1 decada... no ha llovido nada desde entonces...

Por lo general el log de sistema debería cantar si lo detecta y si falta algo cuando pinchas el dispositivo USB.
Pincha el TDT al usb y pon el comando dmesg en la terminal.
Hola Darumo, pues no lo tenía instalado. He reiniciado, y conectado de nuevo la tarjeta de tv y el /var/log/messages muestra lo siguiente:

Aug 22 19:33:02 nordebian kernel: [  484.274449] usb 1-7: new high-speed USB device number 4 using xhci_hcd
Aug 22 19:33:03 nordebian kernel: [  484.419561] usb 1-7: New USB device found, idVendor=2040, idProduct=6502
Aug 22 19:33:03 nordebian kernel: [  484.419565] usb 1-7: New USB device strings: Mfr=0, Product=1, SerialNumber=2
Aug 22 19:33:03 nordebian kernel: [  484.419568] usb 1-7: Product: WinTV HVR-900
Aug 22 19:33:03 nordebian kernel: [  484.419571] usb 1-7: SerialNumber: 4028537951
Aug 22 19:33:03 nordebian mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7"
Aug 22 19:33:03 nordebian mtp-probe: bus: 1, device: 4 was not an MTP device
Aug 22 19:33:03 nordebian kernel: [  484.434018] media: Linux media interface: v0.10
Aug 22 19:33:03 nordebian kernel: [  484.436340] Linux video capture interface: v2.00
Aug 22 19:33:03 nordebian kernel: [  484.437964] em28xx: New device  WinTV HVR-900 @ 480 Mbps (2040:6502, interface 0, class 0)
Aug 22 19:33:03 nordebian kernel: [  484.437965] em28xx: Audio interface 0 found (Vendor Class)
Aug 22 19:33:03 nordebian kernel: [  484.437965] em28xx: Video interface 0 found: isoc
Aug 22 19:33:03 nordebian kernel: [  484.437966] em28xx: DVB interface 0 found: isoc
Aug 22 19:33:03 nordebian kernel: [  484.438015] em28xx: chip ID is em2882/3
Aug 22 19:33:03 nordebian kernel: [  484.631774] em2882/3 #0: EEPROM ID = 1a eb 67 95, EEPROM hash = 0x58ff35dd
Aug 22 19:33:03 nordebian kernel: [  484.631776] em2882/3 #0: EEPROM info:
Aug 22 19:33:03 nordebian kernel: [  484.631778] em2882/3 #0:    AC97 audio (5 sample rates)
Aug 22 19:33:03 nordebian kernel: [  484.631779] em2882/3 #0:    500mA max power
Aug 22 19:33:03 nordebian kernel: [  484.631782] em2882/3 #0:    Table at offset 0x24, strings=0x1e82, 0x186a, 0x0000
Aug 22 19:33:03 nordebian kernel: [  484.631784] em2882/3 #0: Identified as Hauppauge WinTV HVR 900 (R2) (card=18)
Aug 22 19:33:03 nordebian kernel: [  484.633461] tveeprom 9-0050: Hauppauge model 65018, rev B2C0, serial# 2006111
Aug 22 19:33:03 nordebian kernel: [  484.633465] tveeprom 9-0050: tuner model is Xceive XC3028 (idx 120, type 71)
Aug 22 19:33:03 nordebian kernel: [  484.633468] tveeprom 9-0050: TV standards PAL(B/G) PAL(I) PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xd4)
Aug 22 19:33:03 nordebian kernel: [  484.633470] tveeprom 9-0050: audio processor is None (idx 0)
Aug 22 19:33:03 nordebian kernel: [  484.633472] tveeprom 9-0050: has radio
Aug 22 19:33:03 nordebian kernel: [  484.633474] em2882/3 #0: analog set to isoc mode.
Aug 22 19:33:03 nordebian kernel: [  484.633475] em2882/3 #0: dvb set to isoc mode.
Aug 22 19:33:03 nordebian kernel: [  484.633698] usbcore: registered new interface driver em28xx
Aug 22 19:33:03 nordebian kernel: [  484.641604] em2882/3 #0: Registering V4L2 extension
Aug 22 19:33:03 nordebian kernel: [  484.645702] tvp5150 9-005c: tvp5150 (4.0) chip found @ 0xb8 (em2882/3 #0)
Aug 22 19:33:03 nordebian kernel: [  484.645702] tvp5150 9-005c: tvp5150am1 detected.
Aug 22 19:33:03 nordebian kernel: [  484.729090] tuner 9-0061: Tuner -1 found with type(s) Radio TV.
Aug 22 19:33:03 nordebian kernel: [  484.730300] xc2028 9-0061: creating new instance
Aug 22 19:33:03 nordebian kernel: [  484.730300] xc2028 9-0061: type set to XCeive xc2028/xc3028 tuner
Aug 22 19:33:03 nordebian kernel: [  484.730316] usb 1-7: Direct firmware load for xc3028-v27.fw failed with error -2
Aug 22 19:33:03 nordebian kernel: [  484.730332] em2882/3 #0: Config register raw data: 0xd0
Aug 22 19:33:03 nordebian kernel: [  484.730823] em2882/3 #0: AC97 vendor ID = 0xffffffff
Aug 22 19:33:03 nordebian kernel: [  484.730942] em2882/3 #0: AC97 features = 0xffff
Aug 22 19:33:03 nordebian kernel: [  484.730943] em2882/3 #0: Unknown AC97 audio processor detected!
Aug 22 19:33:03 nordebian kernel: [  485.105079] em2882/3 #0: V4L2 video device registered as video0
Aug 22 19:33:03 nordebian kernel: [  485.105082] em2882/3 #0: V4L2 VBI device registered as vbi0
Aug 22 19:33:03 nordebian kernel: [  485.105086] em2882/3 #0: V4L2 extension successfully initialized
Aug 22 19:33:03 nordebian kernel: [  485.105088] em28xx: Registered (Em28xx v4l2 Extension) extension
Aug 22 19:33:03 nordebian kernel: [  485.108618] em2882/3 #0: Binding audio extension
Aug 22 19:33:03 nordebian kernel: [  485.108621] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
Aug 22 19:33:03 nordebian kernel: [  485.108622] em28xx-audio.c: Copyright (C) 2007-2014 Mauro Carvalho Chehab
Aug 22 19:33:03 nordebian kernel: [  485.108691] em2882/3 #0: Endpoint 0x83 high-speed on intf 0 alt 7 interval = 8, size 196
Aug 22 19:33:03 nordebian kernel: [  485.108693] em2882/3 #0: Number of URBs: 1, with 64 packets and 192 size
Aug 22 19:33:03 nordebian kernel: [  485.109117] em2882/3 #0: Audio extension successfully initialized
Aug 22 19:33:03 nordebian kernel: [  485.109119] em28xx: Registered (Em28xx Audio Extension) extension
Aug 22 19:33:03 nordebian kernel: [  485.114281] em2882/3 #0: Binding DVB extension
Aug 22 19:33:04 nordebian kernel: [  485.303147] xc2028 9-0061: attaching existing instance
Aug 22 19:33:04 nordebian kernel: [  485.303150] xc2028 9-0061: type set to XCeive xc2028/xc3028 tuner
Aug 22 19:33:04 nordebian kernel: [  485.303152] em2882/3 #0: em2882/3 #0/2: xc3028 attached
Aug 22 19:33:04 nordebian kernel: [  485.303154] DVB: registering new adapter (em2882/3 #0)
Aug 22 19:33:04 nordebian kernel: [  485.303161] usb 1-7: DVB: registering adapter 0 frontend 0 (Micronas DRXD DVB-T)...
Aug 22 19:33:04 nordebian kernel: [  485.304021] em2882/3 #0: DVB extension successfully initialized
Aug 22 19:33:04 nordebian kernel: [  485.304026] em28xx: Registered (Em28xx dvb Extension) extension
Aug 22 19:33:04 nordebian kernel: [  485.309370] em2882/3 #0: Registering input extension
Aug 22 19:33:04 nordebian kernel: [  485.338457] Registered IR keymap rc-hauppauge
Aug 22 19:33:04 nordebian kernel: [  485.338696] input: em28xx IR (em2882/3 #0) as /devices/pci0000:00/0000:00:14.0/usb1/1-7/rc/rc0/input24
Aug 22 19:33:04 nordebian kernel: [  485.338903] rc rc0: em28xx IR (em2882/3 #0) as /devices/pci0000:00/0000:00:14.0/usb1/1-7/rc/rc0
Aug 22 19:33:04 nordebian kernel: [  485.338987] em2882/3 #0: Input extension successfully initalized
Aug 22 19:33:04 nordebian kernel: [  485.338989] em28xx: Registered (Em28xx Input Extension) extension
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) config/udev: Adding input device em28xx IR (em2882/3 #0) (/dev/input/event21)
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (**) em28xx IR (em2882/3 #0): Applying InputClass "libinput keyboard catchall"
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) Using input driver 'libinput' for 'em28xx IR (em2882/3 #0)'
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) systemd-logind: got fd for /dev/input/event21 13:85 fd 53 paused 0
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (**) em28xx IR (em2882/3 #0): always reports core events
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (**) Option "Device" "/dev/input/event21"
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (**) Option "_source" "server/udev"
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) input device 'em28xx IR (em2882/3 #0)', /dev/input/event21 is tagged by udev as: Keyboard
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) input device 'em28xx IR (em2882/3 #0)', /dev/input/event21 is a keyboard
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/rc/rc0/input24/event21"
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) XINPUT: Adding extended input device "em28xx IR (em2882/3 #0)" (type: KEYBOARD, id 16)
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (**) Option "xkb_model" "pc105"
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (**) Option "xkb_layout" "es"
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (WW) Option "xkb_variant" requires a string value
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (WW) Option "xkb_options" requires a string value
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) input device 'em28xx IR (em2882/3 #0)', /dev/input/event21 is tagged by udev as: Keyboard
Aug 22 19:33:04 nordebian /usr/lib/gdm3/gdm-x-session[509]: (II) input device 'em28xx IR (em2882/3 #0)', /dev/input/event21 is a keyboard
Aug 22 19:33:04 nordebian pulseaudio[874]: [pulseaudio] source.c: Default and alternate sample rates are the same.


Yo no veo en el log ningun error. Voy a probar a reinstalar kaffeine a ver si asi toma los cambios.

[Editado]

Al iniciar kaffeine y ver el log sale esto:

Aug 22 19:48:27 nordebian kernel: [  371.798958] drxd: deviceId = 0000
Aug 22 19:48:27 nordebian kernel: [  371.798960] DRX3975D-A2
Aug 22 19:48:27 nordebian kernel: [  371.798990] usb 1-7: Direct firmware load for drxd-a2-1.1.fw failed with error -2
Te falta el firmware. Haciendo una búsqueda rápida → https://github.com/LibreELEC/dvb-firmwa ... -a2-1.1.fw

Lo metes en /lib/firmware y prueba. Si usas distro de 64 bits quizás sea /lib64
[Editado]

A parte del firmware drxd-a2-1.1.fw, al ejecutar el comando dmesg vi que necesitaba también el xc3028-v27.fw.

Lo copie a /lib/firmware Reinicio el ordenador y ya si encuentra canales. Desde aquí agradecer a coyote y Darumo que sin su ayuda no lo habria conseguido [beer] [beer] [beer] [beer] [beer] [beer]

Agrego la info al principio del hilo [beer]
4 respuestas