LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2015, 05:05 AM   #1
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 207

Rep: Reputation: 5
Question MYTHTVBACKEND on RPI2


Hello LQ Community,

I have MYTHTVBACKEND running on the latest raspbian image (15-05-2015 (dd-mm-yyyy)) from memory and have an issue:

I have recently added the missing firmware for my PCTV 292e and made some setting changes to add more configurations from within mythtv-setup to set up the frontend and run through the general settings to set the IP and database configurations.

Though I am seeing the following issue in the logs:

Code:
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: N CoreContext main_helpers.cpp:575 (run_backend) MythBackend: Starting up as the master server.
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: E CoreContext tv_rec.cpp:1736 (GetStartChannel) TVRec(1): Problem finding starting channel, setting to default of '3'.
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: I Logger logging.cpp:447 (initialTimeout) Added logging to mythlogserver at TCP:35327
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: E CoreContext channelbase.cpp:939 (InitializeInputs) InitializeInputs():
                        Could not get inputs for the capturecard.
                        Perhaps you have forgotten to bind video
                        sources to your card's inputs?
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: E CoreContext channelbase.cpp:1227 (CreateChannel) ChannelBase: CreateChannel() Error: Failed to open device /dev/dvb/adapter0/frontend0
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: E CoreContext main_helpers.cpp:199 (setupTVs) Problem with capture cardsCard 1failed init
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: E CoreContext tv_rec.cpp:1736 (GetStartChannel) TVRec(2): Problem finding starting channel, setting to default of '3'.
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:34 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:35 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:35 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:35 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:35 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:35 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Jun 20 09:51:35 TRACEYISLAND  mythbackend[3106]: W CoreContext dvbchannel.cpp:227 (Open) DVBChan(2:/dev/dvb/adapter0/frontend0): Opening DVB frontend device failed.
                        eno: Device or resource busy (16)
Can anybody assist with this? Clearly it is unable to open and initialise the PCTV device though I know the device is working fine on Windows Media Center (as I did a proof of concept test).
 
Old 06-20-2015, 05:26 AM   #2
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 207

Original Poster
Rep: Reputation: 5
Some further information:

pi@TRACEYISLAND /var/log/mythtv $ ls -la /dev/dvb/adapter0/frontend0
crw-rw---T 1 root video 212, 3 Jan 1 1970 /dev/dvb/adapter0/frontend0
 
Old 06-20-2015, 05:32 AM   #3
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 207

Original Poster
Rep: Reputation: 5
After looking at dmesg again it appears there is a device failure:

Quote:

31.409394] si2168 1-0064: found a 'Silicon Labs Si2168' in cold state
[ 31.412137] si2168 1-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw'
[ 31.538024] si2168 1-0064: firmware download failed=-110
[ 31.628501] si2168 1-0064: unknown chip version Si210-
[ 31.666160] si2168 1-0064: unknown chip version Si210-

 
Old 06-21-2015, 07:46 AM   #4
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 207

Original Poster
Rep: Reputation: 5
I have set up the video source and connected the input within mythtv-setup which has progressed the issue the main issues now are:

1) PCTV firmware errors
2) Master server fails to stay connected possibly due to issue 1 --see excerpt below
3) Channel scan occurs but I get no signal found for any channel (again likely to stem from point 1)

Quote:

===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2015-06-21 12:42:49.938731 I MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2015-06-21 12:42:56.941746 E MythSocket(6f736358:32): readStringList: Error, timed out after 7000 ms.
2015-06-21 12:42:56.942082 C Protocol version check failure.
The response to MYTH_PROTO_VERSION was empty.
This happens when the backend is too busy to respond,
or has deadlocked due to bugs or hardware failure.
2015-06-21 12:42:56.942257 E Error rescheduling MATCH 0 0 0 - MythFillDatabase in ScheduledRecording::SendReschedule
2015-06-21 12:42:56.942498 I MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2015-06-21 12:42:57.546268 I Using protocol version 75
2015-06-21 12:42:57.555625 N mythfilldatabase run complete.
 
Old 07-06-2015, 04:37 PM   #5
minfrin
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
Having the same problem, any luck?
 
Old 07-07-2015, 04:06 AM   #6
minfrin
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
What eventually solved this for me was a kernel upgrade: sudo rpi-update

The -110 means timeout, and the newer drivers have an increased timeout to cope with this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration