This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hauppauge WinTV-DualHD driver
#11
(10-24-2018, 04:46 AM)igorpec Wrote:
Quote:I'm not sure on the structure of this, such as where the Makefile is or the compilation.sh script is.

In case of build errors, you need to supply full logs that someone is able to debug. Kernel is building in parallel and the real errors in somewhere in between ... Here you have a kernel, build with this option enabled: https://drive.google.com/open?id=1YbEccS...IbmJjoKQfx

Download, unpack zip, copy debs to the machine and install with dpkg -i *.deb

Hi, thanks for building these. After installing my dmesg looks like this, though Plex still doesn't see the tuner. Though the light is on on the device (clean install of armbian).

Quote:[    6.957401] em28xx 1-1.3:1.0: New device HCW dualHD @ 480 Mbps (2040:0265, interface 0, class 0)
[    6.957409] em28xx 1-1.3:1.0: DVB interface 0 found: isoc
[    6.957607] em28xx 1-1.3:1.0: unknown em28xx chip ID (0)
[    8.192318] em28xx 1-1.3:1.0: write to i2c device at 0xa0 failed with unknown error (status=65)
[    8.192327] em28xx 1-1.3:1.0: board has no eeprom
[    8.192507] em28xx 1-1.3:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[    8.192512] em28xx 1-1.3:1.0: dvb set to isoc mode.
[    8.192596] usbcore: registered new interface driver em28xx
[    8.204237] em28xx 1-1.3:1.0: Binding DVB extension
[    8.271804] em28xx 1-1.3:1.0: write to i2c device at 0xc8 failed with unknown error (status=192)
[    8.271853] em28xx: Registered (Em28xx dvb Extension) extension
[    8.276354] em28xx 1-1.3:1.0: Registering input extension
[    8.276370] em28xx: Registered (Em28xx Input Extension) extension
Reply
#12
That is a good sign. Can you try something else? TVHeadend perhaps?
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
Reply
#13
(10-24-2018, 06:24 PM)igorpec Wrote: That is a good sign. Can you try something else? TVHeadend perhaps?

Just tried and still no dice with TVHeadend either.
Reply
#14
hi FreakShow!,

how about vlc ;-]..
https://wiki.videolan.org/VLC_HowTo/Use_a_capture_card/

---------------------------;-]..
watching with interest,
k.
Reply
#15
I feel I'm getting ever so close! After installing your packages, I did the v4l compile and install and this is my dmesg now:

Quote:[    7.366461] em28xx 1-1.3:1.0: New device HCW dualHD @ 480 Mbps (2040:0265, interface 0, class 0)
[    7.366469] em28xx 1-1.3:1.0: DVB interface 0 found: isoc
[    7.372457] Modules linked in: rockchip_rga(O+) em28xx(O+) videobuf2_dma_sg(O) snd_soc_hdmi_codec v4l2_mem2mem(O) tveeprom(O) media(O) syscon_reboot_mode r8723bs(C+) reboot_mode rk_crypto dw_wdt sch_fq_codel ip_tables autofs4 mali_kbase dw_hdmi_i2s_audio
[    7.419016] em28xx 1-1.3:1.0: chip ID is em2874
[    8.555373] em28xx 1-1.3:1.0: write to i2c device at 0xa0 failed with unknown error (status=5)
[    8.555381] em28xx 1-1.3:1.0: board has no eeprom
[    8.606892] em28xx 1-1.3:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[    8.606901] em28xx 1-1.3:1.0: dvb set to isoc mode.
[    8.659004] em28xx 1-1.3:1.0: chip ID is em2874
[    9.796072] em28xx 1-1.3:1.0: write to i2c device at 0xa0 failed with unknown error (status=5)
[    9.796092] em28xx 1-1.3:1.0: board has no eeprom
[    9.848942] em28xx 1-1.3:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[    9.848962] em28xx 1-1.3:1.0: dvb ts2 set to isoc mode.
[   10.049838] usbcore: registered new interface driver em28xx
[   10.059729] em28xx_dvb: Unknown symbol dvb_create_media_graph (err 0)
[   10.070396] em28xx 1-1.3:1.0: Registering input extension
[   10.072390] em28xx 1-1.3:1.0: Input extension successfully initialized
[   10.072399] em28xx 1-1.3:1.0: Remote control support is not available for this card.
[   10.072403] em28xx: Registered (Em28xx Input Extension) extension

Looking at the Hauppauge website it mentions installing the following packages:

sudo apt-get install linux-image-mediatree linux-headers-mediatree

This however fails to install as:
Quote:The following packages have unmet dependencies:
linux-image-mediatree : Depends: linux-image-unsigned-4.15.0-33201808301234-generic but it is not installable
Depends: linux-modules-4.15.0-33201808301234-generic but it is not installable
Depends: linux-modules-extra-4.15.0-33201808301234-generic but it is not installable
E: Unable to correct problems, you have held broken packages.

However, I am able to install the linux-firmware-hauppauge package.

My dmesg now looks like:
Quote:[ 503.740028] em28xx 1-1.3:1.0: New device HCW dualHD @ 480 Mbps (2040:0265, interface 0, class 0)
[ 503.740042] em28xx 1-1.3:1.0: DVB interface 0 found: isoc
[ 503.792407] em28xx 1-1.3:1.0: chip ID is em2874
[ 504.929149] em28xx 1-1.3:1.0: write to i2c device at 0xa0 failed with unknown error (status=5)
[ 504.929162] em28xx 1-1.3:1.0: board has no eeprom
[ 504.984233] em28xx 1-1.3:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[ 504.984247] em28xx 1-1.3:1.0: dvb set to isoc mode.
[ 505.036400] em28xx 1-1.3:1.0: chip ID is em2874
[ 506.169156] em28xx 1-1.3:1.0: write to i2c device at 0xa0 failed with unknown error (status=5)
[ 506.169169] em28xx 1-1.3:1.0: board has no eeprom
[ 506.222239] em28xx 1-1.3:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[ 506.222253] em28xx 1-1.3:1.0: dvb ts2 set to isoc mode.
[ 506.422682] em28xx 1-1.3:1.0: Registering input extension
[ 506.424012] em28xx 1-1.3:1.0: Input extension successfully initialized
[ 506.424023] em28xx 1-1.3:1.0: Remote control support is not available for this card.
[ 506.436753] em28xx_dvb: Unknown symbol dvb_create_media_graph (err 0)

So it's just whatever that dvb_create_media_graph error that seems to be stopping things. Everything else seems to have hit the mark.
Reply
#16
If you need headers: https://drive.google.com/open?id=1N0uNMf..._ozhP8xPpL
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
Reply
#17
(10-25-2018, 05:50 AM)igorpec Wrote: If you need headers: https://drive.google.com/open?id=1N0uNMf..._ozhP8xPpL

So last night I managed to break the system so it wouldn't boot. My steps to get back to where I was has been:

- Flash Armbian Bionic
- Run updates
- Install the two .debs you first gave me enabling the em28xx
- Install the headers you provided just now
- Compile and install the v4l stuff from here: linuxtv [DOT] org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
- Download and copy the demodulator fw found here: www.linuxtv [DOT] org/wiki/index.php/Hauppauge_WinTV-dualHD#Firmware

My current dmesg looks like this:

Quote: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ca3323} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures; color: #39c026} span.s2 {font-variant-ligatures: no-common-ligatures; color: #aaab25} span.s3 {font-variant-ligatures: no-common-ligatures}
[ 3522.954213] em28xx 1-1.3:1.0: New device HCW dualHD @ 480 Mbps (2040:0265, interface 0, class 0)
[ 3522.954229] em28xx 1-1.3:1.0: DVB interface 0 found: isoc
[ 3522.954376] em28xx 1-1.3:1.0: unknown em28xx chip ID (0)
[ 3524.180985] em28xx 1-1.3:1.0: write to i2c device at 0xa0 failed with unknown error (status=65)
[ 3524.181000] em28xx 1-1.3:1.0: board has no eeprom
[ 3524.182018] em28xx 1-1.3:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[ 3524.182033] em28xx 1-1.3:1.0: dvb set to isoc mode.
[ 3524.182748] usbcore: registered new interface driver em28xx
[ 3524.188393] em28xx 1-1.3:1.0: Binding DVB extension
[ 3524.265133] em28xx 1-1.3:1.0: write to i2c device at 0xc8 failed with unknown error (status=192)
[ 3524.265176] si2168: probe of 7-0064 failed with error -5
[ 3524.265201] em28xx: Registered (Em28xx dvb Extension) extension
[ 3524.269818] em28xx 1-1.3:1.0: Registering input extension
[ 3524.269843] em28xx: Registered (Em28xx Input Extension) extension

So the headers definitely helped with the graph symbol missing. So it's just these i2c errors. Is there any other information I can generate that might help pinpoint the issues?

I wonder if it would be possible to generate the same debs again, but for the 4.18 development kernel?

Thank you so much for your help getting me this far!
Reply
#18
> So it's just these i2c errors.

Googlefu gives this:
https://forum.armbian.com/topic/8099-try...nkerboard/
https://www.mail-archive.com/linux-media...11615.html

4.18.y
https://drive.google.com/open?id=1__P7fT...c4rRuiUeDI
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
Reply
#19
Thank you for the new headers.

So looking at those links, it looks like this is not going to be possible at this stage without some decent fixes further upstream.

Thanks for your help, a shame it wasn't possible to get working though.
[-] The following 1 user Likes FreakShow!'s post:
  • igorpec
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)