Commit Graph

250 Commits

Author SHA1 Message Date
Gregory Nutt
175f8960cf Cosmetic changes from review of last PR 2017-03-18 06:47:34 -06:00
Brian Webb
0a95536b85 Adds driver support for the XBox One controller. Currently only the latest version (XBox One X) controller works. The older XBox One controllers do not enumerate correctly. 2017-03-17 20:48:21 -07:00
Janne Rosberg
ce2845c5c3 usbhost_cdcacm: fix tx outbuffer overflow and remove now invalid assert 2017-03-07 06:59:00 -06:00
Janne Rosberg
8442bf66b9 usbhost_cdcacm: add CDC_SUBCLASS_ACM and CDC_PROTO_ATM to supported class and proto 2016-11-30 12:20:23 -06:00
Janne Rosberg
4b282f219a usbhost_composite: fix end offset in usbhost_copyinterface() 2016-11-30 12:18:23 -06:00
Gregory Nutt
b0dffdc2ca Fix a number of header files with mismatched 'extern C {' and '}' 2016-11-05 07:25:05 -06:00
Gregory Nutt
4fcbe8e410 drivers: Disable priority inheritance on all semaphores used for signaling 2016-11-03 11:00:47 -06:00
Janne Rosberg
847d2b4218 usbhost/composite: fix compile; missing semicolons 2016-10-18 11:52:23 -06:00
Janne Rosberg
72f13db4bf usbhost/enumerate: fix possible buffer overwrite 2016-10-18 08:15:19 -06:00
Gregory Nutt
7f6a403b96 USB host composite is at least partially functional. No longer depends on CONFIG_EXPERIMENTAL 2016-09-02 07:26:29 -06:00
Gregory Nutt
e958c32e4d USB host composite: Using wrong interface number from interface descriptor. 2016-08-31 13:29:38 -06:00
Gregory Nutt
ebe829c4b9 USB host composite: A test should be <= not just < 2016-08-31 13:24:38 -06:00
Gregory Nutt
7ea9632592 Change the way that contactless IOCTL commands are defined. All IOCTL commands must be unique. 2016-08-31 11:30:22 -06:00
Gregory Nutt
7b75a32ca1 Improve some comments 2016-08-31 08:16:12 -06:00
Gregory Nutt
cb7c1c1f14 USB host composite: Add an option to permit support only a subset of the composite intefaces. 2016-08-31 07:56:27 -06:00
Gregory Nutt
aa0d1868f5 USB host composite: Fix places where the wrong pointer was used; Add a test for an error condition. 2016-08-30 13:58:01 -06:00
Gregory Nutt
ac623abc7d USB host composite: Reosolves last remaining REVISIT design issues. Compiles clean with no errors and warning and is fully ready for testing. 2016-08-30 10:52:41 -06:00
Gregory Nutt
ee83e49f75 Update a comment 2016-08-29 15:43:11 -06:00
Gregory Nutt
1ce4db8008 USB host composite: Save some information that will be needed to create a class-specific configuration. 2016-08-29 15:02:15 -06:00
Gregory Nutt
f4f807100b Update comment 2016-08-29 14:55:03 -06:00
Alpo Leinonen
7d5173ca09 USB host composite: Several syntactic errors fixed 2016-08-29 07:53:57 -06:00
Gregory Nutt
43abb7cb3a Mark USB host compsite feature EXPERMENTAL; update ChangeLog 2016-08-28 14:51:55 -06:00
Gregory Nutt
31c364457a CLASS_CONNECT needs to be called for each member of the composite. 2016-08-28 08:48:40 -06:00
Gregory Nutt
58b45d64d7 Fix composite connect method. 2016-08-28 08:33:38 -06:00
Gregory Nutt
5d4428be93 Add check of class ID in device scriptor header 2016-08-27 10:53:43 -06:00
Gregory Nutt
c973e0d3ba Add the logic necessary to abstract the register lookup information for each candiate class 2016-08-27 10:31:18 -06:00
Gregory Nutt
2460d41ae0 Add more logic to the USB host composite wrapper. 2016-08-26 17:03:16 -06:00
Gregory Nutt
0860621e60 Fill one more case of 'Missing logic' in the USB host composite wrapper. 2016-08-26 12:34:58 -06:00
Gregory Nutt
3c0b287fe9 Fill in a little of the 'Missing logic' in the USB host composite wrapper. 2016-08-26 12:24:35 -06:00
Gregory Nutt
ea8ce7acb6 Trivial rename 2016-08-26 11:05:50 -06:00
Gregory Nutt
a228b0cc36 Add a little more meat to the still very USB host composite skeleton. Not quite so boney now. 2016-08-26 10:33:41 -06:00
Gregory Nutt
fa4e9e3c1c Add a little more meat to the still very bony USB host composite skeleton. 2016-08-26 10:13:35 -06:00
Gregory Nutt
579e338cd3 Add a little more meat to the USB host composite skeleton. Still pretty bony. 2016-08-26 09:47:38 -06:00
Gregory Nutt
8a1d6c9ed8 Basic framework that might be used to add USB host support 2016-08-26 09:07:52 -06:00
Gregory Nutt
a897fd4ccf Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead. 2016-06-30 13:09:22 -06:00
Gregory Nutt
2a751068e6 Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:59:15 -06:00
Gregory Nutt
efb02f2ef1 drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors. 2016-06-12 08:31:22 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2 Rename *lldbg to *llerr 2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:18 -06:00
Gregory Nutt
b6f5ffa9a8 CDC/AC: too man right parentheses if IFLOW_CONTROL enabled 2016-02-24 11:54:02 -06:00
Gregory Nutt
2244ed46bc nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 07:32:58 -06:00
xuhang
26d40fa80c drivers/usbhost/hid_parser.c: Wrong size used in memcpy() 2016-01-25 20:00:11 -06:00
Gregory Nutt
cf14f8d1b5 drivers/: Fixes to spacing and alignement 2015-10-10 10:41:00 -06:00
Gregory Nutt
af086c40ff Remove dangling whitespace 2015-10-04 15:28:54 -06:00
Gregory Nutt
0b12dbf95d Fix some spacing problems 2015-10-04 15:04:00 -06:00
Gregory Nutt
16b32bbadd Standardize the width of all comment boxes in C files 2015-10-03 07:25:53 -06:00