LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-17-2011, 09:09 AM   #1
ErEn
Member
 
Registered: Jan 2006
Location: Ankara - Turkey
Distribution: Arch Linux
Posts: 39

Rep: Reputation: 15
how to create v4l2loopback device before on boot?


Hi there,

I have got a usb camera connected to the board, and I would like to create a video loopback device at /dev/video0. At boot-up the usb camera becomes /dev/video0, leaving the video loopback device /dev/video1.
The problem is, I want to have the video loopback device be at /dev/video0 and usb-camera to be /dev/video1 at boot, what's the simplest way doing this?

P.S. i create the video loopback device with 'modprobe v4l2loopback'

Last edited by ErEn; 09-19-2011 at 03:54 PM.
 
Old 09-19-2011, 03:53 PM   #2
ErEn
Member
 
Registered: Jan 2006
Location: Ankara - Turkey
Distribution: Arch Linux
Posts: 39

Original Poster
Rep: Reputation: 15
ok it wasn't that difficult, just wrote it in /etc/modules
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use an ExpressCard SSD device as the boot and system storage device CharlieBucket Linux - Hardware 1 03-21-2011 11:17 PM
mkrescue Fatal: device-mapper: only linear boot device supported Molly Slackware 5 01-06-2009 04:35 PM
Kind souls: help getting Mandriva install 2 boot? edit boot.ini/grub /boot device or NoMoreReinstallMS Linux - Newbie 1 08-09-2006 04:34 AM
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 03:35 AM
How can we create file device? l_9_l Linux - General 1 01-11-2002 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration