On 20.10.2012 12:22, Didier 'Ptitjes' Villevalois wrote:
On ven., 2012-10-19 at 20:02 +0200, Daniel Mack wrote: [...]
Let me know of you make any progress here.
I diff-ed the ioreg output when the play is connected without the driver (-) and with the driver (+). So I can see that it is using its proprietary driver.
http://ptitjes.free.fr/reloop-play/play-ioreg-without-and-with-driver.diff
Hmm, that output doesn't make a whole lot of sense. Could you do the same thing with lsusb under Linux? Boot into Linux after the OS X driver downloaded the firmware for one run, and freshly connect (power cycle) device for the other.
I also traced (with Apple's USB Probe tool) the USB when connecting the PLAY.
At log level 6: http://ptitjes.free.fr/reloop-play/usb-log-withdriver-l6.txt
At log level 7: (3.5Mo!!) http://ptitjes.free.fr/reloop-play/usb-log-withdriver-l7.txt
I have to do the same thing when streaming some sound. But should I output some easily recognizable sound ? Something like a sine or some silence ?
Yes, that can help. You could for example stream a sine that is on just one channel, so you can debug the muxing (interleaving) on the wire. Or a sine at ~ -48dB, which would just leave the 8 MSB empty (to check the endianess).
Most probably though, the streaming mode is already supported by the Linux driver, and it's the recognition of the right format that fails, or the cards needs a different setup sequence than the generic one.
Daniel