LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-15-2006, 10:42 PM   #1
pikohn
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
MythTV and ubuntu...help!


Hello,

I'd like to start off by saying hi to all the linux gurus out there...i've been using linux on and off for about 6 years now, and recently decided to make it my main desktop. Everything was going good, until I tried to get my tvcard working with mythtv. I've read the how-to's, followed the instructions, but I still can get myth to work. I don't know if it's because the card is not supported or because I did something wrong.

Here's is the error I get

Code:
2006-09-15 23:40:04.403 New DB connection, total: 1
Total desktop width=1680, height=1050, numscreens=1
2006-09-15 23:40:04.411 Using screen 0, 1680x1050 at 0,0
2006-09-15 23:40:04.413 Switching to square mode (G.A.N.T.)
2006-09-15 23:40:05.164 New DB connection, total: 2
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2006-09-15 23:40:05.198 Joystick disabled.
2006-09-15 23:40:05.206 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2006-09-15 23:40:05.217 Using protocol version 15
2006-09-15 23:40:05.270 Using protocol version 15
2006-09-15 23:40:05.457 Disable DPMS
2006-09-15 23:40:05.678 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-09-15 23:40:05.902 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-09-15 23:40:06.126 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-09-15 23:40:06.350 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-09-15 23:40:06.574 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-09-15 23:40:06.798 RemoteFile::Read() failed in RingBuffer::safe_read().
Couldn't read file: rbuf://127.0.0.1:6543/var/cache/mythtv//ringbuf1.nuv
2006-09-15 23:40:06.838 LiveTV not successfully started
2006-09-15 23:40:06.870 Changing from None to WatchingLiveTV
2006-09-15 23:40:06.878 Enable DPMS
2006-09-15 23:40:06.878 Changing from None to None
2006-09-15 23:40:07.886 Changing from None to None
I would be thankful if you guys could share your insights with me.

Mike
 
Old 09-15-2006, 11:39 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Welcome to LQ!

How have you tried to set up MythTV?
When I did it, I had to install the mythtv-database package using aptitude first, and then install mythtv.

Also, what tv card do you have? Try "lspci" to see that it is detected, and make sure that you load the correct drivers for it.

I have written how I got my TV card working (Dvico Fusion HDTV DVB-T Lite) Here. Obviously, your channel settings will be different, but you can cross that bridge when you come to it.

I hope this helps
--Ian
 
Old 09-16-2006, 10:32 AM   #3
pikohn
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I went to your guide and I have the same card that you have...a bt878. The problem is I'm having trouble installing v41-dvb here is the the error:

Code:
make -C /home/mike/v4l-dvb/v4l
make[1]: Entering directory `/home/mike/v4l-dvb/v4l'
creating symbolic links...
make -C /lib/modules/2.6.15-26-386/build SUBDIRS=/home/mike/v4l-dvb/v4l  modulesmake[2]: Entering directory `/usr/src/linux-headers-2.6.15-26-386'
  CC [M]  /home/mike/v4l-dvb/v4l/aci.o
/home/mike/v4l-dvb/v4l/aci.c:68:26: error: sound_config.h: No such file or directory
/home/mike/v4l-dvb/v4l/aci.c: In function 'aci_mixer_ioctl':
/home/mike/v4l-dvb/v4l/aci.c:377: error: 'SOUND_MIXER_WRITE_VOLUME' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:377: error: (Each undeclared identifier is reported only once
/home/mike/v4l-dvb/v4l/aci.c:377: error: for each function it appears in.)
/home/mike/v4l-dvb/v4l/aci.c:379: error: 'SOUND_MIXER_WRITE_CD' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:381: error: 'SOUND_MIXER_WRITE_MIC' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:383: error: 'SOUND_MIXER_WRITE_LINE' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:385: error: 'SOUND_MIXER_WRITE_SYNTH' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:387: error: 'SOUND_MIXER_WRITE_PCM' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:389: warning: implicit declaration of function 'MIXER_WRITE'
/home/mike/v4l-dvb/v4l/aci.c:389: error: 'SOUND_MIXER_RADIO' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:389: error: case label does not reduce to an integer constant
/home/mike/v4l-dvb/v4l/aci.c:390: error: 'SOUND_MIXER_WRITE_LINE1' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:392: error: 'SOUND_MIXER_WRITE_LINE2' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:394: error: 'SOUND_MIXER_WRITE_BASS' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:401: error: 'SOUND_MIXER_WRITE_TREBLE' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:408: error: 'SOUND_MIXER_WRITE_IGAIN' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:424: error: 'SOUND_MIXER_WRITE_OGAIN' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:443: error: 'SOUND_MIXER_WRITE_RECSRC' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:448: error: 'SOUND_MASK_PCM' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:453: error: 'SOUND_MASK_CD' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:453: error: 'SOUND_MASK_MIC' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:453: error: 'SOUND_MASK_LINE' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:454: error: 'SOUND_MASK_SYNTH' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:454: error: 'SOUND_MASK_LINE2' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:456: error: 'SOUND_MASK_RADIO' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:458: error: 'SOUND_MASK_LINE1' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:463: error: 'SOUND_MIXER_READ_DEVMASK' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:464: error: 'SOUND_MASK_VOLUME' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:470: error: 'SOUND_MASK_IGAIN' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:471: error: 'SOUND_MASK_BASS' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:471: error: 'SOUND_MASK_TREBLE' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:475: error: 'SOUND_MASK_OGAIN' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:485: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:500: error: 'SOUND_MIXER_READ_RECMASK' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:510: error: 'SOUND_MIXER_READ_RECSRC' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:538: error: 'SOUND_MIXER_READ_CAPS' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:541: error: 'SOUND_MIXER_READ_VOLUME' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:543: error: 'SOUND_MIXER_READ_CD' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:545: error: 'SOUND_MIXER_READ_MIC' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:547: error: 'SOUND_MIXER_READ_LINE' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:549: error: 'SOUND_MIXER_READ_SYNTH' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:551: error: 'SOUND_MIXER_READ_PCM' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:553: warning: implicit declaration of function 'MIXER_READ'
/home/mike/v4l-dvb/v4l/aci.c:553: error: case label does not reduce to an integer constant
/home/mike/v4l-dvb/v4l/aci.c:554: error: 'SOUND_MIXER_READ_LINE1' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:556: error: 'SOUND_MIXER_READ_LINE2' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:558: error: 'SOUND_MIXER_READ_BASS' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:563: error: 'SOUND_MIXER_READ_TREBLE' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:568: error: 'SOUND_MIXER_READ_IGAIN' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:584: error: 'SOUND_MIXER_READ_OGAIN' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c: At top level:
/home/mike/v4l-dvb/v4l/aci.c:595: error: variable 'aci_mixer_operations' has initializer but incomplete type
/home/mike/v4l-dvb/v4l/aci.c:597: error: unknown field 'owner' specified in initializer
/home/mike/v4l-dvb/v4l/aci.c:597: warning: excess elements in struct initializer/home/mike/v4l-dvb/v4l/aci.c:597: warning: (near initialization for 'aci_mixer_operations')
/home/mike/v4l-dvb/v4l/aci.c:598: error: unknown field 'id' specified in initializer
/home/mike/v4l-dvb/v4l/aci.c:598: warning: excess elements in struct initializer/home/mike/v4l-dvb/v4l/aci.c:598: warning: (near initialization for 'aci_mixer_operations')
/home/mike/v4l-dvb/v4l/aci.c:599: error: unknown field 'ioctl' specified in initializer
/home/mike/v4l-dvb/v4l/aci.c:600: warning: excess elements in struct initializer/home/mike/v4l-dvb/v4l/aci.c:600: warning: (near initialization for 'aci_mixer_operations')
/home/mike/v4l-dvb/v4l/aci.c: In function 'attach_aci':
/home/mike/v4l-dvb/v4l/aci.c:698: warning: implicit declaration of function 'sound_install_mixer'
/home/mike/v4l-dvb/v4l/aci.c:698: error: 'MIXER_DRIVER_VERSION' undeclared (first use in this function)
/home/mike/v4l-dvb/v4l/aci.c:700: error: invalid application of 'sizeof' to incomplete type 'struct mixer_operations'
/home/mike/v4l-dvb/v4l/aci.c: In function 'unload_aci':
/home/mike/v4l-dvb/v4l/aci.c:715: warning: implicit declaration of function 'sound_unload_mixerdev'
make[3]: *** [/home/mike/v4l-dvb/v4l/aci.o] Error 1
make[2]: *** [_module_/home/mike/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-26-386'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mike/v4l-dvb/v4l'
make: *** [all] Error 2
I'm not sure what I need to do to fix this...
 
Old 09-16-2006, 09:33 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Sorry, I have no idea...

It looks like you have a sound problem. Have you got a sound card setup?

I looked in my /usr/src/v4l-dvb, and I don't have the aci.c or sound_config.h files, so I don't know why you need them.

--Ian
 
Old 09-21-2006, 09:22 PM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Pikohn,

Did you ever get this working? I upgraded the kernel from 2.6.15-25 to 2.6.15-27 using apt-get, and now I get the exact same error when
compiling the v4l drivers.

--Ian
 
Old 09-22-2006, 02:04 AM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Solution !

After many hours of research, I found that the problem lies with the ACI mixer module.
The solution is to disable the ACI mixer module. In the /usr/src/v4l-dvb/ directory, enter the following command:
Code:
make menuconfig
Navigate to "Audio Drivers for Multimedia", and move the highlight to
Code:
< > ACI mixer (miroSOUND PCM1-pro/PCM12/PCM20)
Press "N" to ensure that this module will not be compiled, and then exit (See Screenshot). Save the changes, and then run "make" again. Hopefully, everything should now compile correctly.


I hope this helps
--Ian
 
Old 09-22-2006, 09:25 AM   #7
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
NOTE to all kernel upgraders: Make sure you run make distclean before you try to recompile v4l-dvb for your new kernel. I made the mistake of not doing this and it still uses the old kernel headers.....

make distclean cleans all files and returns you to a fresh slate.

@Iball, that is an interesting solution, is it possible that you aren't looking at the right header files? It seems as if it can't see the headers for definitions.
 
Old 09-23-2006, 03:03 AM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Quote:
@Iball, that is an interesting solution, is it possible that you aren't looking at the right header files? It seems as if it can't see the headers for definitions.
I found that solution on the Linux TV mailing list Here.

It was trying to compile against the correct kernel version, but looking at the file it was complaining about (/usr/src/linux-.../sound/oss/sound_config.h), the constants in the error messages are not declared in that file. It looks to me that someone has stuffed up somewhere - either the Ubuntu developers have removed those constants from sound_config.h, or the Linux TV developers are using constants that aren't in sound_config.h (possibly they were depreciated in a previous release, and removed in this one ??)

--Ian

Last edited by IBall; 09-23-2006 at 03:11 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mythtv ubuntu question nitrostealth13 Ubuntu 8 08-07-2006 09:24 AM
How can a non-mythtv user open mythfrontend in ubuntu? Could it by a MySQL problem? LiquidSlumber Ubuntu 0 03-19-2006 02:01 AM
some importaint tips about how to configure mythtv in ubuntu LiquidSlumber Ubuntu 2 03-18-2006 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:29 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
Open Source Consulting | Domain Registration