hi steven,
            Thanks for ur reply, i tried as per your suggestion by giving
this command
mknod /dev/video0 c 81 0

It created that node but it is displaying same message.

[EMAIL PROTECTED]:/opt# ./encodedecode
Encodedecode demo started.
Encodedecode Error: Cannot open /dev/video0 (No such file or directory)

Total I-frames: 0, P-frames: 0, B-frames: 0, IDR-frames: 0 rejected: 0

Regards,
dilip

-----Original Message-----
From: steven.zhang [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 5:07 PM
To: dilip
Cc: [email protected]
Subject: Re: Problem with opening /dev/video0 device


hi, dilip.
  Maybe vpfe module is not enable in your new kernel? Pls check Davinci
Capture Decoder in menuconfig.
  or you can try create device node manually.
In my board, its major number is 81, minor 0;

Regards,
Steven

On Fri, 2008-06-27 at 16:00 +0530, dilip wrote:
> Hi all,
>
> We have installed new tool chain dvsdk 1.30.00. We have our custom board
> developed on DM6446(Davinci) processor.
>
> When we are running "./encodedecode" demo (TI sample demo) on our board
with
> new version, if is displaying message
>
>       can't open /dev/video0 : No such file or directory
>
> but with old version (dvsdk 1.0), it is working properly. (/dev/video0 is
> used for caturing data from CCD-interface).
>
> Atfer board is boot up with new version , we checked the "/dev" folder.
> "video0" device is not present, but when we boot with old version, it is
> present in /dev and it works properly.
>
> If anyone has faced the similar problem, please let us know.
>
> Following are the kernel-settings we have enabled for V4L2 capture as
> built-in before creating uImage:
> Device Drivers--> Multimedia devices--> <*> video for linux
>                                          -->video for linus --> <*>Davinci
> Video Capture
>                                                                  ---TVP514
6
> video decoder
>                                                                  ---MT9T00
1
> sensor
>
>
> Following are the environment variables ("bootargs") setting:
>
> For old version dvsdk 1.00.00, the settings are:
> 1. setenv bootargs 'console=ttyS0,115200n8 noinitrd rw root=/dev/nfs
> nfsroot=10.50.40.216:/root/workdir/filesys,nolock
> ip=10.50.40.236:10.50.40.216:10.50.40.1:255.255.248.0:Elix1000::off
> mem=120M'
>
> 2. setenv run 'setboot;tftpboot 0x86000000 uImage_DVBS;bootm 0x86000000'
> setenv bootcmd 'run setboot;tftpboot 0x86000000 uImage_10;bootm
0x86000000'
>
> For new version dvsdk 1.30.00, the settings are:
> 1.setenv bootargs
>
video=davincifb:vid0=720*576*16,2500K:vid1=720*576*16,2500K:osd0=720*576*16,
> 2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal
> console=ttyS0,115200n8 noinitrd rw ip=10.50.40.123 root=/dev/nfs
> nfsroot=10.50.40.212:/home/workdir/filesys,nolock mem=120M
>
> 2.setenv bootcmd 'setenv setboot setenv bootargs \$(bootargs)
> davinci_enc_mngr.ch0_mode=\$(videostd); run setboot;tftpboot 0x86000000
>
> Thanks,
> dilip.
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.
>
> Contact your Administrator for further information.
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to