Right, dmesg shows "cannot submit datapipe for urb 0, error -28: not
enough bandwidth" when it stuck in read(...); It seems to be a
printout from usbaudio.c



On 2 Nov, 05:25, Chris Stratton <[email protected]> wrote:
> On Oct 27, 5:43 am, Vincent <[email protected]> wrote:
>
> > I am trying to read out data from an USB audio device (/dev/snd/dsp,
> > 14:3) through native C function. Same C code works with Ubuntu 10.04
> > but not with Android (execution stucks at read(...) which never
> > returns), any tips about it?
>
> It's probably blocking due to lack of data due to something not being
> quite right with the device/driver/config.
>
> Try instrumenting the kernel driver for this usb audio device with
> lots of PRINTK's and open an adb shell and tail -f whatever file dmesg
> is pointing to on ubuntu and then on android

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to