USB HID?

Sep 8, 2008 at 4:28 PM
I have the Spark CPU and LCD kit from Special Computing (XL6, 4.3" LCD, netmicroSD) with the 1.3 image. I thought I would start with something simple like getting the USB Host working. I assume there is HID support for a keyboard and mouse but I have not been able to get it working. I changed the hardware config to support USB Host and plugged in a keyboard/mouse/usb hub. Nothing seems to work. Am I missing something? Here is my boot info:

Microsoft Windows CE Bootloader Common Library Version 1.4 Built Mar 10 2008 22:14:36
Watchdog Reset
For GumstixIII Verdex Platform  1.3 Built Mar 12 2008 08:52:18
PLATFORM INFO: XL6 Verdex @624Mhz
RAM INFO:Size 134217728
FLASH INFO:Size 33423360
FLASH INFO:Bytes per blocks: 131072 Number of blocks: 255
FLASH INFO:Sectors per blocks: 256 Data bytes per sector: 512
Serial number: 710301A147F8c2a4
Persistent registry support enabled.
Configuring ConsoleLCD18...Configured w/USB host.
Configuring netMicro-SD...LAN9118: Chip Id 117 Revision 2
Auto Negotiation Failed
LAN9117 Mac = DE-14-4E-AB-55-50
Configured wo/WiFi.
XL6 platform Configured!

Press [ENTER] to launch image stored in flash or [SPACE] to cancel.

Initiating image launch in 0 seconds.
Launching flash resident image  ...
Launching flash resident image
System ready!
Preparing for download...
INFO: Using device name: 'GUM0'
Copying OS Image from FLASH(0xBCB20000) to RAM(0x80100000) (16257148 bytes)...
Jumping to image at physical 0xA0100000...



######################################################
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Windows CE Kernel for ARM (Thumb Enabled) Built on Feb  5 2008 at 10:48:36
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
INFO:XL6 extension RAM added.
INFO: Using persistent registry
INFO: OALPerRegRead: Registry read start
INFO: OALPerRegRead: Registry read start
INFO: OALPerRegRead: Registry read done (0)
INFO:Hardware = 0x80007042
INFO:Auto DisplayDll = ddi_pxa270.dll X18 Bpp interface.
INFO:Ident Name: GumstixIII
INFO:Ident Desc: GumstixIII Device
INFO:Ident BSP: GumstixIII_BIN Ver:1.3
INFO:Ident OS Design: GumstixIII_BIN_1 Ver:3 Built on Mon 08/11/2008 16:22:20.32
+COM_BT_Init
+COM_ST_Init
+SPI_Init 2 128Kbs
+I2C_Init 1
+USBH_Init P1
+USBH_Init P2
+ETH2_Init
+SDHC_Init
INFO:LTE430WQ LCD display 480x272x32
+TCH1_Init
Visual Studio debug support enabled!
System Information
Machine: Verdex XL6
CE OS Version: 6.0.2217
Processor: ARM920
Speed: 600Mhz
Bootloader Version: 1.3
Hardware Config: 0x80007042
Compact Framework: 2.0.7045.0
OEM: Gumstix
BSP: GumstixIII_BIN
BSP Version: 1.3
Managed API: 2.0.2.0
SDF API: 2.2.0.0
OS Design: GumstixIII_BIN_1
OS Design Version: 3
Built: Mon 08/11/2008 16:22:20.32

Sep 8, 2008 at 5:35 PM
I did not include all the HID support drivers in the default image (probably my fault).
But its not too hard to add them. If you have a VS 2005 with Platform Builder just download the sourcs BSP
and add the HID class drivers under Core OS/USB Host support/USB HID/ keyboard..mouse etc.

If you have the LCD setup you really don't need an external keyboard and mouse as you can do all input
with the touch screen and the on screen SIP display. I agree external device does make input a little easier.


DV
Sep 8, 2008 at 7:22 PM
That explains it! :) Thanks. I haven't jumped into PB yet. I wanted to explore the functionality of the base image first.
Sep 8, 2008 at 7:33 PM
If you are just looking to try out the USB host functionality, the USB mass storage class driver (USB drive) is included and does work.

DV