Moderator Control Panel ]

Is it possible to run TBS6985 on Linux?

Is it possible to run TBS6985 on Linux?

Postby Electuur » Mon Jul 03, 2017 2:53 am

I have been successfully running TBS6985 on Ubuntu 14.04 LTS. After an update it stopped working. Until now I didn’t succeed in using TBS6985 on Ubuntu 16.04 LTS and 14.04 LTS. Not with TBS proprietary drivers and not with Linux-TV open source drivers.
Is it possible to run TBS6985 on Linux? Please give me instructions on how to do this.
With kind regards,
Jacques van Langen

Bug report:
I did a clean install Ubuntu 16.04 LTS server, and followed the instructions in your FAQ for tbs-linux-drivers_v170206.zip.
Output dmesg:
Code: Select All Code
[    4.835723] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    4.838371] rc_core: module verification failed: signature and/or required key missing - tainting kernel
[    4.841289] TBS version 160405
[    4.843905] tbs6290fe: module license 'TurboSight Proprietary' taints kernel.
[    4.843912] Disabling lock debugging due to kernel taint
[    4.913557] input: saa716x IR (TurboSight TBS 6985) as /devices/pci0000:00/0000:00:15.2/0000:05:00.0/rc/rc0/input15
[    4.913664] rc0: saa716x IR (TurboSight TBS 6985) as /devices/pci0000:00/0000:00:15.2/0000:05:00.0/rc/rc0
[    4.914711] input: MCE IR Keyboard/Mouse (saa716x) as /devices/virtual/input/input16
[    4.915001] rc rc0: lirc_dev: driver ir-lirc-codec (saa716x) registered at minor = 0
[    4.915007] DVB: registering new adapter (SAA716x dvb adapter)
[    5.100030] Adding 9798652k swap on /dev/sda3.  Priority:-1 extents:1 across:9798652k SSFS
[    5.116231] asus_wmi: ASUS WMI generic driver loaded
[    5.118753] asus_wmi: Initialization: 0x0
[    5.118774] asus_wmi: BIOS WMI version: 0.9
[    5.118806] asus_wmi: SFUN value: 0x0
[    5.120965] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input17
[    5.121853] asus_wmi: Number of fans: 1
[    5.389441] TurboSight TBS 6985 Frontend Attaching...
[    5.409247] BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0
[    5.410382] IP: [<ffffffffc07d2059>] tbsfe_attach+0x9/0xfb0 [tbsfe]
[    5.411486] PGD 0
[    5.412569] Oops: 0002 [#1] SMP
[    5.413659] Modules linked in: tbsfe(OE) eeepc_wmi asus_wmi sparse_keymap video tbs6985fe(POE) rc_tbs_nec(OE) ir_lirc_codec(OE) lirc_dev(OE) kvm_amd ir_mce_kbd_decoder(OE) kvm saa716x_tbs_dvb(OE+) tbs6982fe(POE) tbs6680fe(POE) ir_sony_decoder(OE) tbs6923fe(POE) tbs6985se(POE) ir_jvc_decoder(OE) irqbypass tbs6928se(POE) ir_rc6_decoder(OE) tbs6982se(POE) tbs6991fe(POE) tbs6618fe(POE) tbs6983fe(POE) saa716x_core(OE) tbs6922fe(POE) tbs6928fe(POE) ir_rc5_decoder(OE) tbs6991se(POE) ir_nec_decoder(OE) tbs6290fe(POE) stv090x(OE) dvb_core(OE) rc_core(OE) serio_raw snd_hda_codec_realtek k10temp snd_hda_codec_generic i2c_piix4 snd_hda_codec_hdmi joydev input_leds snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer snd soundcore shpchp 8250_fintek mac_hid ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad
[    5.414858]  ib_core
[    5.414858]  ib_addr
[    5.414859]  iscsi_tcp
[    5.414859]  libiscsi_tcp
[    5.414860]  libiscsi
[    5.414860]  scsi_transport_iscsi
[    5.414860]  autofs4
[    5.414861]  btrfs
[    5.414861]  raid10
[    5.414862]  raid456
[    5.414862]  async_raid6_recov
[    5.414863]  async_memcpy
[    5.414863]  async_pq
[    5.414863]  async_xor
[    5.414864]  async_tx
[    5.414864]  xor
[    5.414864]  raid6_pq
[    5.414865]  libcrc32c
[    5.414865]  raid1
[    5.414866]  raid0
[    5.414866]  multipath
[    5.414867]  linear
[    5.414867]  hid_logitech_hidpp
[    5.414867]  hid_logitech_dj
[    5.414868]  usbhid
[    5.414868]  hid
[    5.414869]  amdkfd
[    5.414869]  amd_iommu_v2
[    5.414869]  radeon
[    5.414870]  i2c_algo_bit
[    5.414870]  ttm
[    5.414871]  psmouse
[    5.414871]  drm_kms_helper
[    5.414872]  syscopyarea
[    5.414872]  sysfillrect
[    5.414872]  sysimgblt
[    5.414873]  fb_sys_fops
[    5.414873]  drm
[    5.414874]  ahci
[    5.414874]  r8169
[    5.414875]  libahci
[    5.414875]  mii
[    5.414875]  wmi
[    5.414876]  fjes

[    5.414879] CPU: 0 PID: 498 Comm: systemd-udevd Tainted: P           OE   4.4.0-62-generic #83-Ubuntu
[    5.414880] Hardware name: System manufacturer System Product Name/F1A75-V EVO, BIOS 1901 08/31/2012
[    5.414881] task: ffff880119e48cc0 ti: ffff8800b5890000 task.ti: ffff8800b5890000
[    5.414883] RIP: 0010:[<ffffffffc07d2059>]
[    5.414884]  [<ffffffffc07d2059>] tbsfe_attach+0x9/0xfb0 [tbsfe]
[    5.414885] RSP: 0018:ffff8800b5893a28  EFLAGS: 00010286
[    5.414886] RAX: 0000000000000000 RBX: ffff8800ba479360 RCX: 0000000000000001
[    5.414887] RDX: 0000000000000000 RSI: ffffffffc07d4380 RDI: 0000000000000000
[    5.414887] RBP: ffff8800b5893a68 R08: ffffffff81105960 R09: 00000001802a0029
[    5.414888] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[    5.414888] R13: ffff8800ba478000 R14: 0000000000000000 R15: ffff8800ba479360
[    5.414890] FS:  00007f54ca7e58c0(0000) GS:ffff88011ec00000(0000) knlGS:0000000000000000
[    5.414890] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.414891] CR2: 00000000000000b0 CR3: 00000000345a5000 CR4: 00000000000006f0
[    5.414892] Stack:
[    5.414893]  ffff8800b5893a68
[    5.414893]  ffffffffc0712f97
[    5.414894]  ffff8800ba4793f8
[    5.414894]  ffff8800ba478000

[    5.414895]  ffff8800ba4793f8
[    5.414895]  0000000000000000
[    5.414895]  ffff8800ba4797a0
[    5.414895]  ffff8800ba479360

[    5.414896]  ffff8800b5893ac8
[    5.414896]  ffffffffc06a39dc
[    5.414897]  ffff8800b94b8900
[    5.414897]  ffff8800ba4797b8

[    5.414898] Call Trace:
[    5.414913]  [<ffffffffc0712f97>] ? saa716x_tbs6985_frontend_attach+0xf7/0x4c0 [saa716x_tbs_dvb]
[    5.414921]  [<ffffffffc06a39dc>] saa716x_dvb_init+0x6c/0x580 [saa716x_core]
[    5.414925]  [<ffffffffc0715d76>] saa716x_tbs_pci_probe+0x1a6/0x2f0 [saa716x_tbs_dvb]
[    5.414930]  [<ffffffff81448385>] local_pci_probe+0x45/0xa0
[    5.414932]  [<ffffffff814497c3>] pci_device_probe+0x103/0x150
[    5.414935]  [<ffffffff8155b5f2>] driver_probe_device+0x222/0x4a0
[    5.414936]  [<ffffffff8155b8f4>] __driver_attach+0x84/0x90
[    5.414937]  [<ffffffff8155b870>] ? driver_probe_device+0x4a0/0x4a0
[    5.414939]  [<ffffffff8155921c>] bus_for_each_dev+0x6c/0xc0
[    5.414941]  [<ffffffff8155adae>] driver_attach+0x1e/0x20
[    5.414942]  [<ffffffff8155a8eb>] bus_add_driver+0x1eb/0x280
[    5.414945]  [<ffffffffc0716040>] ? load_config_tbs6923+0x10/0x10 [saa716x_tbs_dvb]
[    5.414947]  [<ffffffff8155c200>] driver_register+0x60/0xe0
[    5.414948]  [<ffffffff81447cac>] __pci_register_driver+0x4c/0x50
[    5.414952]  [<ffffffffc0716063>] saa716x_tbs_init+0x23/0x30 [saa716x_tbs_dvb]
[    5.414954]  [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[    5.414956]  [<ffffffff811d0bb1>] ? __vunmap+0x91/0xe0
[    5.414958]  [<ffffffff811ecd83>] ? kmem_cache_alloc_trace+0x183/0x1f0
[    5.414960]  [<ffffffff811edb7a>] ? kfree+0x13a/0x150
[    5.414963]  [<ffffffff8118d993>] do_init_module+0x5f/0x1cf
[    5.414965]  [<ffffffff8110a93f>] load_module+0x166f/0x1c10
[    5.414966]  [<ffffffff81106ee0>] ? __symbol_put+0x60/0x60
[    5.414968]  [<ffffffff81214940>] ? kernel_read+0x50/0x80
[    5.414970]  [<ffffffff8110b124>] SYSC_finit_module+0xb4/0xe0
[    5.414971]  [<ffffffff8110b16e>] SyS_finit_module+0xe/0x10
[    5.414974]  [<ffffffff818385f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[    5.414975] Code:
[    5.414975] 8d
[    5.414976] 14
[    5.414976] 09
[    5.414976] 09
[    5.414976] d0
[    5.414977] c3
[    5.414977] 66
[    5.414977] 90
[    5.414977] 66
[    5.414977] 2e
[    5.414978] 0f
[    5.414978] 1f
[    5.414978] 84
[    5.414978] 00
[    5.414979] 00
[    5.414979] 00
[    5.414979] 00
[    5.414979] 00
[    5.414980] 0f
[    5.414980] 1f
[    5.414980] 44
[    5.414980] 00
[    5.414980] 00
[    5.414981] 55
[    5.414981] 48
[    5.414981] 89
[    5.414981] e5
[    5.414982] 5d
[    5.414982] c3
[    5.414982] 0f
[    5.414982] 1f
[    5.414983] 44
[    5.414983] 00
[    5.414983] 00
[    5.414983] 0f
[    5.414983] 1f
[    5.414984] 44
[    5.414984] 00
[    5.414984] 00
[    5.414984] 55
[    5.414985] 48
[    5.414985] 89
[    5.414985] f8
[    5.414985] <48>
[    5.414986] c7
[    5.414986] 87
[    5.414986] b0
[    5.414986] 00
[    5.414987] 00
[    5.414987] 00
[    5.414987] 40
[    5.414988] 20
[    5.414988] 7d
[    5.414988] c0
[    5.414988] 48
[    5.414988] c7
[    5.414989] 87
[    5.414989] 50
[    5.414989] 01
[    5.414989] 00
[    5.414990] 00
[    5.414990] 00
[    5.414990] 20
[    5.414990] 7d

[    5.414991] RIP
[    5.414992]  [<ffffffffc07d2059>] tbsfe_attach+0x9/0xfb0 [tbsfe]
[    5.414993]  RSP <ffff8800b5893a28>
[    5.414993] CR2: 00000000000000b0
[    5.415035] ---[ end trace 604330729c960b5f ]---


Output lspci -vvnn:
Code: Select All Code
05:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev ff) (prog-if ff)
   !!! Unknown header type 7f
   Kernel driver in use: SAA716x TBS
   Kernel modules: saa716x_tbs_dvb

Output uname -a
Code: Select All Code
Linux F1A75-PC 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Electuur
 
Posts: 6
Joined: Sat Oct 13, 2012 5:37 pm

Re: Is it possible to run TBS6985 on Linux?

Postby steven » Mon Jul 03, 2017 10:51 am

Hi Electuur

Can you send your whole dmesg log and lspci log to my email steven#tbsdtv.com ?
we will have a check with this ,and if it is ok you can send your SSH information to my email too .

Thanks

Kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm

Re: Is it possible to run TBS6985 on Linux?

Postby Electuur » Tue Jul 18, 2017 7:15 pm

Hello Steven,

I mailed the log files on 2 July 2017 at 22:48 with the name Jacques van Langen. If TBS doesn't support the TBS6985 no more, please tell me where I can download the latest drivers that do work, and what the latest Ubuntu version is that is compatible.

Thanks, kind regards,
Jacques van Langen
Electuur
 
Posts: 6
Joined: Sat Oct 13, 2012 5:37 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests