Raspberry PI HVR-850 v1200 DVB driver?

Raspberry Pi 2

Raspberry PI HVR-850 v1200 DVB driver?

Postby apokalypz » Mon Feb 15, 2016 10:11 pm

I have a Hauppauge HVR-850 v1200 that my raspberry pi 2 won't load DVB drivers for. I originally used it on an odroid XU4 and it worked flawlessly, however, plugging it into my raspberry pi only shows the analog part of the adaptor.

Inspection of the Raspberry Pi 2 kernel messages revealed:
$this->bbcode_second_pass_code('', '
[ 1835.682586] usb 1-1.4: new high-speed USB device number 8 using dwc_otg
[ 1835.805478] usb 1-1.4: New USB device found, idVendor=2040, idProduct=b140
[ 1835.814939] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1835.824790] usb 1-1.4: Product: Hauppauge Device
[ 1835.831915] usb 1-1.4: Manufacturer: Hauppauge
[ 1835.838831] usb 1-1.4: SerialNumber: 4034005309
[ 1835.850725] cx231xx 1-1.4:1.1: New device Hauppauge Hauppauge Device @ 480 Mbps (2040:b140) with 7 interfaces
[ 1835.866325] cx231xx 1-1.4:1.1: Identified as Hauppauge EXETER (card=8)
[ 1835.876803] i2c i2c-4: Added multiplexed i2c bus 6
[ 1835.884465] i2c i2c-4: Added multiplexed i2c bus 7
[ 1836.146182] cx25840 3-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[ 1838.127229] cx25840 3-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[ 1838.180086] Chip ID is not zero. It is not a TEA5767
[ 1838.187581] tuner 6-0060: Tuner -1 found with type(s) Radio TV.
[ 1838.211385] tda18271 6-0060: creating new instance
[ 1838.220558] Unknown device (110) detected @ 6-0060, device not supported.
[ 1838.229843] tda18271_attach: [6-0060|M] error -22 on line 1285
[ 1838.238188] tda18271 6-0060: destroying instance
[ 1838.250589] tuner 6-0060: Tuner has no way to set tv freq
[ 1838.259538] cx231xx 1-1.4:1.1: v4l2 driver version 0.0.3
[ 1838.412119] tuner 6-0060: Tuner has no way to set tv freq
[ 1838.420310] cx231xx 1-1.4:1.1: Registered video device video0 [v4l2]
[ 1838.429346] cx231xx 1-1.4:1.1: Registered VBI device vbi0
[ 1838.437803] cx231xx 1-1.4:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[ 1838.502741] cx231xx 1-1.4:1.1: dvb_init: looking for tuner / demod on i2c bus: 6
[ 1838.515054] cx231xx 1-1.4:1.1: cx231xx_send_usb_command: failed with status --32
[ 1838.527254] lgdt3305_read_reg: error (addr 0e reg 0001 error (ret == -32)
[ 1838.536656] lgdt3305_attach: error -32 on line 1143
[ 1838.544164] lgdt3305_attach: unable to detect LGDT3305 hardware
[ 1838.552639] cx231xx 1-1.4:1.1: Failed to attach LG3305 front end
[ 1838.561422] cx231xx 1-1.4:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[ 1838.571158] cx231xx 1-1.4:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[ 1838.580708] cx231xx 1-1.4:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2
[ 1838.593164] cx231xx 1-1.4:1.1: TS EndPoint Addr 0x81, Alternate settings: 6
')

Compared to my XU4 messages:
$this->bbcode_second_pass_code('', '
[73098.101853] [c0] usb 3-1.2: new high-speed USB device number 3 using xhci-hcd
[73098.190683] [c5] cx231xx #0: New device Hauppauge Hauppauge Device @ 480 Mbps (2040:b140) with 6 interfaces
[73098.199015] [c5] cx231xx #0: registering interface 1
[73098.204170] [c5] cx231xx #0: Identified as Hauppauge EXETER (card=8)
[73098.403279] [c0] cx231xx #0: cx231xx_dif_set_standard: setStandard to ffffffff
[73098.431765] [c0] cx25840 5-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0)
[73098.455523] [c2] cx25840 5-0044: Firmware download size changed to 16 bytes max length
[73100.386965] [c0] cx25840 5-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[73100.433157] [c0] Chip ID is not zero. It is not a TEA5767
[73100.437324] [c0] tuner 6-0060: Tuner -1 found with type(s) Radio TV.
[73100.443828] [c0] tda18271 6-0060: creating new instance
[73100.450832] [c0] TDA18271HD/C2 detected @ 6-0060
[73100.674637] [c0] tda18271: performing RF tracking filter calibration
[73102.266270] tda18271: RF tracking filter calibration complete
[73102.312848] [c0] cx231xx #0: cx231xx #0: v4l2 driver version 0.0.2
[73102.332620] [c0] cx231xx #0: cx231xx_dif_set_standard: setStandard to ff
[73102.422276] [c0] cx231xx #0: video_mux : 0
[73102.424912] [c0] cx231xx #0: do_mode_ctrl_overrides : 0xff
[73102.431167] [c0] cx231xx #0: do_mode_ctrl_overrides PAL
[73102.502306] [c0] cx231xx #0: cx231xx #0/0: registered device video0 [v4l2]
[73102.508117] [c0] cx231xx #0: cx231xx #0/0: registered device vbi0
[73102.513895] [c0] cx231xx #0: V4L2 device registered as video0 and vbi0
[73102.520354] [c0] cx231xx #0: EndPoint Addr 0x84, Alternate settings: 5
[73102.526865] [c0] cx231xx #0: Alternate setting 0, max size= 512
[73102.532752] [c0] cx231xx #0: Alternate setting 1, max size= 184
[73102.538651] [c0] cx231xx #0: Alternate setting 2, max size= 728
[73102.544553] [c0] cx231xx #0: Alternate setting 3, max size= 2892
[73102.550665] [c0] cx231xx #0: Alternate setting 4, max size= 1800
[73102.556607] [c5] cx231xx #0: EndPoint Addr 0x85, Alternate settings: 2
[73102.563091] [c5] cx231xx #0: Alternate setting 0, max size= 512
[73102.568932] [c5] cx231xx #0: Alternate setting 1, max size= 512
[73102.574836] [c5] cx231xx #0: EndPoint Addr 0x86, Alternate settings: 2
[73102.581340] [c5] cx231xx #0: Alternate setting 0, max size= 512
[73102.587238] [c5] cx231xx #0: Alternate setting 1, max size= 576
[73102.593137] [c5] cx231xx #0: EndPoint Addr 0x81, Alternate settings: 6')

It seems that the raspberry pi 2 isn't detecting the TDA18271HD/C2 correctly, instead it is seen as an "unsupported device". So I'm guessing a change in the drivers sometime between the XU4 kernel and the much more recent Raspberry Pi 2 kernel broke it? Does anyone know of a fix/workaround? Thank you.
apokalypz
 
Posts: 41
Joined: Sun Apr 06, 2014 6:13 pm

Re: Raspberry PI HVR-850 v1200 DVB driver?

Postby sdjf » Tue Feb 16, 2016 11:47 am

You may have to make a line entry in the modules.alias file for your device, to make sure the correct driver is loaded. Exact path to that file will depend on your kernel - probably in /usr/lib/modules

If you have the exact name of the driver that worked in another system for the device, you can check that file to see if the driver has already been installed on your Pi and is simply not recognizing your device.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Raspberry PI HVR-850 v1200 DVB driver?

Postby WarheadsSE » Tue Feb 16, 2016 4:50 pm

$this->bbcode_second_pass_code('', '[ 1838.211385] tda18271 6-0060: creating new instance
[ 1838.220558] Unknown device (110) detected @ 6-0060, device not supported.
[ 1838.229843] tda18271_attach: [6-0060|M] error -22 on line 1285
[ 1838.238188] tda18271 6-0060: destroying instance')

$this->bbcode_second_pass_code('', '[73100.443828] [c0] tda18271 6-0060: creating new instance
[73100.450832] [c0] TDA18271HD/C2 detected @ 6-0060
[73100.674637] [c0] tda18271: performing RF tracking filter calibration')

The difference here is the problem. It seems that the device is getting detected as unsupported on Pi2's kernel as opposed to the state of the XU4. Both kernels have the necessary module configured as a module (CONFIG_DVB_TDA18271C2DD=m), and the only slight difference is CONFIG_MEDIA_TUNER_TDA18271=m vs =y on XU4. This still doesn't quite seem like it is the fault of the kernel config.

Ensure that the Pi2 is fully up to date, and that the kernel running matches the installed package.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Raspberry PI HVR-850 v1200 DVB driver?

Postby apokalypz » Fri Feb 19, 2016 4:32 am

It is fully updated and running the latest kernel.

I tried sifting through the source code and it's a bit beyond my skill level. Maybe I'll try doing a diff between the XU3/4 source files and the RPI source files and see if anything sticks out.
apokalypz
 
Posts: 41
Joined: Sun Apr 06, 2014 6:13 pm


Return to Broadcom

Who is online

Users browsing this forum: No registered users and 8 guests