Re: MythTV WAS: [Re: [gentoo-user] Are the video files there, or aren't they?] [SOLVED sort of]

2009-02-19 Thread Joost Roeleveld
On Thu, February 19, 2009 6:12 am, Michael Sullivan wrote:
 On Thu, 2009-02-19 at 04:42 +, Stroller wrote:
 On 18 Feb 2009, at 22:41, Michael Sullivan wrote:


snip


 Is it possible that, when you booted with the new kernel  no cards
 were found they were removed from MythTV's database?

 I have never used MythTV, but maybe - under the old kernel - you can
 add them back in using MythTV's setup and they'll work again?

 This doesn't help why the cards are not shown under the new kernel,
 but if you are easily able to add them in then it would demonstrate
 that your hardware is OK  perhaps inspire confidence.

 Stroller.

 I got Myth to work with the 2.6.26-r4 kernel, but I don't plan on using
 this kernel forever.  Is there any way I can find out what modules are
 being loaded with this kernel that aren't being loaded with the new one?

You could check the output of lspci -v to check which drivers are used
for the video-capture card you are using.

--
Joost




[gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Michael Sullivan
I've had a lot of problems with X today.  I finally got X back up, but
when I went to check MythTV, it didn't work.  I started tracking down
the problem.  I went into mythtv-setup and it said that it couldn't find
any video inputs, so I examined /dev/v4l/video0.  What I found was
really confusing:

camille ~ # ls -l /dev/v4l
total 0
crw-rw 1 root video 81,  64 Feb 18 09:20 radio0
crw-rw 1 root video 81, 224 Feb 18 09:20 vbi0
crw-rw 1 root video 81,   0 Feb 18 09:20 video0
crw-rw 1 root video 81,  24 Feb 18 09:20 video24
crw-rw 1 root video 81,  32 Feb 18 09:20 video32
camille ~ # cat /dev/v4l/video0 
cat: /dev/v4l/video0: No such device or address


Is it there, or isn't it?  I don't know if it matters, but when I was
trying to fix the X problem, I built and booted with a new kernel:

camille ~ # uname -a
Linux camille 2.6.27-gentoo-r8 #1 SMP Wed Feb 18 14:20:01 CST 2009 i686
GNU/Linux


Please help!




Re: [gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Albert Hopkins
On Wed, 2009-02-18 at 15:30 -0600, Michael Sullivan wrote:
 I've had a lot of problems with X today.  I finally got X back up, but
 when I went to check MythTV, it didn't work.  I started tracking down
 the problem.  I went into mythtv-setup and it said that it couldn't find
 any video inputs, so I examined /dev/v4l/video0.  What I found was
 really confusing:
 
 camille ~ # ls -l /dev/v4l
 total 0
 crw-rw 1 root video 81,  64 Feb 18 09:20 radio0
 crw-rw 1 root video 81, 224 Feb 18 09:20 vbi0
 crw-rw 1 root video 81,   0 Feb 18 09:20 video0
 crw-rw 1 root video 81,  24 Feb 18 09:20 video24
 crw-rw 1 root video 81,  32 Feb 18 09:20 video32
 camille ~ # cat /dev/v4l/video0 
 cat: /dev/v4l/video0: No such device or address
 
 
 Is it there, or isn't it?  I don't know if it matters, but when I was
 trying to fix the X problem, I built and booted with a new kernel:

This is most likely completely unrelated to your issues with X.  This is
a problem with your tuner card or its drivers.

If you compiled a new kernel did you remember to re-compile any
out-of-tree kernel modules?  Are you sure the tuner drivers have the
correct (versions of) firmware to load?  Did you check dmesg?

-a





Re: [gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Michael Sullivan
On Wed, 2009-02-18 at 16:34 -0500, Albert Hopkins wrote:
 On Wed, 2009-02-18 at 15:30 -0600, Michael Sullivan wrote:
  I've had a lot of problems with X today.  I finally got X back up, but
  when I went to check MythTV, it didn't work.  I started tracking down
  the problem.  I went into mythtv-setup and it said that it couldn't find
  any video inputs, so I examined /dev/v4l/video0.  What I found was
  really confusing:
  
  camille ~ # ls -l /dev/v4l
  total 0
  crw-rw 1 root video 81,  64 Feb 18 09:20 radio0
  crw-rw 1 root video 81, 224 Feb 18 09:20 vbi0
  crw-rw 1 root video 81,   0 Feb 18 09:20 video0
  crw-rw 1 root video 81,  24 Feb 18 09:20 video24
  crw-rw 1 root video 81,  32 Feb 18 09:20 video32
  camille ~ # cat /dev/v4l/video0 
  cat: /dev/v4l/video0: No such device or address
  
  
  Is it there, or isn't it?  I don't know if it matters, but when I was
  trying to fix the X problem, I built and booted with a new kernel:
 
 This is most likely completely unrelated to your issues with X.  This is
 a problem with your tuner card or its drivers.
 
 If you compiled a new kernel did you remember to re-compile any
 out-of-tree kernel modules?  Are you sure the tuner drivers have the
 correct (versions of) firmware to load?  Did you check dmesg?
 
 -a
 

camille ~ # dmesg
00 TTL=54 ID=8094 PROTO=UDP SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.236.79.150
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=121 ID=27235 PROTO=UDP
SPT=38540 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8097 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8100 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=24.148.134.52
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=115 ID=8596 PROTO=UDP
SPT=9072 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=24.148.134.52
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=115 ID=8620 PROTO=UDP
SPT=9072 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=24.148.134.52
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=115 ID=8649 PROTO=UDP
SPT=9072 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.236.79.150
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=121 ID=27307 PROTO=UDP
SPT=38540 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8112 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8115 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8123 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8128 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8133 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8136 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8140 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8144 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8148 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8149 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8152 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=98.166.149.75
DST=192.168.1.3 LEN=636 TOS=0x00 

Re: [gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Neil Bothwick
On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:

 Is it there, or isn't it?  I don't know if it matters, but when I was
 trying to fix the X problem, I built and booted with a new kernel:

Did you try going back to the old kernel?


-- 
Neil Bothwick

Top Oxymorons Number 36: Alone together


signature.asc
Description: PGP signature


MythTV WAS: [Re: [gentoo-user] Are the video files there, or aren't they?]

2009-02-18 Thread Michael Sullivan
On Wed, 2009-02-18 at 22:15 +, Neil Bothwick wrote:
 On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:
 
  Is it there, or isn't it?  I don't know if it matters, but when I was
  trying to fix the X problem, I built and booted with a new kernel:
 
 Did you try going back to the old kernel?
 

I went back to the old kernel 

camille ~ # uname -a
Linux camille 2.6.26-gentoo-r4 #1 SMP Sat Dec 13 17:31:25 CST 2008 i686
GNU/Linux


and the video worked, at least from /dev/v4l/video0.  This is a
temporary solution, but now I can't get mythtv to work.  LiveTV won't
work, and it won't show my upcoming programs.  I've verified that mysql
is running:

camille ~ # ps ax | grep mysql
16099 ?Ssl0:52 /usr/sbin/mysqld
--defaults-file=/etc/mysql/my.cnf --basedir=/usr
--datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid
--socket=/var/run/mysqld/mysqld.sock


and when I run mythbackend and frontend in a terminal, I get this:

camille ~ # mythbackend
2009-02-18 16:39:56.181 Using runtime prefix = /usr
2009-02-18 16:39:56.183 Empty LocalHostName.
2009-02-18 16:39:56.183 Using localhost value of camille
2009-02-18 16:39:56.204 New DB connection, total: 1
2009-02-18 16:39:56.210 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:56.211 Closing DB connection named 'DBManager0'
2009-02-18 16:39:56.212 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:56.215 New DB connection, total: 2
2009-02-18 16:39:56.223 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:56.228 Current Schema Version: 1214
Starting up as the master server.
2009-02-18 16:39:56.242 mythbackend: MythBackend started as master
server
2009-02-18 16:39:56.253 TVRec(2) Error: Problem finding starting
channel, setting to default of '3'.
2009-02-18 16:39:56.260 ChannelBase(2) Error: InitializeInputs(): 
Could not get inputs for the capturecard.
Perhaps you have forgotten to bind video
sources to your card's inputs?
2009-02-18 16:39:56.262 mythbackend: Problem with capture cards: Card
2failed init
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
2009-02-18 16:39:56.265 mythbackend: No capture cards are defined:
Please run the setup program.
2009-02-18 16:39:56.270 New DB connection, total: 3
2009-02-18 16:39:56.273 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:57.570 Main::Registering HttpStatus Extension
2009-02-18 16:39:57.570 mythbackend version: 0.21.20080304-1
www.mythtv.org
2009-02-18 16:39:57.570 Enabled verbose msgs:  important general
2009-02-18 16:39:57.574 AutoExpire: CalcParams(): Max required Free
Space: 0.0 GB w/freq: 15 min
2009-02-18 16:40:06.254 mythbackend: Running housekeeping thread
2009-02-18 16:40:06.333 UPnpMedia: BuildMediaMap VIDEO scan starting
in :/share/Movies/dvd:
2009-02-18 16:40:06.333 UPnpMedia: BuildMediaMap Done. Found 0 objects
2009-02-18 16:40:14.551 MainServer::HandleAnnounce Monitor
2009-02-18 16:40:14.551 adding: camille as a client (events: 0)
2009-02-18 16:40:14.553 MainServer::HandleAnnounce Monitor
2009-02-18 16:40:14.553 adding: camille as a client (events: 1)

mich...@camille ~ $ mythfrontend
2009-02-18 16:40:05.310 Using runtime prefix = /usr
2009-02-18 16:40:06.037 XScreenSaver support enabled
2009-02-18 16:40:06.038 DPMS is active.
2009-02-18 16:40:06.053 Empty LocalHostName.
2009-02-18 16:40:06.053 Using localhost value of camille
2009-02-18 16:40:06.105 New DB connection, total: 1
2009-02-18 16:40:06.110 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:40:06.112 Closing DB connection named 'DBManager0'
2009-02-18 16:40:06.117 Primary screen 0.
2009-02-18 16:40:06.117 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:40:06.119 Using screen 0, 1024x768 at 0,0
2009-02-18 16:40:06.136 New DB connection, total: 2
2009-02-18 16:40:06.136 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:40:06.141 mythfrontend version: 0.21.20080304-1
www.mythtv.org
2009-02-18 16:40:06.141 Enabled verbose msgs:  important general
2009-02-18 16:40:07.355 No theme
dir: /home/michael/.mythtv/themes/G.A.N.T
2009-02-18 16:40:07.358 Primary screen 0.
2009-02-18 16:40:07.360 Using screen 0, 1024x768 at 0,0
2009-02-18 16:40:07.361 No theme
dir: /home/michael/.mythtv/themes/G.A.N.T
2009-02-18 16:40:07.363 Switching to square mode (G.A.N.T)
2009-02-18 16:40:07.409 Using the Qt painter
mythtv: could not connect to socket
mythtv: No such file or directory
2009-02-18 16:40:07.415 lirc_init failed for mythtv, see preceding
messages
2009-02-18 16:40:07.416 JoystickMenuClient Error: Joystick disabled -
Failed to read /home/michael/.mythtv/joystickmenurc
2009-02-18 16:40:08.835 Loading
from: /usr/share/mythtv/themes/G.A.N.T/base.xml
2009-02-18 16:40:08.977 Loading
from: /usr/share/mythtv/themes/default/base.xml
2009-02-18 16:40:09.155 

Re: MythTV WAS: [Re: [gentoo-user] Are the video files there, or aren't they?]

2009-02-18 Thread Stroller


On 18 Feb 2009, at 22:41, Michael Sullivan wrote:


On Wed, 2009-02-18 at 22:15 +, Neil Bothwick wrote:

On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:

Is it there, or isn't it?  I don't know if it matters, but when I  
was

trying to fix the X problem, I built and booted with a new kernel:


Did you try going back to the old kernel?


I went back to the old kernel

camille ~ # uname -a
Linux camille 2.6.26-gentoo-r4 #1 SMP Sat Dec 13 17:31:25 CST 2008  
i686

GNU/Linux


and the video worked, at least from /dev/v4l/video0.  This is a
temporary solution, but now I can't get mythtv to work.  LiveTV won't
work, and it won't show my upcoming programs.  I've verified that  
mysql

is running:

...
and when I run mythbackend and frontend in a terminal, I get this:
...
ERROR: no valid capture cards are defined in the database.


Is it possible that, when you booted with the new kernel  no cards  
were found they were removed from MythTV's database?


I have never used MythTV, but maybe - under the old kernel - you can  
add them back in using MythTV's setup and they'll work again?


This doesn't help why the cards are not shown under the new kernel,  
but if you are easily able to add them in then it would demonstrate  
that your hardware is OK  perhaps inspire confidence.


Stroller.




Re: MythTV WAS: [Re: [gentoo-user] Are the video files there, or aren't they?] [SOLVED sort of]

2009-02-18 Thread Michael Sullivan
On Thu, 2009-02-19 at 04:42 +, Stroller wrote:
 On 18 Feb 2009, at 22:41, Michael Sullivan wrote:
 
  On Wed, 2009-02-18 at 22:15 +, Neil Bothwick wrote:
  On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:
 
  Is it there, or isn't it?  I don't know if it matters, but when I  
  was
  trying to fix the X problem, I built and booted with a new kernel:
 
  Did you try going back to the old kernel?
 
  I went back to the old kernel
 
  camille ~ # uname -a
  Linux camille 2.6.26-gentoo-r4 #1 SMP Sat Dec 13 17:31:25 CST 2008  
  i686
  GNU/Linux
 
 
  and the video worked, at least from /dev/v4l/video0.  This is a
  temporary solution, but now I can't get mythtv to work.  LiveTV won't
  work, and it won't show my upcoming programs.  I've verified that  
  mysql
  is running:
 
  ...
  and when I run mythbackend and frontend in a terminal, I get this:
  ...
  ERROR: no valid capture cards are defined in the database.
 
 Is it possible that, when you booted with the new kernel  no cards  
 were found they were removed from MythTV's database?
 
 I have never used MythTV, but maybe - under the old kernel - you can  
 add them back in using MythTV's setup and they'll work again?
 
 This doesn't help why the cards are not shown under the new kernel,  
 but if you are easily able to add them in then it would demonstrate  
 that your hardware is OK  perhaps inspire confidence.
 
 Stroller.

I got Myth to work with the 2.6.26-r4 kernel, but I don't plan on using this 
kernel forever.  Is there any way I can find out what modules are being loaded 
with this kernel that aren't being loaded with the new one?