[Mageia-discuss] TV Card and Web camera confusion
Renaud MICHEL
r.h.michel+mageia at gmail.com
Thu Oct 13 20:23:27 CEST 2011
On jeudi 13 octobre 2011 at 20:07, Marc Paré wrote :
> I have a TV card (PCI) and a USB webcam. If I restart my Mageia, the TV
> card no longer works. I then have to go into TVtime.xml (I use TV time
> to view my TV) and then modify this line that I have included in the
> file:
>
> <option name="V4LDevice" value="/dev/video0"/>
> or
> <option name="V4LDevice" value="/dev/video1"/>
>
> Is there anyway to prevent the video call from changing at reboots?
>
> I just bought a webcam for my 78 year old mother with the same TV card
> and I wouldn't want her to go through the same procedure each time she
> re-boots her Mageia.
You can probably make the name permanent with udev rules.
See in
/etc/udev/rules.d
you should have permanent-cd and permanent-net rules files which you can
look for examples. Add a new .rules file with your own rules.
For an USB device it may look like (on an single line)
SUBSYSTEM=="usb", ATTR{idVendor}=="0000", ATTR{idProduct}=="0000",
NAME="video1"
I am not sure how it will be for a PCI card, I am not an udev expert, see
man udev for more informations.
--
Renaud Michel
More information about the Mageia-discuss
mailing list