Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old November 7th, 2006   #1
fragos
Chocolate-Covered Ubuntu Beans
 
fragos's Avatar
 
Join Date: Apr 2006
Location: Fresno CA
Beans: 2,243
Ubuntu 9.10 Karmic Koala
Question /dev/video0 and /dev/video1 swap at boot

I have two video devices. The 1st is a TV card supported by the bttv driver and the 2nd is a webcam. I only seen this with Edgy. The TV card usually comes up as /dev/video0 and the webcam as /dev/video1. Some times these mount points are swapped and the configuration files of video applications like tvtime must be edited to work. Is there a way to see that these devices have consistently assigned mount points.
__________________
Thank a veteran -- George
Internet Coach & Writer
http://FragosTech.com
fragos is online now   Reply With Quote
Old November 16th, 2006   #2
fabertawe
Way Too Much Ubuntu
 
fabertawe's Avatar
 
Join Date: Jun 2006
Location: Wales
Beans: 299
Ubuntu 9.10 Karmic Koala
Send a message via Yahoo to fabertawe
Re: /dev/video0 and /dev/video1 swap at boot

I have the same problem... can anyone shed some light on this?

Cheers ... Paul
__________________
Ubuntu Guide | Appnr | Linux Commands | Lowfat Linux | Bash A-Z

AMD X2 5600+, Asus M2N-E SLI, 2GB PC6400, MSI 8600GT OC, Ubuntu 9.10 x86_64
Asus EeePC 4GB, 2GB RAM, Ubuntu 8.04
fabertawe is offline   Reply With Quote
Old December 8th, 2006   #3
Psykotik
A Carafe of Ubuntu
 
Join Date: Aug 2006
Location: Geneva, Switzerland
Beans: 92
Ubuntu 9.04 Jaunty Jackalope
Re: /dev/video0 and /dev/video1 swap at boot

Has any of you find a solution ? I have same issue...
Psykotik is offline   Reply With Quote
Old December 10th, 2006   #4
fabertawe
Way Too Much Ubuntu
 
fabertawe's Avatar
 
Join Date: Jun 2006
Location: Wales
Beans: 299
Ubuntu 9.10 Karmic Koala
Send a message via Yahoo to fabertawe
Re: /dev/video0 and /dev/video1 swap at boot

Psykotik, I've not found a solution but I was having a similar problem with sound, the onboard sound (disabled in BIOS) kept getting selected as the default in VLC instead of my sound card. After disabling the module for onboard sound I've not had the video switch problem. This could of course be purely coincidental!

Paul
__________________
Ubuntu Guide | Appnr | Linux Commands | Lowfat Linux | Bash A-Z

AMD X2 5600+, Asus M2N-E SLI, 2GB PC6400, MSI 8600GT OC, Ubuntu 9.10 x86_64
Asus EeePC 4GB, 2GB RAM, Ubuntu 8.04
fabertawe is offline   Reply With Quote
Old December 10th, 2006   #5
fragos
Chocolate-Covered Ubuntu Beans
 
fragos's Avatar
 
Join Date: Apr 2006
Location: Fresno CA
Beans: 2,243
Ubuntu 9.10 Karmic Koala
Re: /dev/video0 and /dev/video1 swap at boot

I don't think your problem was coincidental. To me it further illustrates some randomness in device recognition. Pehaps this relates to the improvements made in boot time. Mind you I'm not complaining about the faster boot and shutdown that Ubuntu 6.10 has brought to the party. For me the problem is more of an annoyance than a show stopper. This is a problem that a newbie might not be able to understand and I'd hate to see some go back to the evil empire because of it.
__________________
Thank a veteran -- George
Internet Coach & Writer
http://FragosTech.com
fragos is online now   Reply With Quote
Old December 11th, 2006   #6
fabertawe
Way Too Much Ubuntu
 
fabertawe's Avatar
 
Join Date: Jun 2006
Location: Wales
Beans: 299
Ubuntu 9.10 Karmic Koala
Send a message via Yahoo to fabertawe
Re: /dev/video0 and /dev/video1 swap at boot

I've read loads of posts regarding Edgy's faster boot but it's exactly the same as Dapper for me (43-45 seconds) even though I've disabled lots of services etc. Shutdown is faster though.

Unfortunately these kinds of little problems can be very annoying for new users, like you say. We could also look at it another way... after the first month or two, if you've stuck with it, then you're actually learning how to manage your system and it's a good feeling to resolve issues and feel in control. It's got to be a good thing if (ex)Windows users can realise that they run their computer and not "big brother". WGA was the breaking point for me (I never enjoyed the "Windows experience" anyway). I'm getting way OT now, sorry!

I'm using 64bit so I've had a few extra issues to resolve Definitely worth it though, I love Ubuntu.

Paul
__________________
Ubuntu Guide | Appnr | Linux Commands | Lowfat Linux | Bash A-Z

AMD X2 5600+, Asus M2N-E SLI, 2GB PC6400, MSI 8600GT OC, Ubuntu 9.10 x86_64
Asus EeePC 4GB, 2GB RAM, Ubuntu 8.04
fabertawe is offline   Reply With Quote
Old December 28th, 2006   #7
Psykotik
A Carafe of Ubuntu
 
Join Date: Aug 2006
Location: Geneva, Switzerland
Beans: 92
Ubuntu 9.04 Jaunty Jackalope
Re: /dev/video0 and /dev/video1 swap at boot

Bios "muting" is definitely not a good solution : I'm using the integrated soundcard !

Definitly not Edgy-and-his-new-boot related : I've been annoyed by this bug since dapper.

Definitly not a good bug for newbies : it takes time to identify the bug, and a newbie will spend much time searching why his TVcard works sometimes, and sometimes no. Why his webcam works the full moondays, and doesn't the others.

And as GNU/Linux is well known to have many problems with peripherals (due to the hardware constructors policy), many newbies are going to blame Ubuntu more than what it deserve it

I've opened a bug in launchpad.

Last edited by Psykotik; December 28th, 2006 at 09:59 AM..
Psykotik is offline   Reply With Quote
Old December 28th, 2006   #8
Stemp
Dipped in Ubuntu
 
Stemp's Avatar
 
Join Date: Apr 2005
Location: Paris
Beans: 595
Xubuntu 9.10 Karmic Koala
Re: /dev/video0 and /dev/video1 swap at boot

Same problem here.
To handle it i've created 2 devices : /dev/webcam and /dev/tv

http://ubuntufr.free.fr/?p=27 it's in French sorry.

In fact you just have to create a /etc/udev/rules.d/95-perso.rules file for your personal udev rules.
__________________
Sorry for my English - Home Page - PPA Webkit - PPA Midori - PPA Liferea - Personal PPA
«Violence never settles anything.» - Genghis Khan, 1162-1227
Stemp is offline   Reply With Quote
Old December 28th, 2006   #9
fragos
Chocolate-Covered Ubuntu Beans
 
fragos's Avatar
 
Join Date: Apr 2006
Location: Fresno CA
Beans: 2,243
Ubuntu 9.10 Karmic Koala
Re: /dev/video0 and /dev/video1 swap at boot

Quote:
Originally Posted by Stemp View Post
Same problem here.
To handle it i've created 2 devices : /dev/webcam and /dev/tv

http://ubuntufr.free.fr/?p=27 it's in French sorry.

In fact you just have to create a /etc/udev/rules.d/95-perso.rules file for your personal udev rules.
I don't speak French but the command lines don't need translation and with a little care I could follow the directions. My TV card has a separate sound jack which gets externally cabled back into my box. lspci gives me two lines for that card:

00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

Is there something additional I need to do for the audio portion of the card?

I'll be glad to post the HowTo in English for those less adventuresome than I.
__________________
Thank a veteran -- George
Internet Coach & Writer
http://FragosTech.com
fragos is online now   Reply With Quote
Old December 28th, 2006   #10
Psykotik
A Carafe of Ubuntu
 
Join Date: Aug 2006
Location: Geneva, Switzerland
Beans: 92
Ubuntu 9.04 Jaunty Jackalope
Re: /dev/video0 and /dev/video1 swap at boot

In my (humble) opinion, since it is related to a video conflict, you'll have to avoid a video conflict only. Investigate "00:0a.0" only, using the following how-to :

Code:
look after your TV card :

stemp@caderousse:~/documentation$ lspci
.....
00:0a.0 Multimedia controller: Philips Semiconductors SAA7134 Video Broadcast Decoder (rev 01)
…..

use info related to your TV card to get still more info :

stemp@caderousse:~$ cat /sys/devices/pci0000\:00/0000\:00\:0a.0/vendor
0×1131
stemp@caderousse:~$ cat /sys/devices/pci0000\:00/0000\:00\:0a.0/device
0×7134

According this, add an fill up /etc/udev/rules.d/95-perso.rules :

KERNEL=="video*", SYSFS{vendor}=="0×1131“, SYSFS{device}==”0×7134“, SYMLINK+=”tv”
I've not be able to use that second part related to TV card device, never got the symlink. Maybe because it is not recognized at all (no vendor or device id). But I've discovered a symlink which can perfectly substite the "tv" one : it's named "vbi" (target : vbi0), and works like a charm.
Psykotik is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:29 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry