Project

General

Profile

Missing adapters/no services - RPi & RaspBMC, KWorld UB499-2T T09 DVB-T

Added by Conrad Brookman over 11 years ago

Hi Folks,

Hoping that someone will be able to assist with some strange problems I've been having...

First up here's all my specs:

Ram: 512
Installation media: SD Card, SanDisk 8GB
Connection: ethernet
Power Supply Type: USB (direct to Pi)
Power specs: RPi power adapter, 5V 1.2A
Peripherals: Powered USB hub, wireless keyboard, USB keyboard (for when I just need quick access during all this setup), 1TB external HDD (separate power supply), KWorld UB499-2T T09 DVB-T tuner (connected to the powered USB supply)
Storage Device: NAS (for video/movie playback), Ext. HDD (for eventual Live TV recording)
RaspBMC version: raspbmc-rls-1.0-hardfp-b20130208-u20130208
XBMC version: 12.0
Codecs: MPEG-2 and VC-1 (Entered using the RaspBMC settings, didn't edit config.txt)
Audio/Video Output: HDMI
Overclocked: No
Config.txt Extras: Haven't touched anything there

So for the setup I just installed RaspBMC on the SD card, and put it in the RPi - no problem.

Trying to get the Live TV working - I purchased the KWorld UB499 DVB-T because I saw it for a good price locally and LinuxTV.org says that it's supported. I couldn't find much info out there about it, but at least one person who has it working on their RPi so I thought that was promising.

I found the right firmware (dvb-usb-it9137-01.fw) and placed that in /lib/firmware. Next I ran these commands:
sudo apt-get update
sudo apt-get install unzip libcurl4-openssl-dev pkg-config git build-essential dvb-apps

I'm not sure if that was actually needed, or maybe it's caused my problems. I only did that because I was trying to follow another guide here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=18090

I enabled TVheadend through RaspBMC, went to setup TVheadend (the web config) and can't select my TV adapter... so obviously I didn't set it up right. (I did reboot a couple of times in between all that as well.)

It sat for a while because I didn't have a chance to fiddle around with it... but the RPi had been restarted probably a couple of times, also the USB Tuner had been removed to try and use it on a laptop. Anyway - I just happened to see the TVheadend configuration page that was still open in my browser, and the adapter list was showing two options!

It was showing the adapters as "Kworld UB499-2T T09_1" and "Kworld UB499-2T T09_2". So I guess I can rule out any doubts about having the wrong firmware? Maybe it did just require a restart/unplug the USB Tuner and plug it back in. However then I tried to finish the TVheadend setup, but couldn't get any services.

Right now I've just come back to it trying to get it sorted, only now it wasn't showing any adapters at all and the TVheadend config page was loading really slowly. In between the config page was not loading at all. I tried typing tvheadend via SSH to check if it was running (it wasn't). It started and I noticed it showed the two adapters, however they still aren't showing up on the config page.

I have just rebooted the RPi to try and get a fresh start and still no adapters showing up.

Does anyone have an idea about what could be going on?
I'm thinking it may just be easier to do a clean install of RaspBMC and only add the DVB firmware and try that?

Cheers for any help on this! :)


Replies (3)

RE: Missing adapters/no services - RPi & RaspBMC, KWorld UB499-2T T09 DVB-T - Added by Adam Sutton over 11 years ago

Couple of quick questions, which version of TVH is this (it should be listed in the UI help/about page). And do the adapters show up in /dev/dvb/. Is there anything useful about the adapters in dmesg output.

Oh and I wouldn't expect much from XBMC+TVH on the pi, its been broken for a long time and no one has been able (or had the inclination) to fix it. Some stuff works (SDTV mostly) but even that's hit or miss.

Adam

RE: Missing adapters/no services - RPi & RaspBMC, KWorld UB499-2T T09 DVB-T - Added by Conrad Brookman over 11 years ago

Hi Adam,

TVH version is shown as "HTS Tvheadend 3.2.18~g40a8920-dirty". Do you think it would help to install a new version? Or is the problem more on the RaspBMC/XBMC side? And yep, the adapters show up in /dev/dvb as adapter0 and adapter1.

I had a look at dmesg (hope I got the usage right, I just typed dmesg in the shell and hit enter?) as far as the DVB goes it shows the DVB initialized and connected, but it also shows this:
dvb-usb: no frontend was attached by 'Kworld UB499-2T T09(IT9137)'
dvb-usb: will use the device's hardware PID filter (table count: 31).

And a 2nd time is shows no frontend attached, minus the following "will use device hardware PID" (which I'm guessing is related to the no frontend attached?)
It also shows quite a lot of these:
dvb-usb: error -71 while querying for an remote control event.

I put the entire output here to save clogging this thread, the DVB looks to show up first at line 217: http://pastebay.net/1197726

So TVH is broken on the Pi? But there seems to be plenty of people using it as a HTPC (including live TV)? Or did they need to do some fixes to get it working? If so, I think thats probably beyond me...

Edited to add >> Do you think it may be worth looking at running TVH on my NAS? (It's something from the QNAP range.) The NAS is always on anyway, could skip past those problems with Pi and XBMC?

RE: Missing adapters/no services - RPi & RaspBMC, KWorld UB499-2T T09 DVB-T - Added by Kev S over 11 years ago

On my Revo/Ubuntu install I needed to use the following line in the /etc/modules file for it to work

dvb-usb-it913x pid=1 adapter_nr=6,7

The pid=1 bit being key (perhaps something similar is needed on your Pi)?
(adapter_nr simply forcing it to always be /dev/dvb/adapter6 and /dev/dvb/adapter7 )

When it shows up in TVHeadend also make sure you tick "Disable PMT Monitoring" on both tuners.

    (1-3/3)