HID类设备属于人机交互操作的设备。用于控制计算机操作的一些方面,如USB鼠标,USB键盘, USB游戏操纵杆,USB触摸板,USB轨迹球、电话拨号设备、VCR遥控等等设备。 下面介绍下usb hid touch device 的适配流程 1、切换路径到Linux-3.10下 使用命令make menuconfig 打开图形配置界面 System Type ---> │ │ │ │ Bus support ---> │ │ │ │ Kernel Features ---> │ │ │ │ Boot options ---> │ │ │ │ CPU Power Management ---> │ │ │ │ Floating point emulation ---> │ │ │ │ Userspace binary formats ---> │ │ │ │ Power management options ---> │ │ │ │ -*- Networking support ---> │ │ │ │ Device Drivers ---> │ │ │ │ File systems ---> │ │ │ │ Kernel hacking ---> │ │ │ │ Security options ---> │ │ │ │ -*- Cryptographic API ---> │ │ │ │ Library routines ---> │ │ │ │ [ ] Virtualization ---> 进入如上面介绍的Device Drivers选项。 Broadcom specific AMBA ---> │ │ │ │ Multifunction device drivers ---> │ │ │ │ [*] ARM Versatile Express platform infrastructure │ │ │ │ [ ] Versatile Express SPC driver support │ │ │ │ [*] Voltage and Current Regulator Support ---> │ │ │ │ <*> ** support ---> │ │ │ │ Graphics support ---> │ │ │ │ <*> Sound card support ---> │ │ │ │ HID support ---> │ │ │ │ [*] USB support ---> │ │ │ │ <*> MMC/SD/SDIO card support ---> │ │ │ │ < > Sony MemoryStick card support ---> │ │ │ │ [*] LED Support ---> │ │ │ │ <*> Switch class support ---> │ │ │ │ [ ] Accessibility support ---> │ │ │ │ [ ] EDAC (Error Detection And Correction) reporting ---> │ │ │ │ [*] Real Time Clock ---> │ │ │ │ [*] DMA Engine support ---> 进入hid suppport选项。 -*- HID bus support │ │ │ │ [ ] Battery level reporting for HID devices │ │ │ │ [*] /dev/hidraw raw HID device support │ │ │ │ <*> User-space I/O driver support for HID subsystem │ │ │ │ <*> Generic HID driver │ │ │ │ Special HID drivers ---> │ │ │ │ USB HID support ---> │ │ │ │ I2C HID support ---> 进入special HID drivers < > LC-Power │ │ │ │ < > Lenovo ThinkPad USB Keyboard with TrackPoint │ │ │ │ < > Logitech devices │ │ │ │ < > Apple Magic Mouse/Trackpad multi-touch support │ │ │ │ < > Microsoft non-fully HID-compliant devices │ │ │ │ < > Monterey Genius KB29E keyboard │ │ │ │ <*> HID Multitouch panels │ │ │ │ < > N-Trig touch screen │ │ │ │ < > Ortek PKB-1700/WKB-2000/Skycable wireless keyboard and mouse trackpad │ │ │ │ < > Pantherlord/GreenAsia game controller │ │ │ │ < > Petalynx Maxter remote control │ │ │ │ < > PicoLCD (graphic version) 选择HID Multitouch panels 编译成模块或内核 编译打包 |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-12-22 18:16
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.