hi3531调用sil9024的驱动

//测试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");

上一篇:mysql不能链接远程,报(Host '***.***.***.***' is not allowed to connect to this MySQL server)


下一篇:Linux and Oracle常用目录详解