Moderator Control Panel ]

MythTV failing to add in 6921 card..

MythTV failing to add in 6921 card..

Postby manaesh » Fri Feb 04, 2011 3:29 am

Hi

I have brought a 6921.

I have had mythtv installed and running on a DVB-T card for 2 months without a problem.

I installed the drivers as per the readme:

output from :
root@WB-NAS:~/tbs# dmesg | grep cx23885
[ 22.824163] cx23885 driver version 0.0.2 loaded
[ 22.824203] cx23885 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 22.824563] CORE cx23885[0]: subsystem: 6921:8888, board: TurboSight TBS 6921 [card=31,autodetected]
[ 23.566137] cx25840 3-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
[ 24.306588] cx25840 3-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
[ 24.314116] cx23885_dvb_register() allocating 1 frontend(s)
[ 24.314120] cx23885[0]: cx23885 based dvb card
[ 24.358485] DVB: registering new adapter (cx23885[0])
[ 24.385636] cx23885_dev_checkrevision() Hardware revision = 0xb0
[ 24.385643] cx23885[0]/0: found at 0000:01:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xfe800000
[ 24.385650] cx23885 0000:01:00.0: setting latency timer to 64
[ 24.460162] input: cx23885 IR (TurboSight TBS 6921) as /devices/pci0000:00/0000:00:01.0/0000:01:00.0/rc/rc0/input7
[ 24.460229] rc0: cx23885 IR (TurboSight TBS 6921) as /devices/pci0000:00/0000:00:01.0/0000:01:00.0/rc/rc0

Output from :
root@WB-NAS:~/tbs# dmesg | grep tbs6921fe
[ 24.339781] tbs6921fe: module license 'TurboSight Proprietary' taints kernel.
[ 536.192668] tbs6921fe: software version is 1.24

Output from : var/log/messages
Feb 3 18:31:21 WB-NAS kernel: [ 24.358485] DVB: registering new adapter (cx23885[0])
Feb 3 18:31:21 WB-NAS kernel: [ 24.358489] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6921 DVBS/S2 frontend)...
Feb 3 19:14:58 WB-NAS kernel: [ 2642.493503] DVB: adapter 2 frontend 0 frequency 89399990 out of range (950000..2150000)
Feb 3 19:14:58 WB-NAS kernel: [ 2643.150295] DVB: adapter 2 frontend 0 frequency 89399990 out of range (950000..2150000)


Output from :

root@WB-NAS:~/tbs# ls -lR /dev/dvb
/dev/dvb:
total 20
drwxr-xr-x 2 root root 120 2011-02-03 18:31 adapter1
drwxr-xr-x 2 root root 120 2011-02-03 18:31 adapter2
-rw-r--r-- 1 root root 18074 2011-02-03 19:15 channels.conf

/dev/dvb/adapter1:
total 0
crw-rw---- 1 root video 212, 0 2011-02-03 18:31 demux0
crw-rw---- 1 root video 212, 1 2011-02-03 18:31 dvr0
crw-rw---- 1 root video 212, 3 2011-02-03 18:31 frontend0
crw-rw---- 1 root video 212, 2 2011-02-03 18:31 net0

/dev/dvb/adapter2:
total 0
crw-rw---- 1 root video 212, 5 2011-02-03 18:31 demux0
crw-rw---- 1 root video 212, 6 2011-02-03 18:31 dvr0
crw-rw---- 1 root video 212, 4 2011-02-03 18:31 frontend0
crw-rw---- 1 root video 212, 7 2011-02-03 18:31 net0


I can scan via scan :-

scan -x0 -a 2 /usr/share/dvb/dvb-s/Astra-28.2E | tee channels.conf
cut
0x0000 0xd386: pmt_pid 0x010e BSkyB -- JML Direct (running)
0x0000 0xd395: pmt_pid 0x010f BSkyB -- Fitness TV (running)
0x0000 0xd355: pmt_pid 0x0104 BSkyB -- wedding tv asia (running)
0x0000 0xd356: pmt_pid 0x010c BSkyB -- Travel Channel (running)
0x0000 0xd357: pmt_pid 0x010d BSkyB -- RetailTherapytv (running)
0x0000 0xd35a: pmt_pid 0x010a BSkyB -- JML Cookshop (running)
0x0000 0xd35b: pmt_pid 0x0103 BSkyB -- SAB TV (running, scrambled)
0x0000 0xd35e: pmt_pid 0x0108 BSkyB -- CBS Action (running)
Network Name 'ASTRA'
Network Name 'ASTRA'

And get a conf file....

However - when trying to install into mythtv 0.23

When I add a capture card (DVB DTV v3) - can can select the new adaptor2 - but it says :

Frontend ID - Could not get card info for /dev/dvb - Subtype unknown error.

I select LNB as usual from the DISCQ options, and add the card..

I create a Video Source and then try to associate that in Input connections.

I try to click scan for channels - but get a "failed to open card error"

Clicking next gives me a "Programmer Error"

Loads of googling has not thrown up this error or any fix.

Can anyone help???

Many thanks

Mike Bennett
Last edited by manaesh on Fri Feb 04, 2011 3:33 am, edited 1 time in total.
manaesh
 
Posts: 20
Joined: Fri Feb 04, 2011 3:15 am

Re: MythTV failing to add in 6921 card..

Postby manaesh » Fri Feb 04, 2011 3:31 am

Sorry - forgot to add

running Ubuntu 10.10 x64 on a Dell 745 PC.... with a load of RAM...
manaesh
 
Posts: 20
Joined: Fri Feb 04, 2011 3:15 am

Re: MythTV failing to add in 6921 card..

Postby cody » Fri Feb 04, 2011 5:41 am

hi Mike,

the logs shows that the driver is correctly install and fully functional, which is double confirmed from your test with 'scan'. however, obviously the problem is MythTV configuration and it seems to me it's clear why: you select "(DVB DTV v3)", which should mean adapter that is using Linux DVB API v3 - your DVB-T adapter indeed uses API that is v3 compatible, but no any DVB-S2 hardware can use Linux DVB API v3, because that API version doesn't support DVB-S2 - in Linux DVB-S2 hardware drivers use Linux DVB API v5.x, which is also known as "S2API". so, please, check MythTV documentation how to configure S2API/ Linux DVB API v5.x compatible adapter in the application.

regards,
cody
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: MythTV failing to add in 6921 card.. - SOLVED

Postby manaesh » Fri Feb 04, 2011 7:45 am

For anyones info -

MythTV was not the problem - it was permissions.

It was the permissions on /dev/dvb/adaptor?/frontend0. Root owns them and the video group has read access, but everyone has no access.

We added in the current user - and we can now view the card and scan for channels....

Might we worth adding to a FAQ to save headaches!!

Cheers

Mike
manaesh
 
Posts: 20
Joined: Fri Feb 04, 2011 3:15 am

Re: MythTV failing to add in 6921 card..

Postby cody » Mon Feb 07, 2011 4:53 am

Mike, thanks for reporting back the solution, i'm sure all customers that experience similar issue will benefit from that information.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests