Felix Homann wrote:
Am 05.10.2010 09:21, schrieb Clemens Ladisch:
Felix Homann wrote:
Trying to log the value of f reveals that retire_playback_sync_urb() doesn't seem to be called at all.
The entire function or that part of the code?
The entire function. I had placed a printk at the very beginning of retire_playback_sync_urb() whose output doesn't show up.
Anyway, please try the patch below, which makes the driver autodetect the feedback format. (The actual format can be seen in /proc/asound/cardX/stream0 while running.)
Playback: Status: Running Interface = 1 Altset = 1 URBs = 3 [ 57 57 57 ] Packet Size = 312 Momentary freq = 48000 Hz (0x6.0000) Interface 1 Altset 1 Format: S24_3LE Channels: 8 Endpoint: 1 OUT (ADAPTIVE) Rates: 44100, 48000, 88200, 96000 Data packet interval: 125 us
Does it tell us anything?
That this device does not use frequency feedback.
What happens when you are recording something and then try to play something else with a different sample rate? (use arecord/aplay with "-D hw:X")
Regards, Clemens