Takashi Iwai wrote: > is there any good text-format tool for usb descriptors except for > humanbeing?
The /proc/asound/card?... information of snd-usb-audio ;-) Fedor, it would be interesting to see how much got parsed with uhci. > > There are two PCM devices, but both use the same endpoints. > ... > > It may be possible to fake better descriptors by adding a quirk and > > some code to the snd-usb-audio driver. I'm not sure whether the host > > controller driver had to be aware of the fake, too -- currently, the > > alternate settings 1 and 2 wouldn't be found, and wMaxPacketSize > > would be too small for 96 kHz. > > it seems fine: 576 = 96 * 6 and 384 = 96 * 4 ? In interfaces 1/2, wMaxPacketSize isn't greater than 288. But I've just realized that usb.c looks at all interfaces to determine the maximum, so this isn't an issue. > > The two PCM devices cannot be used at the same time anyway, so I think > > creating a quirk for interface 0 which says "ignore this" could work. > > Takashi, any comments? > > i think implementing a semaphore (or flag) for each endpoint would be > better, so that the driver can find generally double-endpoints > problem. I cannot imagine anybody else would be stupid enough to design a device with double endpoints. But then I didn't imagine Midiman would, either. Oh well, Murphy's Law ... :-( Currently, both uhci and usb-uhci break in interesting ways, and I'm not sure this could be prevented by some workaround in snd-usb-audio. I have the feeling that all host controller drivers ([usb-]uhci, ohci, ehci, ...), or usb.c, would have to be patched to work around the problem. But I didn't write the USB subsystem, nor do I have the device, so feel free to ignore my opinion. :) Regards, Clemens ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel