You are not logged in.

#1 2009-11-10 11:22:18

muzza
Member
Registered: 2009-10-20
Posts: 6

Mythbackend and hauppage USB tuner problems

I'm coming from using ubuntu for the last year and I've switched over to arch around a month ago. Everything on my server is running nicely and I've learnt more about Linux in the last few weeks than I did in a year of ubuntu, but I've got one last little problem I can't wrap my head around.
Please bear with me because I'm no where near my pc ( and won't be untill the weekend, but I've got remote ssh access to it if needs be )
with ubuntu I've been using a hauppage wintv nova T500 pci and a wintv USB stick. The pci card mounts itself as 2 USB tuners. I've loaded the firmware for the tuners (they both use the same firmware) and they show up when I check lsusb and dmesg.
I've tried mythtv from the repo and mythtv .22 built from the aur, both are giving me the same problem.

Mythbackend is loaded as a daemon in my rc.conf file and it loads fine but then errors out as it can't find any tuners.  the only way I can get myth to work is to unplug the USB tuner and pci card, remove mythbackend from my daemons and when I start the pc up plug the USB tuner in after I get to the command prompt then manually start mythbackend. This way it works fine everytime but I can't use the pci tuner as I don't fancy plugging that in while the pc's on

any help would be Appreciated as it's driving me nuts, I can grab any logfiles anyones after once I finish work (posting this from my phone at work)

Offline

#2 2009-11-10 11:24:41

muzza
Member
Registered: 2009-10-20
Posts: 6

Re: Mythbackend and hauppage USB tuner problems

Forgot to say that myth loaded fine using these tuners and the exact same hardware under ubuntu

Offline

#3 2009-11-10 11:25:12

muzza
Member
Registered: 2009-10-20
Posts: 6

Re: Mythbackend and hauppage USB tuner problems

Double post

Last edited by muzza (2009-11-10 11:26:31)

Offline

#4 2009-11-10 17:48:19

fastfret79
Member
Registered: 2009-09-05
Posts: 87

Re: Mythbackend and hauppage USB tuner problems

What do you get when you run the following?

dmesg | grep dvb

Offline

#5 2009-11-10 22:14:08

muzza
Member
Registered: 2009-10-20
Posts: 6

Re: Mythbackend and hauppage USB tuner problems

the output from that is:
usbcore: registered new interface driver dvb_usb_dib0700
dvb-usb: found a 'Hauppauge Nova-T Stick' in cold state, will try to load a firmware
usb 1-3: firmware: requesting dvb-usb-dib0700-1.20.fw
dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
dvb-usb: found a 'Hauppauge Nova-T Stick' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
dvb-usb: schedule remote query interval to 50 msecs.
dvb-usb: Hauppauge Nova-T Stick successfully initialized and connected.
Modules linked in: cpufreq_userspace rfcomm sco bridge stp llc bnep l2cap it87 hwmon_vid ipv6 ext2 btusb bluetooth rfkill joydev hid_sunplus usbhid hid fan battery ac snd_hda_codec_realtek powernow_k8 freq_table snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_intel fuse dvb_usb_dib0700 snd_hda_codec snd_hwdep snd_pcm snd_timer ohci_hcd dib7000p snd ehci_hcd dib7000m dvb_usb mt2266 tuner_xc2028 dib3000mc dibx000_common mxl5007t xc5000 s5h1411 mt2060 parport_pc ppdev lgdt3305 nvidia(P) lp thermal parport psmouse pcspkr i2c_piix4 serio_raw button processor agpgart usbcore r8169 miisoundcore snd_page_alloc dvb_core dib0070 wmi sg evdev i2c_core rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sd_mod pata_acpi pata_atiixp ahci ata_generic libata scsi_mod


thats just the usb tuner plugged in, i took the pci one out before i left for the week.
to me it looks as if its registered properly and everythings fired in. But like i said im new to Arch and i was kinda used to just plugging stuff into ubunutu and it automagically working

Offline

#6 2009-11-11 11:16:01

fastfret79
Member
Registered: 2009-09-05
Posts: 87

Re: Mythbackend and hauppage USB tuner problems

Yep - looks like that is initialised properly. I have a Nova-TD-500 that uses the same firmware and that's almost identical to what I get (although I don't get the 'Modules linked in...' line)

See If you get any messages when you run 'sudo mythtv-setup' from a terminal and have a look at the end of /var/log/mythbackend.log for clues

Offline

#7 2009-11-11 16:23:59

muzza
Member
Registered: 2009-10-20
Posts: 6

Re: Mythbackend and hauppage USB tuner problems

ive just rebooted the pc remotely with the usb tuner plugged in,  dmesg | grep dvb is giving me the same output but if i use  dmesg | grep DiB (DiB0070 is the firmware) i get pages full of:
DiB0070 I2C write failed
DiB0070 I2C read failed
DiB0070 I2C write failed
DiB0070 I2C read failed
DiB0070 I2C write failed
DiB0070 I2C read failed
DiB0070 I2C write failed
DiB0070 I2C write failed
DiB0070 I2C write failed
DiB0070 I2C write failed

and im not at a loss what to do next, i suspect if i pull the stick out and plug it back in again it will work fine but i can physically get to the machine.

Last edited by muzza (2009-11-11 16:25:04)

Offline

#8 2009-11-12 00:44:58

Godofgrunts
Member
Registered: 2008-11-14
Posts: 43

Re: Mythbackend and hauppage USB tuner problems

I wonder if  something is running out of order. Try moving the MythTV daemon before HAL (if you're using it).

Offline

#9 2009-11-12 03:38:37

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: Mythbackend and hauppage USB tuner problems

Sounds to me like the tuner is initializing properly, but myth doesn't know about it. It will throw that error if the database isn't up.

See if mysql is running (pgrep -l my).

Offline

#10 2009-11-12 18:46:24

muzza
Member
Registered: 2009-10-20
Posts: 6

Re: Mythbackend and hauppage USB tuner problems

thanks for everyones help. ive shifted mysqld and mythbackend in my daemons line to near the front, just before hal.
mysql wasnt running because of a noob mistake by me (i had mysql in the line not mysqld).

im back physically infront of the pc tomorrow so i can see if it all worked properly, fingers crossed.

Offline

Board footer

Powered by FluxBB