View previous topic :: View next topic |
Author |
Message |
coolone Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Nov 2006 Posts: 278
|
Posted: Mon Jan 01, 2007 2:10 am Post subject: TV card and WebCAM cannot work at same time |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Mon Jan 01, 2007 12:54 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
coolone Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Nov 2006 Posts: 278
|
Posted: Tue Jan 02, 2007 8:40 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Tue Jan 02, 2007 1:18 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
coolone Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Nov 2006 Posts: 278
|
Posted: Wed Jan 03, 2007 12:23 am Post subject: |
|
|
thank you for ur help...
i think i need to do that .... ![Smile :)](images/smiles/icon_smile.gif) _________________ No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
coolone Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Nov 2006 Posts: 278
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|