printf(" ");
unsigned int cmd=1;
unsigned long arg =4;
fd = open("/dev/sil9024", O_RDWR);
if (fd < 0)
{
printf("open sil9024 fail ");
}
else
{
printf("open sil9024 ok ");
}
int retu = ioctl(fd,cmd,arg );
if (retu)
{
printf("1 set sil9024 video mode fail %d ",retu);
}
close(fd);
printf(" ");
版权声明:本文为博主原创文章,未经博主允许不得转载。