Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Could you do the command 'lsmod' and post the results of it here please?
It shows the device in the lspci you posted, but we must see if the modules required to run it are installed.
You will likely need v4l (video-for-linux) to use the device. If you use a stock kernel, the support may already be made, and just need to be inserted into the kernel.
Anyhow, post us the lsmod output, and we'll go from there
Add the line below in either /etc/modprobe.conf or /etc/modules.conf
alias char-major-81-0 saa7134
options saa7134 tuner=17 card=2 noninterlaced=1 video_nr=0
After you load the module (modprobe -v saa7134) or reload the module (modprobe -r saa7134 && modprobe -v saa7134), use only tvtime and switch its input to either Composite 2 or S-Video. You should get video if you have connected a VCR, DVD, game console, etc to it. Then switch the input again to Television. Start changing channels. You will have to change Television Standard and broadcast in tvtime to match the signal in your area. Unfortunately, V4L defaults to PAL.
If your area uses PAL, you will have to change the tuner to a different number because the one I gave you is for NTSC. The only way to figure out what tuner works is trial and error method. Look up CARDLIST.tuner in the kernel documentation for list of tuners. Then retest again to make sure it works.
The tuner's reception is poor on this card. I use a VCR or cable box connected to either Composite or S-Video to receive channels clearer. Also VBI (closed captions and/or teletext) does not work. I created a thread about how to fix VBI for saa713x based capture cards. VBI code that the kernel developers have written is too redundant, so a program can not process it in real time. Because of the redundancy, tvtime's XDS option also can not be used. The digital audio device that it creates may not work because of many flaws. One it can only capture from the tuner input. Second, you have to state a fixed sampling rate upon loading the module up. I suggest looping the audio to the line in of your sound card. Third during video recording, you have to use the sound card to have flexibility switching the desire input and sample rate. I guess I have to force my self to learn more about C and maybe SIMD instructions.
I use the following syntax for tvtime.
tvtime -x /dev/mixer:line -d /dev/video0
Hi Electro, I really wanna thank you for your help... but I have a big problem in here.... I'm working on Ubuntu, and here is no /etc/modprobe.conf or etc/modules.conf.....
Hi Electro, I've done everything you told me, but this is what happens:
andrea@andrea-desktop:/etc$ tvtime -x /dev/mixer:line -d /dev/video0
Ejecutando tvtime 1.0.1.
Leyendo la configuración de /etc/tvtime/tvtime.xml
I/O warning : failed to load external entity "/home/andrea/.tvtime/tvtime.xml"
I/O error : Permission denied
Imposible cambiar el dueño de /home/andrea/.tvtime/tvtime.xml: Permiso denegado.
Your capture card driver: VideoCam Messenger sn9c101 Ov76
does not support studio-quality colour images required by tvtime.
This is a hardware limitation of some cards including many
low-quality webcams. Please select a different video device to use
with the command line option --device.
Hola Andrea. Mi Espanol es malo, so I am not totally certain what the messages are saying there. I get the impression of two things:
1 - Permission denied, meaning you (user=andrea) hasn't enough permissions to read files from the /etc folder.
2 - It appears to be looking for configuration information in two locations: /etc and /home/andrea.
Make sure the files it is looking for ("/home/andrea/.tvtime/stationlist.xml", "/home/andrea/.tvtime/tvtime.xml") actually exist in the location where it is searching for them in your home folder. If they do not, then copy them from where they actually are, and put them in the correct location in your home folder, and make sure to change the owner/user to allow you to access them (perhaps owner=andrea, group=users).
Alternately you could *try* su'ing to root and running the commands you are trying, to see if the configuration is complete and working.
Finally, I'm not certain why the system is returning information about the sn9c101 driver - that is typically a webcam driver, whereas if I understand correctly, you are working on a TV card using the saa7134 driver. Odd. It may be that you have a webcam plugged in as well, which is occupying /dev/video0
Last edited by GrapefruiTgirl; 04-05-2007 at 11:33 AM.
Hi GrapefuiTgirl, I appreciate your help a lot, but the thing here is that the Tvtime software takes my webcam as the input device video, and I don't know how to change it, because I don't have that option... do you have another usefull idea to work on it?
Well, on the command line where you have '-d /dev/video0' is where the device is being specified. I guess that is where your webcam is linked to. You might try /dev/video1 or /dev/video2. Look in the /dev folder and in the /dev/v4l folder if it exists, and identify possible devices to try using with the TV card.
Well... i think there is something better after doing dev/video1, now, the software stop saying "no input signal", now is just a black window... but the question now, GrapefuiTgirl is... how can I know that Ubunto recognized my tvtuner card?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.