//测试mao
printf("\n\n");
unsigned int cmd=1;
unsigned long arg =4;
fd = open("/dev/sil9024", O_RDWR);
if (fd < 0)
{
printf("open sil9024 fail\n");
}
else
{
printf("open sil9024 ok\n");
}
int retu = ioctl(fd,cmd,arg );
if (retu)
{
printf("1 set sil9024 video mode fail %d\n",retu);
}
close(fd);
printf("\n\n");
printf("\n\n");
unsigned int cmd=1;
unsigned long arg =4;
fd = open("/dev/sil9024", O_RDWR);
if (fd < 0)
{
printf("open sil9024 fail\n");
}
else
{
printf("open sil9024 ok\n");
}
int retu = ioctl(fd,cmd,arg );
if (retu)
{
printf("1 set sil9024 video mode fail %d\n",retu);
}
close(fd);
printf("\n\n");