마소전략커맨더
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
마소전략커맨더 [2009/11/06 10:12] – suapapa | 마소전략커맨더 [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 관련 파일 ====== | ||
+ | * drivers/ | ||
+ | * drivers/ | ||
+ | * Documentation/ | ||
+ | ====== HID report ====== | ||
+ | * /dev/hidgX | ||
+ | * / | ||
+ | |||
+ | ====== references ====== | ||
+ | *[[http:// | ||
+ | |||
+ | |||
+ | libusb | ||
+ | <code c> | ||
+ | int usb_control_msg(usb_dev_handle *dev, int requesttype, | ||
+ | </ | ||
+ | in kernel | ||
+ | < | ||
+ | /** | ||
+ | * usb_control_msg - Builds a control urb, sends it off and waits for completion | ||
+ | * @dev: pointer to the usb device to send the message to | ||
+ | * @pipe: endpoint " | ||
+ | * @request: USB message request value | ||
+ | * @requesttype: | ||
+ | * @value: USB message value | ||
+ | * @index: USB message index value | ||
+ | * @data: pointer to the data to send | ||
+ | * @size: length in bytes of the data to send | ||
+ | * @timeout: time in msecs to wait for the message to complete before timing | ||
+ | * out (if 0 the wait is forever) | ||
+ | */ | ||
+ | int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, | ||
+ | __u8 requesttype, | ||
+ | __u16 size, int timeout) | ||
+ | </ | ||
====== code practice ====== | ====== code practice ====== | ||
===== 깜박이는 속도 ===== | ===== 깜박이는 속도 ===== |
마소전략커맨더.1257502376.txt.gz · Last modified: 2013/08/03 05:04 (external edit)