BBB qt 5.3.2 alsa USB sound card kb conflict - qt example spectrum in eglfs flashes console debug messages

I am running a compiled version of the kernel (I needed radio capability eventually, it is not currently plugged in)

uname -a gives me:

Linux beaglebone 3.14.19-ti-r27 #1 SMP PREEMPT Thu Oct 2 10:30:30 CDT 2014 armv7l GNU/Linux

I have a 4 port 2.0 hub attached to the USB port.

It has:

usb keyboard

usb sound card

**** List of PLAYBACK Hardware Devices ****

card 0: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]

Subdevices: 1/1

Subdevice #0: subdevice #0

I use the network adapter to connect to my mac.
I use a console to start playback of a file

alsaplayer ~/.Test.wav

when I run alsaplayer to play a wave file or mp3 files, it executes normally (I assume) - I see messages on the console when packets play without a lot of additional messages.

However, the USB keyboard is sub-responsive on the and keys bounce while sound is playing.
Is this normal? Does the sound playback max out the USB so the keyboard stops working?

If I run the spectrum example in the qt 5.3.2 examples/multimedia/spectrum directory, the graphics screen flashes between graphics and console and I see lots of status debugging messages.
Message similar to:

Engine::Initialize frequenciesList (8000, 11025, 22050, 44100, 48000)
Engine::initialize channelsList(1, 2, 4, 6, 8)

Anyone know how to turn them off?
Did I compile the qt 5.3.2 libraries incorrectly so they dump debug messages?

Here is a system log trace with useful info:

[ 10.854505] hid-generic 0003:04F2:0112.0002: input,hidraw1: USB HID v1.10 Mouse [CHICONY USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input1

[ 10.963745] usb 2-1.3: new full-speed USB device number 4 using musb-hdrc

[ 11.085468] usb 2-1.3: device v0d8c p000c is not supported

[ 11.091486] usb 2-1.3: New USB device found, idVendor=0d8c, idProduct=000c

[ 11.091531] usb 2-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0

[ 11.091567] usb 2-1.3: Product: C-Media USB Headphone Set

[ 11.142903] input: C-Media USB Headphone Set as /devices/ocp.3/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1.3/2-1.3:1.3/0003:0D8C:000C.0003/input/input4

[ 11.151771] hid-generic 0003:0D8C:000C.0003: input,hidraw2: USB HID v1.00 Device [C-Media USB Headphone Set ] on usb-musb-hdrc.1.auto-1.3/input3

[ 11.613639] usbcore: registered new interface driver snd-usb-audio

[ 68.024124] ------------[ cut here ]------------

[ 68.024179] WARNING: CPU: 0 PID: 587 at drivers/dma/cppi41.c:612 cppi41_dma_control+0x2cc/0x2f8()

[ 68.024189] Modules linked in: omaplfb(O) snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi snd_pcm snd_timer snd soundcore musb_dsps musb_hdrc pvrsrvkm(O) tilcdc drm_kms_helper ti_am335x_adc kfifo_buf industrialio musb_am335x

[ 68.024289] CPU: 0 PID: 587 Comm: spectrum Tainted: G O 3.14.19-ti-r27 #1

[ 68.024336] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)

[ 68.024359] [] (show_stack) from [] (dump_stack+0x7c/0xbc)

[ 68.024377] [] (dump_stack) from [] (warn_slowpath_common+0x70/0x8c)

[ 68.024392] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x1c/0x24)

[ 68.024407] [] (warn_slowpath_null) from [] (cppi41_dma_control+0x2cc/0x2f8)

[ 68.024503] [] (cppi41_dma_control) from [] (cppi41_dma_channel_abort+0xe0/0x178 [musb_hdrc])

[ 68.024659] [] (cppi41_dma_channel_abort [musb_hdrc]) from [] (musb_cleanup_urb.isra.11+0x48/0x158 [musb_hdrc])

[ 68.024708] [] (musb_cleanup_urb.isra.11 [musb_hdrc]) from [] (musb_urb_dequeue+0x10c/0x194 [musb_hdrc])

[ 68.024744] [] (musb_urb_dequeue [musb_hdrc]) from [] (usb_hcd_unlink_urb+0x50/0xdc)

[ 68.024827] [] (usb_hcd_unlink_urb) from [] (deactivate_urbs+0xc8/0xdc [snd_usb_audio])

[ 68.024874] [] (deactivate_urbs [snd_usb_audio]) from [] (snd_usb_endpoint_stop+0x30/0x64 [snd_usb_audio])

[ 68.024927] [] (snd_usb_endpoint_stop [snd_usb_audio]) from [] (stop_endpoints+0x5c/0x74 [snd_usb_audio])

[ 68.024978] [] (stop_endpoints [snd_usb_audio]) from [] (snd_usb_substream_playback_trigger+0x9c/0xb8 [snd_usb_audio])

[ 68.025074] [] (snd_usb_substream_playback_trigger [snd_usb_audio]) from [] (snd_pcm_do_stop+0x54/0x58 [snd_pcm])

[ 68.025119] [] (snd_pcm_do_stop [snd_pcm]) from [] (snd_pcm_action_single+0x38/0x78 [snd_pcm])

[ 68.025160] [] (snd_pcm_action_single [snd_pcm]) from [] (snd_pcm_drop+0x6c/0xc4 [snd_pcm])

[ 68.025202] [] (snd_pcm_drop [snd_pcm]) from [] (snd_pcm_release_substream.part.29+0xc/0x94 [snd_pcm])

[ 68.025245] [] (snd_pcm_release_substream.part.29 [snd_pcm]) from [] (snd_pcm_release+0x8c/0xa8 [snd_pcm])

[ 68.025278] [] (snd_pcm_release [snd_pcm]) from [] (__fput+0x80/0x1f4)

[ 68.025299] [] (__fput) from [] (task_work_run+0xa8/0xd8)

[ 68.025317] [] (task_work_run) from [] (do_work_pending+0xb0/0xb4)

[ 68.025332] [] (do_work_pending) from [] (work_pending+0xc/0x20)

[ 68.025343] —[ end trace 770c8771af4818c3 ]—

[ 86.337799] ------------[ cut here ]------------

[ 86.337913] WARNING: CPU: 0 PID: 587 at drivers/dma/cppi41.c:612 cppi41_dma_control+0x2cc/0x2f8()

[ 86.337943] Modules linked in: omaplfb(O) snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi snd_pcm snd_timer snd soundcore musb_dsps musb_hdrc pvrsrvkm(O) tilcdc drm_kms_helper ti_am335x_adc kfifo_buf industrialio musb_am335x

[ 86.338237] CPU: 0 PID: 587 Comm: spectrum Tainted: G W O 3.14.19-ti-r27 #1

[ 86.338332] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)

[ 86.338391] [] (show_stack) from [] (dump_stack+0x7c/0xbc)

[ 86.338439] [] (dump_stack) from [] (warn_slowpath_common+0x70/0x8c)

[ 86.338486] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x1c/0x24)

[ 86.338532] [] (warn_slowpath_null) from [] (cppi41_dma_control+0x2cc/0x2f8)

[ 86.338728] [] (cppi41_dma_control) from [] (cppi41_dma_channel_abort+0xe0/0x178 [musb_hdrc])

[ 86.338903] [] (cppi41_dma_channel_abort [musb_hdrc]) from [] (musb_cleanup_urb.isra.11+0x48/0x158 [musb_hdrc])

[ 86.339054] [] (musb_cleanup_urb.isra.11 [musb_hdrc]) from [] (musb_urb_dequeue+0x10c/0x194 [musb_hdrc])

[ 86.339165] [] (musb_urb_dequeue [musb_hdrc]) from [] (usb_hcd_unlink_urb+0x50/0xdc)

[ 86.339336] [] (usb_hcd_unlink_urb) from [] (deactivate_urbs+0xc8/0xdc [snd_usb_audio])

[ 86.339486] [] (deactivate_urbs [snd_usb_audio]) from [] (snd_usb_endpoint_stop+0x30/0x64 [snd_usb_audio])

[ 86.339649] [] (snd_usb_endpoint_stop [snd_usb_audio]) from [] (stop_endpoints+0x5c/0x74 [snd_usb_audio])

[ 86.339819] [] (stop_endpoints [snd_usb_audio]) from [] (snd_usb_substream_playback_trigger+0x9c/0xb8 [snd_usb_audio])

[ 86.340042] [] (snd_usb_substream_playback_trigger [snd_usb_audio]) from [] (snd_pcm_do_stop+0x54/0x58 [snd_pcm])

[ 86.340187] [] (snd_pcm_do_stop [snd_pcm]) from [] (snd_pcm_action_single+0x38/0x78 [snd_pcm])

[ 86.340324] [] (snd_pcm_action_single [snd_pcm]) from [] (snd_pcm_drop+0x6c/0xc4 [snd_pcm])

[ 86.340464] [] (snd_pcm_drop [snd_pcm]) from [] (snd_pcm_release_substream.part.29+0xc/0x94 [snd_pcm])

[ 86.340604] [] (snd_pcm_release_substream.part.29 [snd_pcm]) from [] (snd_pcm_release+0x8c/0xa8 [snd_pcm])

[ 86.340704] [] (snd_pcm_release [snd_pcm]) from [] (__fput+0x80/0x1f4)

[ 86.340759] [] (__fput) from [] (task_work_run+0xa8/0xd8)

[ 86.340816] [] (task_work_run) from [] (do_work_pending+0xb0/0xb4)

[ 86.340864] [] (do_work_pending) from [] (work_pending+0xc/0x20)

[ 86.340897] —[ end trace 770c8771af4818c4 ]—

[ 146.093082] ------------[ cut here ]------------

[ 146.093156] WARNING: CPU: 0 PID: 587 at drivers/dma/cppi41.c:612 cppi41_dma_control+0x2cc/0x2f8()

[ 146.093172] Modules linked in: omaplfb(O) snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi snd_pcm snd_timer snd soundcore musb_dsps musb_hdrc pvrsrvkm(O) tilcdc drm_kms_helper ti_am335x_adc kfifo_buf industrialio musb_am335x

[ 146.093327] CPU: 0 PID: 587 Comm: spectrum Tainted: G W O 3.14.19-ti-r27 #1

[ 146.093385] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)

[ 146.093418] [] (show_stack) from [] (dump_stack+0x7c/0xbc)

[ 146.093445] [] (dump_stack) from [] (warn_slowpath_common+0x70/0x8c)

[ 146.093468] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x1c/0x24)

[ 146.093492] [] (warn_slowpath_null) from [] (cppi41_dma_control+0x2cc/0x2f8)

[ 146.093619] [] (cppi41_dma_control) from [] (cppi41_dma_channel_abort+0xe0/0x178 [musb_hdrc])

[ 146.093709] [] (cppi41_dma_channel_abort [musb_hdrc]) from [] (musb_cleanup_urb.isra.11+0x48/0x158 [musb_hdrc])

[ 146.093785] [] (musb_cleanup_urb.isra.11 [musb_hdrc]) from [] (musb_urb_dequeue+0x10c/0x194 [musb_hdrc])

[ 146.093842] [] (musb_urb_dequeue [musb_hdrc]) from [] (usb_hcd_unlink_urb+0x50/0xdc)

[ 146.093952] [] (usb_hcd_unlink_urb) from [] (deactivate_urbs+0xc8/0xdc [snd_usb_audio])

[ 146.094028] [] (deactivate_urbs [snd_usb_audio]) from [] (snd_usb_endpoint_stop+0x30/0x64 [snd_usb_audio])

[ 146.094113] [] (snd_usb_endpoint_stop [snd_usb_audio]) from [] (stop_endpoints+0x5c/0x74 [snd_usb_audio])

[ 146.094197] [] (stop_endpoints [snd_usb_audio]) from [] (snd_usb_substream_playback_trigger+0x9c/0xb8 [snd_usb_audio])

[ 146.094329] [] (snd_usb_substream_playback_trigger [snd_usb_audio]) from [] (snd_pcm_do_stop+0x54/0x58 [snd_pcm])

[ 146.094403] [] (snd_pcm_do_stop [snd_pcm]) from [] (snd_pcm_action_single+0x38/0x78 [snd_pcm])

[ 146.094472] [] (snd_pcm_action_single [snd_pcm]) from [] (snd_pcm_drop+0x6c/0xc4 [snd_pcm])

[ 146.094542] [] (snd_pcm_drop [snd_pcm]) from [] (snd_pcm_release_substream.part.29+0xc/0x94 [snd_pcm])

[ 146.094613] [] (snd_pcm_release_substream.part.29 [snd_pcm]) from [] (snd_pcm_release+0x8c/0xa8 [snd_pcm])

[ 146.094666] [] (snd_pcm_release [snd_pcm]) from [] (__fput+0x80/0x1f4)

[ 146.094697] [] (__fput) from [] (task_work_run+0xa8/0xd8)

[ 146.094723] [] (task_work_run) from [] (do_exit+0x2f0/0x970)

[ 146.094745] [] (do_exit) from [] (do_group_exit+0x40/0xb0)

[ 146.094774] [] (do_group_exit) from [] (get_signal_to_deliver+0x278/0x6c8)

[ 146.094802] [] (get_signal_to_deliver) from [] (do_signal+0x88/0x444)

[ 146.094828] [] (do_signal) from [] (do_work_pending+0x7c/0xb4)

[ 146.094852] [] (do_work_pending) from [] (work_pending+0xc/0x20)

[ 146.094869] —[ end trace 770c8771af4818c5 ]—

Hi Peter,
I have compiled qt-5 on Beaglebone White and Raspberry Pi, it took over 30 hours but QtRadio worked, though it was sluggish. A more reasonable build time was had on Pandaboard.

Sound on the Beaglebone -XM and White caused "not enough resources to run...." messages.

I don't have a BBB, my current running ARM collection consists of ODROID-X, ODROID-U3, Raspberry Pi and Parallella 16.

The instructions I use to build on ARM and x86_64 are at http://napan.ca/ghpsdr3/index.php/Odroid, the "How to compile Qt5" section. You have to have at least 4 GB swap or the build dies silently.

root@parallella-16:~# /usr/local/qt5/qtbase/bin/qmake -v
QMake version 3.0
Using Qt version 5.3.2 in /usr/local/qt5/qtbase/lib

I am able to run hpsdr-server for Hermes, hiqsdr-server for the HiQSDR, etc., dspserver and also Qtradio run locally or over a ssh connection.
Regards
Sid.

I think my problem is power related.
I'm using a self-powered hub.
I think that limits me to less than 400ma across all devices.
Keyboard - 150ma
WiFi - 250ma
USB sound - 200ma
USB radio tuner - 200ma

Over 800ma at peak use.
I need a powered hub.

The flashing of debug messages is caused by the Qt library.
By default, it logs debug and warning messages to the console.
You can disable it by setting the build options

-DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT

There are bugs in 5.3.2 that you will have to manually fix when specifying this option.