Help with plug and play - USB Webcam conflicts with Tv Tuner

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Mar 29 16:28:03 UTC 2010


On Sun, Mar 28, 2010 at 03:41:28PM -0400, TeeCee wrote:
> HI, I'm helping a friend with configuring an Ubuntu install. The default 
> kernel has taken care of most things.
> His Brother Multifunction Printer/Scanner was supported on the web, the  
> MSI TV tuner card worked from the
> get go. This card was 5 years old and had a dongle to connect to a sound 
> card. It was not needed, I got
> sound by piping tvtime through arecord and  aplay. Even the IR remote  
> works, to an extent, apparently
> without lirc installed.
>
> The problem is, now my friend has purchased a web cam. Plugging the cam  
> into a running computer, it is
> found as /dev/video1, and it does not conflict with the MSI device.  
> However, rebooting with the camera attached
> causes problems. Tvtime has assigned its video input to camera1 and you  
> cannot change it with the app. Nor
> can you close tvtimes terminal, even if I run it from a tty ctrl-c kills 
> itself but leaves the tvtime window.
>
> I guess my question is how can I bind this web cam to /dev/video1,  
> assuming I'm leaving the camera plugged
> in all the time?
>
> Thanks in advance for any help.

Well one option is to use the alternate devices instead.  For example my VPR-500 shows up as:

/dev/v4l/by-path/pci-0000:06:08.0-video-index[0123] which then symlinks
to whatever the current /dev/video* devices happen to be.

The second tuner on the card is:
/dev/v4l/by-path/pci-0000:06:09.0-video-index[0123]

The usb would be something similar byt the path would probably say usb.

So my current setup shows:

lrwxrwxrwx 1 root root 12 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:08.0-video-index0 -> ../../video0
lrwxrwxrwx 1 root root 13 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:08.0-video-index1 -> ../../video32
lrwxrwxrwx 1 root root 10 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:08.0-video-index2 -> ../../vbi0
lrwxrwxrwx 1 root root 13 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:08.0-video-index3 -> ../../video24
lrwxrwxrwx 1 root root 12 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:09.0-video-index0 -> ../../video1
lrwxrwxrwx 1 root root 13 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:09.0-video-index1 -> ../../video33
lrwxrwxrwx 1 root root 10 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:09.0-video-index2 -> ../../vbi1
lrwxrwxrwx 1 root root 13 Mar 28 16:32 /dev/v4l/by-path/pci-0000:06:09.0-video-index3 -> ../../video25

I don't currently have a webcam connected to the machine though.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list