UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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 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
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
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.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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 ??)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.