搜索资源列表
GuiCamera
- 用的是ov的摄像头,在用xawtv打开时,可以看到捕获的画面还算流畅. 自己改编了一个video4linux的程序,但是效率很低 从ioctl (dev, VIDIOCMCAPTURE, &vid_mmap) 到ioctl (dev, VIDIOCSYNC, &vid_mmap.frame) 程序运行一共用了0.25s左右-use the ov cameras, on the xawtv opened, can see the screen capture fairly flue
lcd-drv
- lcddrv1.c 为驱动源程序 lcddrv1_user.c为应用程序代码 功能: 在ioctl中区分所写的数据是命令,还是地址加数据,flag=1是只写命令,flag=0时写地址和数据的组合, 地址号在前面,显示的字在后面
cdrom.tar
- 在linux对cdrom直接使用ioctl控制cdrom的仓门
key
- linux/kd.h文件中介绍了ioctl函数能够使用的命令,该文件中包含了各种命令的使用例子
Linux声音设备编程实例
- Linux下的声音设备编程比大多数人想象的要简单得多。一般说来,我们常用的声音设备是内部扬声器和声卡,它们都对应/dev目录下的一个或多个设备文件,我们象打开普通文件一样打开它们,用ioctl()函数设置一些参数,然后对这些打开的特殊文件进写操作。-Linux Generally speaking, we used the voices of internal equipment and audio speakers, which corresponds to / dev directory o
LAB7
- ioctl commucation with linux char-buffer device
ADTest
- 6410 ADC测试 #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <linux/fs.h> #incl
vlan.1.7m.tar
- vconfig工具源代码,如果感觉加载进程麻烦,直接参考里面的ioctl就可以了-vconfig source code, if you wantn t to load process, use ioctl function directly.
libv4l-0.6.2-test.tar
- 最新的测试版:一个可用于编写v4l2 camera应用程序的库libv4l,里面除有常用的v4l2 ioctl调用的封装API外,还有yuv到rgb转换、rgb到yuv转换和jpeg decoder API。-The latest test version of: an application for writing v4l2 camera library libv4l, which are commonly used in addition to the package v4l2 ioctl
ffaudio.tar
- Linux OSS声卡驱动测试程序,支持播放,录制,支持多种速率,多种格式,以及通道。如有其他特殊需要,只需添加ioctl接口即可。 本程序在Linux 2.6.20下测试通过,并可方便地移植到MIPS/ARM架构CPU上。-Linux OSS sound drivers test procedures in support of broadcast, recording, supports a wide range of rates, a variety of formats, as we
pcidevice
- 将pci设备模拟成字符设备的模板程序。目前主要实现了ioctl系统调用。-Pci device simulation into the characters of the template process equipment. At present, the main achievement of the ioctl system call.
chardev_u
- 一个测试IOCTL编程的用户层示例程序,已在mips-linux-gcc上编译通过-IOCTL programming a test sample of the user-level process, in mips-linux-gcc compiled through
pci
- Linux PCI driver skeleton sample code
libv4l-0.6.1.tar
- 一个可用于编写v4l2 camera应用程序的库libv4l,里面除有常用的v4l2 ioctl调用的封装API外,还有yuv到rgb转换、rgb到yuv转换和jpeg decoder API。-V4l2 camera can be used for the preparation of an application' s database libv4l, which are commonly used in addition to the package v4l2 ioctl API c
led_dev_and_led_test
- 一个在友善mini2440板子上控制led的驱动程序和应用程序,通过混杂设备模型实现,通过完整的ioctl设备方法实现规则实现,友善之臂提供的源码没有利用完整的ioctl实现规则,这里的代码多了ioctl命令定义,ioctl命令检查。在应用程序中多了一个获得led状态的功能。里面附代编译好的模块和程序,可直接加载到mini2440板子上进行实验。-A control board in a friendly mini2440 led drivers and applications, throug
chrdev_led_five_function
- 在友善开发板mini2440上,用字符设备方式实现的led驱动程序,及测试用的应用程序。led驱动程序实现了ioctl、read、write设备方法,都比较简单,可以供初学者参考,在应用程序中有五个命令方法, 0-关闭指定的led 1-打开指定的led 2-获得指定的led状态 3-获得所有的led状态 4-设置所有的led-Development board mini2440 in a friendly, and with the realization of the le
audioioctl
- 关于音频接口基本程序的实验报告,有两个实验,一个是播放wav格式的音乐,另一个是可以实现先录音几秒再放音的程序-a report about audio ioctl,includes two parts one is designed to Play wav format of music,the other can record a few seconds of sound and then play it.
Linux-driver-development13
- 作者:华清远见嵌入式学院。《Linux设备驱动开发详解》(08&09年度畅销榜TOP50)第13章、Linux块设备驱动。块设备是与字符设备并列的概念,这两类设备在Linux中驱动的结构有较大差异,总体而言,块设备驱动比字符设备驱动要复杂得多,在I/O操作上表现出极大的不同,缓冲、I/O调度、请求队列等都是与块设备驱动相关的概念。本章将详细讲解Linux块设备驱动的编程方法。13.1节讲解块设备I/O操作的特点,分析字符设备与块设备在I/O操作上的差异。13.2节从整体上描述Linux块设备驱动
rtc
- rtc DS1307和35390驱动,应用通过Ioctl调用,很方便-rtc DS1307 and 35390 driver
led-test
- 6410 led测试 include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/ioctl.h> /* 瀹氫箟骞绘暟 */ #define MEMDEV_IOC_MAGIC k -include <stdio.h> #include <sys/typ