Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with USBProber and MIDI class compliant descriptors.



Hello,

When I attempt to read in USBProber the configuration descriptor of "working" class compliant MIDI devices (eg EvoIution UC-16) I get some errors though the raw content of the descriptor appears to be correct.

USBProber displays following informations:

Composite device: "UC-16 USB MIDI Controller"
Device Descriptor
Descriptor Version Number: 0x0100
Device Class: 0 (Composite)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 64
Device VendorID/ProductID: 0x0A4D/0x00F0 (Evolution Electronics Ltd.)
Device Version Number: 0x0124
Number of Configurations: 1
Manufacturer String: 1 "Evolution Electronics Ltd."
Product String: 2 "UC-16 USB MIDI Controller"
Serial Number String: 0 (none)
Configuration Descriptor: ....................................... "Audio Class"
Length (and contents): 101
Raw Descriptor (hex) 0000: 09 02 00 65 02 01 03 C0 00 09 04 00 00 00 01 01
Raw Descriptor (hex) 0010: 00 00 09 24 01 00 01 09 00 01 01 09 04 01 00 02
Raw Descriptor (hex) 0020: 01 03 00 00 07 24 01 00 01 41 00 06 24 02 01 01
Raw Descriptor (hex) 0030: 00 06 24 02 02 02 00 09 24 03 01 03 01 02 01 00
Raw Descriptor (hex) 0040: 09 24 03 02 04 01 01 01 00 09 05 81 02 40 00 00
Raw Descriptor (hex) 0050: 00 00 05 25 01 01 03 09 05 02 02 40 00 00 00 00
Raw Descriptor (hex) 0060: 05 25 01 01 01
Number of Interfaces: 2
Configuration Value: 1
Attributes: 0xC0 (self-powered)
MaxPower: 0 ma
Interface #0 - Audio/Control
Alternate Setting 0
Number of Endpoints 0
Interface Class: 1 (Audio)
Interface Subclass; 1 (Control)
Interface Protocol: 0
Audio Control Class Specific Header
Descriptor Version Number: 01.00
Class Specific Size: 9
Number of Audio Interfaces: 1
Audio Interface Number: 1
Interface #1 - Audio/Streaming
Alternate Setting 0
Number of Endpoints 2
Interface Class: 1 (Audio)
Interface Subclass; 3 (Streaming)
Interface Protocol: 0
Uknown Interface SubClass Type
Uknown Interface SubClass Type
Uknown Interface SubClass Type
Uknown Interface SubClass Type
Uknown Interface SubClass Type
Endpoint 0x81 - Bulk Input
Address: 0x81 (IN)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 64
Polling Interval: 0 ms
Class-Specific AS Audio EndPoint - Isochronous output
Attributes: 0x01 Sample Frequency,
bLockDelayUnits: 0x03 (RESERVED)
wLockDelay: 1289
Illegal Descriptor: Length of 0

It seems that USBProber is lost as soon it starts to parse MIDI JACKs and/or ELEMENTs descriptors starting at offset "0x002C" in the raw descriptor dump.


Has anyone already seen such a behavior? Is it a known bug or should i fill a bug?

Does it exist a "verbose" version of USBProber which would display the raw requests send to the device?

Thanks,

Philippe

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.