Re: /dev/video: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> pcmcia_core            40896   0
> ide-scsi                7456   0
> eepro100               17264   1
> 
> However, there is simply no /dev/video or /dev/video0 file.  I believe 
> it is either supposed to always be there, or be created upon plugging in 
> of the camera.  I have Dejagoogled and am unable to find a fix for this 
> problem.

Sounds like your distro didnt bother to create them. "mknod" is the
administrator command for creating device files

	mknod /dev/video0 c 81 0

How did I get the values ?

Documentation/devices.txt in the kernel says what is defined for the kernel
and what numbering is used. The entry says

 81 char        video4linux
                  0 = /dev/video0       Video capture/overlay device
                    ...
                 63 = /dev/video63      Video capture/overlay device
                 64 = /dev/radio0       Radio device
                    ...
                127 = /dev/radio63      Radio device
                192 = /dev/vtx0         Teletext device
                    ...
                223 = /dev/vtx31        Teletext device
                224 = /dev/vbi0         Vertical blank interrupt
                    ...
                255 = /dev/vbi31        Vertical blank interrupt


Most people also ship /dev/MAKEDEV so in /dev you can

	./MAKEDEV [whatever]

and it will work out the device ids





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux