Ceton InfiniTV driver compile fail

For discussion of topics specific to MythTV on linux
Post Reply
jp.briggs
Newcomer
Posts: 14
Joined: Tue Apr 12, 2016 3:59 pm
United States of America

Ceton InfiniTV driver compile fail

Post by jp.briggs » Wed Dec 14, 2016 2:40 am

I had MythTV up and running on an older machine. Decided to move it to newer hardware, but also decided to just build up Myth from scratch, rather than try and migrate it; so this is essentially a new MythTV install.

Fresh install of Xubuntu 16.10. Installed mythtv with the default repos (sudo apt-get install mythtv), and now showing as:

Code: Select all

$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.28-2-g15cf421
MythTV Branch : fixes/0.28
Network Protocol : 88
Library API : 0.28.20160309-1
QT Version : 5.5.1
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
I moved the Ceton InfiniTV 4 tuner PCIe card to the new hardware, and am attempting to compile the driver downloaded from github: https://github.com/ceton/infinitv_pcie

However, on the first step in the README file (make), I'm receiving an error, and cannot continue:

Code: Select all

~/Downloads/infinitv_pcie-master$ make
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-30-generic'
  CC [M]  /home/jp/Downloads/infinitv_pcie-master/ctn91xx_net.o
/home/jp/Downloads/infinitv_pcie-master/ctn91xx_net.c: In function ‘ctn91xx_net_start_xmit’:
/home/jp/Downloads/infinitv_pcie-master/ctn91xx_net.c:162:13: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?
         ndev->trans_start = jiffies;
             ^~
scripts/Makefile.build:289: recipe for target '/home/jp/Downloads/infinitv_pcie-master/ctn91xx_net.o' failed
make[2]: *** [/home/jp/Downloads/infinitv_pcie-master/ctn91xx_net.o] Error 1
Makefile:1489: recipe for target '_module_/home/jp/Downloads/infinitv_pcie-master' failed
make[1]: *** [_module_/home/jp/Downloads/infinitv_pcie-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-30-generic'
Makefile:38: recipe for target 'ctn91xx_module' failed
make: *** [ctn91xx_module] Error 2
~/Downloads/infinitv_pcie-master$ 
I haven't been able to find anything online to solve the problem. Not sure what to do from here. Currently have no DVR capability :cry:
- JP Briggs

MythTV Version : v0.28-2-g15cf421

mfuzzle
Newcomer
Posts: 1
Joined: Fri Jan 06, 2017 10:15 am
United States of America

Re: Ceton InfiniTV driver compile fail

Post by mfuzzle » Fri Jan 06, 2017 10:18 am

EDIT ctn91xx_net.c

REPLACE:

ndev->trans_start = jiffies;

WITH:

netif_trans_update(ndev);

---

Had the same issue, but was able to compile after making that change.

jp.briggs
Newcomer
Posts: 14
Joined: Tue Apr 12, 2016 3:59 pm
United States of America

Re: Ceton InfiniTV driver compile fail

Post by jp.briggs » Tue Jan 10, 2017 4:58 pm

mfuzzle wrote:EDIT ctn91xx_net.c

REPLACE:

ndev->trans_start = jiffies;

WITH:

netif_trans_update(ndev);

---

Had the same issue, but was able to compile after making that change.
Thanks for the reply. I wound up rebuilding with Xubuntu 16.04 on the 4.4 kernel, and all is well.
- JP Briggs

MythTV Version : v0.28-2-g15cf421

Pixelman
Newcomer
Posts: 1
Joined: Sun Apr 09, 2017 5:12 am
United States of America

Re: Ceton InfiniTV driver compile fail

Post by Pixelman » Sun Apr 09, 2017 5:18 am

Can you provide detail steps on your rebuild? I have attempted compiling driver on 16.04 with 4.4 kernel and I am receiving compile errors regarding ssl certs. Any recomendations?

1bhfr1
Newcomer
Posts: 1
Joined: Mon May 01, 2017 11:54 pm
United States of America

Re: Ceton InfiniTV driver compile fail

Post by 1bhfr1 » Tue May 02, 2017 12:04 am

I had the same problem trying to install 16.04.2 kernel 4.8.0-36 and -48. I used Nautilus to search computer for "ctn91xx_net.c ". Nautilus found 6 copies. I edited Line 162 using leafpad on all 6 copies and the driver installed and now working. Thanks so much.
EDIT ctn91xx_net.c line 162

REPLACE:

ndev->trans_start = jiffies;

WITH:

netif_trans_update(ndev)
;

mythfreak
Newcomer
Posts: 13
Joined: Wed Dec 14, 2016 12:00 am
United States of America

Re: Ceton InfiniTV driver compile fail

Post by mythfreak » Sat Jul 14, 2018 12:49 am

Some kind soul posted this on github. https://github.com/ceton/infinitv_pcie

Download the master zip file and compile.

Post Reply