![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Mythbuntu Discussions for the Mythbuntu project. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Aug 2005
Beans: 107
|
Make /dev/video* Static
I have a PVR-150 and a Nova-T. Both of those export something to /dev/video. However, I am only interested in the PVR-150. Problem is that this changes seemingly random at boot-up.
How can I fix this? Regards, Freddie. |
|
|
|
|
|
#2 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2005
Beans: 185
|
Re: Make /dev/video* Static
You need to create a udev rule, this will make a symlink that is always pointed to the correct device
You can use the attahed script to do it for you syntax sudo python udev-rules.py CURRENT_DEV SYMLINK or sudo python udev-rules.py /dev/video0 /dev/video_pvr150 sudo python udev-rules.py /dev/video1 /dev/video_novaT |
|
|
|
|
|
#3 | |
|
A Carafe of Ubuntu
![]() Join Date: Aug 2005
Beans: 107
|
Re: Make /dev/video* Static
Quote:
Regards, Freddie. |
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2009
Beans: 2
|
Re: Make /dev/video* Static
KillerKiwi (great to see another Kiwi around!)
I just used your script and it was exactly what I needed to fix this: https://answers.launchpad.net/ubuntu...n/65286/+index This is an excellent little script for this task. It would be great if you could clarify the license (add a GPLv3 header into the script, perhaps?) and post it somewhere that doesn't require a login to get to. Perhaps you could add a short page to the Ubuntu wiki and add the file there. I am happy to put it on my site if you have nowhere else. It would mean that mailing lists and "Answers" can link directly to the script and not require people (like me) to get an ubuntuforums login to solve the udev problem. At the moment, viewing ubuntuforums attachments requires a login. Thanks again!! |
|
|
|
|
|
#5 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2005
Beans: 185
|
Re: Make /dev/video* Static
consider it gpl2
hopefully the need for this will disappear soon... |
|
|
|
|
|
#6 |
|
Ubuntu Developer
![]() Join Date: Nov 2006
Location: Portland, OR, USA
Beans: 4
Ubuntu Karmic Koala (testing)
|
Re: Make /dev/video* Static
MythTV should be taught to use the static device names in /dev/v4l/by-path/* (which exist starting in Intrepid). That's how static naming is being solved.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|