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

Notices


Reply
  Search this Thread
Old 06-15-2004, 04:56 PM   #1
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Rep: Reputation: 30
tv tuner card question


I have an intel create and share pci capture card and I need some help on getting it loaded at boot time.

The problem I have is this. If I go in and run xawtv first, then start webcam everything is fine. If I try to load webcam after a reboot before loading xawtv I get:

heathpitts@webcam-beta:~$ webcam /etc/webcam1.conf
reading config file: /etc/webcam1.conf
v4l: timeout (got SIGALRM), hardware/driver problems?
ioctl: VIDIOCSYNC(int=0): Interrupted system call
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=7): Device or resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=13): Device or resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=15): Device or resource busy
can't get rgb24 data

I have the following in my modules.conf file:


alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=32 radio=0 tuner=4

What does xawtv load before it starts that gets this all working? I have attempted insmod bttv and modprobe bttv but nothing loads all the modules corrctly like xawtv does. I want this to start up on boot so I don't have to start xawtv then start webcam if the pc ever goes down due to power failure.
 
Old 06-15-2004, 08:04 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Have a look at the output from 'lsmod' both when it's working, and when it's not (you'll need to be root). That should let you see what modules are loaded.

xawtv will also be 'tuning' the card when it starts, so that could be the problem too. xawtv comes with a program called v4lctl, which allows you to 'switch on' and tune capture cards using the same config files xawtv uses. See 'man v4lctl' to see what it can do.

Dave
 
Old 06-16-2004, 07:44 PM   #3
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Original Poster
Rep: Reputation: 30
Ok, got it working. I simply set up a script to run on boot that does the following:

v4lctl -c /dev/video0 setinput S-Video


It works fine now. I can reboot the system now without having to do any configuration on the tv card before using webcam to load my images.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Tv Tuner Card WolfCub Linux - Hardware 14 04-25-2005 11:10 AM
FM tuner card. akihandyman Mandriva 1 09-11-2004 02:33 AM
tv tuner for mercury tv tuner card sandesh_hs Linux - Hardware 1 02-22-2004 04:20 AM
tv tuner card on S9 carboncopy Slackware 1 08-31-2003 05:13 AM
a good tv tuner card and graphics card match mpo Linux - Hardware 2 03-01-2003 02:45 PM

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

All times are GMT -5. The time now is 10:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration