Tue Jun 12 18:56:59 EDT 2012

USB cont

Enum working up to Set Configuration.
Next problem is the descriptors themselves:

[2276531.480629] usb 1- new full speed USB device using ehci_hcd and address 37
[2276531.573072] usb 1- config 1 interface 0 altsetting 0 has an invalid endpoint with address 0x80, skipping
[2276531.574313] usb 1- New USB device found, idVendor=04d8, idProduct=0001
[2276531.574321] usb 1- New USB device strings: Mfr=4, Product=3, SerialNumber=2
[2276531.574328] usb 1- Product: USB Hack
[2276531.574333] usb 1- Manufacturer: Microchip Technology, Inc.
[2276531.574339] usb 1- SerialNumber: 0.0
[2276531.575129] usbhid 1- couldn't find an input interrupt endpoint
[2276535.883246] usb 1- USB disconnect, address 37

Next is to pick a an interface and stick to it.  I'm tempted to do
something really simple for Staapl, just wrap the monitor protocol in
2 vendor-specific requests:

SET_DATA (push)
GET_DATA (pull)

and write a C program that takes data on stdio so this can be combined
with socat.

What are the alternatives?
  - vendor-specific / really simple
  - CDC
  - FTDI