MythTV Community Forum - MythTV talk.com

Go Back   MythTV Community Forum - MythTV talk.com > MythTV > General
Want to give back to the MythTV Community? Help answer threads with 0 replies.


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-02-2006, 03:56 PM
MythTV Friend
 
Join Date: Sep 2006
Posts: 46
Default Mythtv won't record (failed to set channel)

The liveTV works just fine. It also record the program I was watching. But neither schedule recording nor manual recording worked. The error message from my backend showed that:

Error: Failed to set channel to 10. Reverting to kState_None
Changing from RecordingOnly to None

How do I solve this problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-02-2006, 04:39 PM
Cornerstone of the Community

 
Join Date: Jan 2006
Location: Albuquerque, NM
Posts: 1,382
Send a message via Yahoo to dknovick
Default Re: Mythtv won't record (failed to set channel)

Quote:
Originally Posted by unplug
The liveTV works just fine. It also record the program I was watching. But neither schedule recording nor manual recording worked. The error message from my backend showed that:

Error: Failed to set channel to 10. Reverting to kState_None
Changing from RecordingOnly to None

How do I solve this problem?
Lately, when people have has this problem there have been two solutions.

There is something wrong with your setup (even though liveTV works). You can delete all of your tuners (not one, by one, but all of 'em) and redo them.

Or the IP address between the backend and frontend was wrong.
see this thread
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-02-2006, 05:58 PM
MythTV Friend
 
Join Date: Sep 2006
Posts: 46
Default

I'll try to delete all of tuners although I only have one pvr-150 . I don't think there is a problem with the ip address because both backend and frontend are on the same machine and I use 127.0.0.1 with all ports in default.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-02-2006, 06:41 PM
Cornerstone of the Community

 
Join Date: Jan 2006
Location: Albuquerque, NM
Posts: 1,382
Send a message via Yahoo to dknovick
Default

Quote:
Originally Posted by unplug
I'll try to delete all of tuners although I only have one pvr-150 .
Deleting all, in short, cleans out the database so you can start "fresh"

Quote:
Originally Posted by unplug
I don't think there is a problem with the ip address because both backend and frontend are on the same machine and I use 127.0.0.1 with all ports in default.
Double check, just to be sure.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-03-2006, 06:03 AM
MythTV Friend in Training
 
Join Date: Jun 2006
Posts: 8
Default

Same situation here: Can't record anything I'm not watching, else the recordings turn up 0-sized. Removing all cards from the database and setting them up again borks, myth then no longer handles diseqc-commands (can't tune and can't scan anything but input 1). I have found that the diseqc_config table in database is empty after setting it all up from scratch (yes i do not accidentally leave the set-up process, cards are listed as they should afterwards). Then I have to restore a mysql backup of the entire database, and I'm back to square 1 (tunes all four inputs, but won't record unless i'm watching or just have been watching same channel).

I have tried to empty database totally and set all up fresh, most useless sunday I ever spent (would not scan or tune to the other three inputs). Both dvb-s card tunes and scans all four inputs on their respective diseqc-switch outside mythtv. I have two skystar2 dvb-s each connected to a 4-way diseq switch (Spaun). Same hardware setup has worked flawlessly with incredibly faulty and primitive software before and now works flawlessly with dvb-utils.

Dump snippet from faulty mysql-base after card setup:




--
-- Table structure for table `diseqc_config`
--

DROP TABLE IF EXISTS `diseqc_config`;
CREATE TABLE `diseqc_config` (
`cardinputid` int(10) unsigned NOT NULL,
`diseqcid` int(10) unsigned NOT NULL,
`value` varchar(16) NOT NULL default '',
KEY `id` (`cardinputid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `diseqc_config`
--


/*!40000 ALTER TABLE `diseqc_config` DISABLE KEYS */;
LOCK TABLES `diseqc_config` WRITE;
INSERT INTO `diseqc_config` (`cardinputid`, `diseqcid`, `value`) VALUES (1,1,'0'),(2,1,'1'),(3,1,'2'),(4,1,'3'),(5,6,'0'), (6,6,'1'),(7,6,'2'),(8,6,'3');
UNLOCK TABLES;
/*!40000 ALTER TABLE `diseqc_config` ENABLE KEYS */;

--
-- Table structure for table `diseqc_tree`
--

DROP TABLE IF EXISTS `diseqc_tree`;
CREATE TABLE `diseqc_tree` (
`diseqcid` int(10) unsigned NOT NULL auto_increment,
`parentid` int(10) unsigned default NULL,
`ordinal` tinyint(3) unsigned NOT NULL,
`type` varchar(16) NOT NULL default '',
`subtype` varchar(16) NOT NULL default '',
`description` varchar(32) NOT NULL default '',
`switch_ports` tinyint(3) unsigned NOT NULL default '0',
`rotor_hi_speed` float NOT NULL default '0',
`rotor_lo_speed` float NOT NULL default '0',
`rotor_positions` varchar(255) NOT NULL default '',
`lnb_lof_switch` int(10) NOT NULL default '0',
`lnb_lof_hi` int(10) NOT NULL default '0',
`lnb_lof_lo` int(10) NOT NULL default '0',
`cmd_repeat` int(11) NOT NULL default '1',
PRIMARY KEY (`diseqcid`),
KEY `parentid` (`parentid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `diseqc_tree`
--


/*!40000 ALTER TABLE `diseqc_tree` DISABLE KEYS */;
LOCK TABLES `diseqc_tree` WRITE;
INSERT INTO `diseqc_tree` (`diseqcid`, `parentid`, `ordinal`, `type`, `subtype`, `description`, `switch_ports`, `rotor_hi_speed`, `rotor_lo_speed`, `rotor_positions`, `lnb_lof_switch`, `lnb_lof_hi`, `lnb_lof_lo`, `cmd_repeat`) VALUES (1,NULL,0,'switch','diseqc','Switch',4,0,0,'',0,0, 0,1),(2,1,0,'lnb','voltage_tone','LNB',0,0,0,'',11 700000,10600000,9750000,1),(3,1,1,'lnb','voltage_t one','LNB',0,0,0,'',11700000,10600000,9750000,1),( 4,1,2,'lnb','voltage_tone','LNB',0,0,0,'',11700000 ,10600000,9750000,1),(5,1,3,'lnb','voltage_tone',' LNB',0,0,0,'',11700000,10600000,9750000,1),(6,NULL ,0,'switch','diseqc','Switch',4,0,0,'',0,0,0,1),(7 ,6,0,'lnb','voltage_tone','LNB',0,0,0,'',11700000, 10600000,9750000,1),(8,6,1,'lnb','voltage_tone','L NB',0,0,0,'',11700000,10600000,9750000,1),(9,6,2,' lnb','voltage_tone','LNB',0,0,0,'',11700000,106000 00,9750000,1),(10,6,3,'lnb','voltage_tone','LNB',0 ,0,0,'',11700000,10600000,9750000,1);
UNLOCK TABLES;
/*!40000 ALTER TABLE `diseqc_tree` ENABLE KEYS */;

--
-- Table structure for table `dtv_multiplex`
--



and dump snippet from restored, functioning (but not recording) mysql base:


--
-- Table structure for table `diseqc_config`
--

DROP TABLE IF EXISTS `diseqc_config`;
CREATE TABLE `diseqc_config` (
`cardinputid` int(10) unsigned NOT NULL,
`diseqcid` int(10) unsigned NOT NULL,
`value` varchar(16) NOT NULL default '',
KEY `id` (`cardinputid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `diseqc_config`
--


/*!40000 ALTER TABLE `diseqc_config` DISABLE KEYS */;
LOCK TABLES `diseqc_config` WRITE;
INSERT INTO `diseqc_config` (`cardinputid`, `diseqcid`, `value`) VALUES (1,1,'0'),(2,1,'1'),(3,1,'2'),(4,1,'3'),(5,6,'0'), (6,6,'1'),(7,6,'2'),(8,6,'3');
UNLOCK TABLES;
/*!40000 ALTER TABLE `diseqc_config` ENABLE KEYS */;

--
-- Table structure for table `diseqc_tree`
--

DROP TABLE IF EXISTS `diseqc_tree`;
CREATE TABLE `diseqc_tree` (
`diseqcid` int(10) unsigned NOT NULL auto_increment,
`parentid` int(10) unsigned default NULL,
`ordinal` tinyint(3) unsigned NOT NULL,
`type` varchar(16) NOT NULL default '',
`subtype` varchar(16) NOT NULL default '',
`description` varchar(32) NOT NULL default '',
`switch_ports` tinyint(3) unsigned NOT NULL default '0',
`rotor_hi_speed` float NOT NULL default '0',
`rotor_lo_speed` float NOT NULL default '0',
`rotor_positions` varchar(255) NOT NULL default '',
`lnb_lof_switch` int(10) NOT NULL default '0',
`lnb_lof_hi` int(10) NOT NULL default '0',
`lnb_lof_lo` int(10) NOT NULL default '0',
`cmd_repeat` int(11) NOT NULL default '1',
PRIMARY KEY (`diseqcid`),
KEY `parentid` (`parentid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `diseqc_tree`
--


/*!40000 ALTER TABLE `diseqc_tree` DISABLE KEYS */;
LOCK TABLES `diseqc_tree` WRITE;
INSERT INTO `diseqc_tree` (`diseqcid`, `parentid`, `ordinal`, `type`, `subtype`, `description`, `switch_ports`, `rotor_hi_speed`, `rotor_lo_speed`, `rotor_positions`, `lnb_lof_switch`, `lnb_lof_hi`, `lnb_lof_lo`, `cmd_repeat`) VALUES (1,NULL,0,'switch','diseqc','Switch',4,0,0,'',0,0, 0,1),(2,1,0,'lnb','voltage_tone','LNB',0,0,0,'',11 700000,10600000,9750000,1),(3,1,1,'lnb','voltage_t one','LNB',0,0,0,'',11700000,10600000,9750000,1),( 4,1,2,'lnb','voltage_tone','LNB',0,0,0,'',11700000 ,10600000,9750000,1),(5,1,3,'lnb','voltage_tone',' LNB',0,0,0,'',11700000,10600000,9750000,1),(6,NULL ,0,'switch','diseqc','Switch',4,0,0,'',0,0,0,1),(7 ,6,0,'lnb','voltage_tone','LNB',0,0,0,'',11700000, 10600000,9750000,1),(8,6,1,'lnb','voltage_tone','L NB',0,0,0,'',11700000,10600000,9750000,1),(9,6,2,' lnb','voltage_tone','LNB',0,0,0,'',11700000,106000 00,9750000,1),(10,6,3,'lnb','voltage_tone','LNB',0 ,0,0,'',11700000,10600000,9750000,1);
UNLOCK TABLES;
/*!40000 ALTER TABLE `diseqc_tree` ENABLE KEYS */;

--
-- Table structure for table `dtv_multiplex`
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-04-2006, 03:35 AM
MythTV Friend
 
Join Date: Sep 2006
Posts: 46
Default ok it seems to be working

I deleted the database and rebuild it. Then ran through the mythtv-setup again and it seemed to be working. BUT...when I did a full scan, it only scan up to channel 13. What's going on?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 10-04-2006, 05:45 AM
MythTV Friend
 
Join Date: Sep 2006
Posts: 46
Default

I am so stupid. Under General ->Channel Frequency Table, I selected us-bcase by accident. After I selected us-cable, everything worked just fine
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
MythTv won't record on one channel yardbirdsax General 4 12-31-2008 03:08 PM
Failed record while watching recordings keronian General 11 12-14-2007 06:31 PM
LiveTV - Change channel, record jantman General 2 04-11-2007 08:50 PM
Mythtv-setup - Failed to open card - Hauppauge Nova-T tjw26 Installation Issues 4 11-16-2006 11:52 AM
watch one channel and record another with Comcast balagan General 2 03-10-2006 09:59 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:20 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2