ChinaUnix.net
相关文章推荐:

hid 驱动

------------------------------------------ 本文系本站原创,欢迎转载! 转载请注明出处:http://ericxiao.cublog.cn/ ------------------------------------------ 一:前言 继前面分析过UHCI和HUB驱动之后,接下来以hid设备驱动为例来做一个具体的USB设备驱动分析的例子.hid是Human Interface Devices的缩写.翻译成中文即为人机交互设备.这里的人机交互设备是一个宏观上面的概念,任何设备,只要符合hid spec,都可以称之为hid设备.常...

by xgr180 - Linux文档专区 - 2008-10-10 14:30:40 阅读(1893) 回复(0)

相关讨论

请问有没办法利用linux下usb-serial驱动做一个hid转串口设备,将hid设备识别为一个TTY。大致应该怎样做。 有没谁有过这方面的经验,希望能够分享下。

by aeiowx - 驱动开发 - 2012-08-20 17:18:41 阅读(1540) 回复(0)

USB hid键盘驱动如何向tty发送数据?插入USB hid键盘,按键超级终端没显示字符s3c2410(linux2.6.14.1)? 请教 USB hid键盘驱动的问题,路过的兄弟帮忙答疑,谢谢,详细如下: 开发板:s3c2410 系统版本:Linux 2.6.14.1 内核编译选项: Device Drivers--> Input device support--> <*> Event interface <*> Keyboards--> <*> AT keyboard <*> XT keyboard USB support--> 所有字项目 调试代码跟踪: drivers/usb/input...

by wilsonwong - 嵌入式开发 - 2009-04-04 17:55:26 阅读(3714) 回复(2)

本帖最后由 独孤九贱 于 2012-01-10 17:05 编辑 小弟有一个USB hid设备,在vmware下运行正常,不过切换到真实的物理设备则无法使用。具体情况是: 1、dmesg信息对比vmware多了两行:[code] generic-usb 0003:096E:0202.0001: usb_submit_urb(ctrl) failed generic-usb 0003:096E:0202.0001: timeout initializing reports[/code]2、用户态程序出错在:[code]ioctl(4, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, ...

by 独孤九贱 - 内核源码 - 2012-01-12 17:16:17 阅读(3284) 回复(1)

浅析linux下usb鼠标和usb键盘usbhid驱动hid_parse_report报告描述符解析 hid_probe ==>usb_hid_configure ==*>hid = hid_parse_report(rdesc, n) /* * Parse a report description into a hid_device structure. Reports are * enumerated, fields are attached to these reports. */ struct hid_device *hid_parse_report(__u8 *start, unsigned size) { struct hid_device *device; struct hid_parser *parser; ...

by coolcoolrain - Linux文档专区 - 2010-01-10 11:15:02 阅读(1881) 回复(0)

linux 下 gadget hid compliant device driver, 请问用默认的Endpoint0 做 out_endpoint 传输, 在收到set_report 命令后,怎么read data( from host/pc)! who can help me !!!!:sleepy:

gadgethidlinuxOut

by rlingxing - 嵌入式开发 - 2011-07-04 09:19:42 阅读(5915) 回复(7)

本帖最后由 fuchuangbob 于 2010-02-05 10:33 编辑 看网上有些人做过这方面的东西,不过说得不是很详细,望详细说明一下。 我现在的想法是自己写一个驱动,如何来实现?要用到哪些API?

by fuchuangbob - 驱动开发 - 2010-02-02 17:38:08 阅读(2506) 回复(0)

USB hid usage table This usage table lets usbhidctl decode the hid data correctly for the APC RS/XS1000's. This work was obtained from riccardo@torrini.org. Sample output is available both with and without the table. Note that the default /usr/share/misc/usb_hid_usages already contains entries for these a Power Device (132 or 0x84) and a Battery System (133 or 0x85). It is interesting that usb...

by chenzhufly - Linux文档专区 - 2008-01-25 13:58:40 阅读(1622) 回复(0)

usb设备是个接收器,要把接收器里面的数据读取出来?不怎么熟悉hid,所以请大家帮帮忙。读写时ioctl里面的命令?

by whoami7788 - 嵌入式开发 - 2013-04-22 12:56:20 阅读(1208) 回复(0)

本人在调试一个刷卡器驱动的时候,在中断urb处理时报错-EINPROGRESS,查了查文档,说可能是驱动的一个bug,在此发帖求助可能引起问题的原因,谢谢。

by cyberworm_008 - 驱动开发 - 2011-03-09 16:33:04 阅读(2693) 回复(1)