Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TV card and WebCAM cannot work at same time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Mon Jan 01, 2007 2:10 am    Post subject: TV card and WebCAM cannot work at same time Reply with quote

after successful installing my TV card and Webcam drivers, i found another problem..

If i modprobe TV card, the tv card would @ /dev/video0, meanwhile I modprobe my webcam, the webcam @ /dev/video0 as well.
so i cannot watch tv and use my webcam at same time,

how can i make webcam @ /dev/video1 ?

otherwise, one of them cannot work properly..due to they are both @ /dev/video0


thanks in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54851
Location: 56N 3W

PostPosted: Mon Jan 01, 2007 12:54 pm    Post subject: Reply with quote

coolone,

They should get ascending device numbers in /dev/v4l/
Maybe its udev messing up the symlink ?
With the TV Card and Webcam both connected, what do you have in /dev/v4l/ ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Tue Jan 02, 2007 8:40 am    Post subject: Reply with quote

yes, i have /dev/v4l/
got two devices...
named

/dev/v4l/video0
/dev/v4l/video1
_________________
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54851
Location: 56N 3W

PostPosted: Tue Jan 02, 2007 1:18 pm    Post subject: Reply with quote

coolone,

Thats your webcam and your TV card.
Now look at /dev/video*. Do you also have two symbolic links like this
Code:
 $ ls -l /dev/video*
lrwxrwxrwx 1 root root 10 Jan  2 11:31 /dev/video0 -> v4l/video0
lrwxrwxrwx 1 root root 10 Jan  2 11:31 /dev/video1 -> v4l/video1

If so, all is well except that video0 will always be assigned to the first device detected. To fix the names to devices and/or chaneg them to say
/dev/tv and /dev/webcam you need to write some udev rules following [urk=http://reactivated.net/writing_udev_rules.html]this guide[/url]
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Wed Jan 03, 2007 12:23 am    Post subject: Reply with quote

thank you for ur help...
i think i need to do that .... :)
_________________
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress
Back to top
View user's profile Send private message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Wed Jan 03, 2007 12:42 am    Post subject: Reply with quote

thanks a lot NeddySeagoon



and i found another short and useful TIP @
http://gentoo-wiki.com/TIP_How_to_use_openwengo_when_you_got_a_tv_card

share it to someone who needs it....
_________________
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum