Install Feedback V2.1 with DVB card

Hi All,

I have been using mythtv for about 2 years now. Proberly another year before that tying to get it going cos i could not afford the 'Standard' hardware.(in aust the PVR250 we $500, now i use DVB cards at $75)

I recntly moved and that made me do the big hardware shuffle for the home server and mythtv server. Along with that was a computer rebuild for my parents that got me a lowend celeron for a frontend.

THe Mythtv Server is currently a P3 1Ghz 500MB ram 20gb os drive, 80gb Music& mamae drive, 200gb /video drive. @x Dvico Fusion lite DVB cards running 0.18.1 happly-ish

So i decided that if i was coping heat from the the one who must be obayed,becuse she could not record desperate house wives, then i may as well upgrade to 0.19 and be done with it.

Comming from a windows world upgrades are not done lightly so i dug out an old P11 450 and stuffed a 10GB drive in it and one of the Dvico fusion cards. then decided to try out myth dora. grabed the CD (ver2.1) and burnt it. Assembled the pc and.....

Auto install f6
blah blah (fontend & backend in there somewhere)
all good.

get to the section on tv cards and select DVB,
then the remote section only has option for the 'major' cards, ok that is cool, select 8 'not on this list'

blah blah mythtv setup.
i could not doa lot here as by defualt TV_GRAB_AU is not distributed in the base mythtv package.
went on to try and get the tv channels, agian could not do much here as it had not found my Dvico card.
'could not open card type #0! subtype: no such file or dir'

Now i read somewhere on this froum that there are different versions of this card.

I am just going to try and find that now.

I'll keep you posted.

CH

I've just gotten back from

I've just gotten back from vacation and I did make that comment on perhaps it being a newer card when in fact I don't think it's that at all. The info where I got most of my info from was linuxtv.org and the damn DVB wiki was wrong on just this card it looks like. Someone has entered the Subsystem ID of an DVICO fusion Gold 3 I think is what it's called. Anyway, two different type cards so thats why your DVICO isn't being autodetected. To get it working add dvb-bt8xx to /etc/rc.modules. You can remove the other modules there if you want. As for your xmltv grabber, I have included a revised tv_grab_au script that is supposed to work and it's there if you ask for it. Thanks for giving MythDora a try in the down under ;^).

"Please ignore the man behind the curtain"
Dennis

all right, i know its there

all right, i know its there but i cant find it.
searched using different strings that include dvico, fusion,lite etc

I have reinstaled

Do you want to do a auot install press f6
graphical type auto

waiting.
installed, rebooted
time, set
Display, set
Sound, set

Finish setup
(text box)
Propietary video drivers, n
static ip, y
Host name, y
restart network,y
Frontend & backend,y
firewire port,n
No. of capture cards,1
type of card,7 (dvb)
usb dvb,n
remote, 8
compete yea....

mythtv setup
general ----
Capture cards type: DVB DTV capture card (v3.x)
*** (this should say zarlink or somthing sililar)
could not open card#0!

cant really go any further here, as the card wont set up
Asks to reboot
ohhh, this is new.... now i get a modprob error on start something about dvb drivers i think

and now it just sits there, dosent go into mythtvfrontend
open up a terminal, su to root. mythfrontend.

Databse Schema upgrade failed, existing

Any ideas?
CH

================================
M$ I can understand........
Linux is FANTASTIC, but, oh does it hurt my M$ embedded brain!!!

Hi Ding,

Hi Ding,

THanks, i have edited the file and replaced the entry with the DVB one above.

there is now probably going to be some owership issues with the card, it is rebooting now

error with the dvb entry, could not find it.
checking
Nope is right "dvb-bt8xx" is how it is in the etc/rc.modules. i removed everything else.

Also there is still the problem with the database not upgradeing.

Any ideas?

======================================
M$ I can understand........
Linux is FANTASTIC, but, oh does it hurt my M$ embedded brain!!!

Things dont work very well

Things dont work very well when there isn't a card it can detect. All I can say is let it go through its entire setup. The database problem sounds like it's not finished yet. I would actually tell it that you didn't have any cards at all and then add it in manually.

"Please ignore the man behind the curtain"
Dennis

Ok, lets start from teh

Ok, lets start from teh start, and i will reinstall then select no card and see what happens.

=====================
M$ I can understand........
Linux is FANTASTIC, but, oh does it hurt my M$ embedded brain!!!

Ok then,

Ok then,

I have just reinstalled and not selected a TVcard (selected 0) then 8 on teh remote menu

after running through(what i could) on the setup, it rebooted and went straight into mythtv frontend.

Seems to be all working.

Now to get the Dvico to work is it just matter of adding dvb-bt8xx to /etc/rc.modules? It cant be that easy.

CH

[EDIT]
i was right it wasnt, firstly i had some writes issues and owership issues. Figured out how to change owership with chown and +7777 (bad i know) with chmod fixed those issues.
now it comes up with an error saying that dvb-bt8xx is not a command or somthing.
i must have to put somthing else in the rc.modules file other than'dvb-bt8xx'

CH
[Edit Again]

I was right, it seems after a bit of searching you needed to put 'modprobe dvb-bt8xx' in there. that stopped the error, but there is another right at the start i for got to mention. sothing about 'starting bttv' then there is an error.

On the DVB fornt there must be more stuff to add to get the dvb card to work. There still is no /dev/dvb directory and mythtvsetup (after stopping the backend, stll says 'bugger off' (well sort anyway)(more like in the post above)

Now where?
CH

=======================
M$ I can understand........
Linux is FANTASTIC, but, oh does it hurt my M$ embedded brain!!!

You shouldn't be getting any

You shouldn't be getting any bttv errors at all. Were you getting these before? When you modprobe dvb-bt8xx its my understanding that the /dev/dvb directory gets created. The modprobe dvb-bt8xx should be all that you need in rc.modules to get things working. Have you read this post?
http://mythdora.com/?q=node/265

"Please ignore the man behind the curtain"
Dennis

/dev/dvb*

You can add to the rc.local file that will have in

chown mythtv:root /dev/video*
chown mythtv:root /dev/dvb* # add this line

Well think it was in rc.local will check it out some time but it allows mythtv-setup to work on dvb cards as mythtv user.#

regards

fred

Hi all,

Hi all,

the Bttv error is after the machine boots into the graphical startup, you click show output and it starts scrolling through the things its starting with a [ok] at the end.
the error is this, starting Bttv
Fixing BTTV startup, no ALI Northbridge M1647/1651 found.

It then completes and myth start. (it starts heaps quicker than my 0.18.1 P31gig, well done)

And yes Ding it has been there from the beginning, i assumed that it was an error cos i selected DVB in the first place and no card next.

Also, Ding, the post that you linked to was the one that i talked about up in the first or second post but could not find.
I re read it and picked up somthing. when i added 'modeprobe dvb-bt8xx' i didnt add the '/sbin/' in front.

I have just added that and restarted, the error above (fixing bttv) is still there, droped out of mythv stopped the backend and run setup.

Nope, still error card#0

On examining fdods post i found the RC.local that had the chown line in it and notice the '#!/bin/bash line at the top.
I say to myself, self i wonder if that is suppose to be in there and i deleted it. So i put it and restarted. Nope still could not open card#0 error.

Now i am going to remove the #!/bin/bash from the rc.modules file and add the chown line to the rc.local file

the 'fixing bttv' error is still there. and the 'could not open card#0 Subtype: no such file or dir' error is still insetup
also the /dev/dvb dir is not there.

Just to be clear the only thing in the rc.modules file is '/sbin/modprobe dvb-btxx' as per that other thread you pointed me to.

Also all the mythtv setu run in this post were done under user mythtv not root. I didnt test the other configs above under root.

and this latest config, i still get the 'card#0' error, with mythtvsetup run under root

ANything else?
seems strange that that the other person just got it working with that one line in the rc.modules. in the current 0.18.1 verson on my server the modprob dvb-btxx was started in the sysinit/ini file (ithink) to make it load first.
But that other guy got it to work with just the linein the rc.local.

One last thing, i tried just typing #/sbin/modprobe dvb-bt8xx into the root session on the terminal and it returned with no errors.

So i ran mythtvsetup as mythtv and root and it returned the same error

i tried the # /sbin/lspci -vn anf the same subsystem id was there, ion a different IRQ though.

thanks for your time.
CH

Still not sure why your

Still not sure why your seeing a bttv error. This comes built into the kernel itself and should work without incident. But if your not going to use it or get tired of seeing this, you can always turn it off with /sbin/chkconfig bttv off.
As for the other problems. Inserting /sbin/modprobe dvb-bt8xx in rc.modules should be enough. This makes it start well before mythbackend starts up. You can leave the #!/bin/bash in the script. Probably should be in there anyway. Now when you modprobed dvb-bt8xx from xterm, did you then check to see if /dev/dvb/adaptor0 was created? It should have been. When you go to mythtvsetup and want to open the card up, you first must stop mythbackend. This can be done with "killall -9 mythbackend". Then do a "chmod 666 /dev/dvb/adapter0/*" which will allow any user to make changes to the card. Do this as root by the way. The chmod command can be put into /etc/rc.d/rc.local so if you ever reboot the permissions will stick. I reworked things dealing with this last night and will add this to the updated version of MythDora.

"Please ignore the man behind the curtain"
Dennis

OK,

OK,

started box.
killed mythtv frontend
opened xterm
$
su
#
/sbin/service myhtbackend stop
[OK]
/sbin/modprobe dvb-bt8xx
#
cd /dev/dvb
Bash: cd: /dev/dvb: no such file.

An ls confirms that is it not there.

(Also the 'killall -9 mythbackend' does not work)

I know that there is a command to see if the module is loaded and another command to see if the backend is running other that the '/sbin/service mythbackend status' command.
What are they?

I am going to try it in another PCI slot, allthough i dont think that will make a differance.

CH

Uh, not sure why this isn't

Uh, not sure why this isn't working for you. The dvb-bt8xx should have created that for you. One thing you can try is to modprobe cx88-dvb and see if that will create that directory and devices for you. If that doesn't work then something is really wrong. The killall command works fine. It won't work if you have already turned it off. The module list command is /sbin/lsmod. That will tell you what modules are loaded and try something like ps ax | grep mythbackend to check status that way.

"Please ignore the man behind the curtain"
Dennis

Hi every one.

Hi every one.

Ok it is definatly a permission problem.

Once i checked to see if everything was loaded, witch it was, i unloaded everything and then tried /sbin/modprobe cx88-dvb and then tried to find the /dev/dvb dir. nothing.

SO i then use the chkconfig bttv off command and restarted.
A new error came up, it is after mythbackend loads, i think it is the last one, it says somthing like registering wine as windows somthing or other, but it then says cant access /dev/dvb

i cant get the excact message as it is very quick.

So i decided to reinstall selecting dvb for the tv card, no remote and then went though the post and check to see if it was all loading. which it was.
I stopped the bttv process and get the same error.

I then tried, as root to actually create the /dev/dvb folder using mkdir /etc/dvb. cd /dev/dvb its there.
reboot, gone. (even tried it again and did chmod +666 /dev/dvb mythtv, gone again)

so it seems i have some weird hardware, or something. but i can recreate the error every time.

any more ideas?

( i am reinstalling again to see if it does the same thing, but i wanna noew check the logs, please tell me the right ones. Probably should have done this first. )

(also i did add that chmod root:mythtv /dev/dev command into rc.local where the other one was, i am hoping that there is a log file somehwere that will list the error with that cammand)

CH

Something is really hosed on

Something is really hosed on your system. You shouldn't be getting any bttv errors at all. When loading the cx88-dvb module this should be creating the /dev/dvb stuff which it isn't. I would say start over. If this still continues after a fresh install then maybe things just aren't gonna work with MythDora.

"Please ignore the man behind the curtain"
Dennis

OK,

OK,

now we are getting somewhere. After reading you post i decided i needed to stop whiping a dead horse. I had reinstalled on the old PC 5 times to make sure that i was not doing somthing wrong. But once it started to do the disapearing DIR trick, i new it was the end. So i threw away the old PC i was using and broke out what will be the actuall frontend.
Celeron 566, 128 mb ram, dvd writer, 10gb hdd

Installed a fresh copy of 2.1 and selected DVB, no remote.

GUess what happend? it installed the Dvico Fusion lite cards DVB driver. Yep it loaded the DVB-bt8xx driver in the /etc/rc.modules. Go figure?
THe first clue that something new was going on was the fact that the DVB card was recignised by the mythtv setup.

COOOLS
shit me it even found the sound card. ok the TV_grab_au is all screwed up and the DVB card wont tune (there is no channels setup)
but hey the fact that it found the DVB card is very interesting.

CH