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.
On 05/10/14 17:41, Peter Gregory wrote:
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] [<c001607c>] (unwind_backtrace) from [<c0012b60>]
(show_stack+0x10/0x14)
[ 68.024359] [<c0012b60>] (show_stack) from [<c07ca6f4>]
(dump_stack+0x7c/0xbc)
[ 68.024377] [<c07ca6f4>] (dump_stack) from [<c00468b8>]
(warn_slowpath_common+0x70/0x8c)
[ 68.024392] [<c00468b8>] (warn_slowpath_common) from [<c0046970>]
(warn_slowpath_null+0x1c/0x24)
[ 68.024407] [<c0046970>] (warn_slowpath_null) from [<c04960f8>]
(cppi41_dma_control+0x2cc/0x2f8)
[ 68.024503] [<c04960f8>] (cppi41_dma_control) from [<bf088ba0>]
(cppi41_dma_channel_abort+0xe0/0x178 [musb_hdrc])
[ 68.024659] [<bf088ba0>] (cppi41_dma_channel_abort [musb_hdrc])
from [<bf0829f4>] (musb_cleanup_urb.isra.11+0x48/0x158 [musb_hdrc])
[ 68.024708] [<bf0829f4>] (musb_cleanup_urb.isra.11 [musb_hdrc])
from [<bf082d68>] (musb_urb_dequeue+0x10c/0x194 [musb_hdrc])
[ 68.024744] [<bf082d68>] (musb_urb_dequeue [musb_hdrc]) from
[<c05b5b60>] (usb_hcd_unlink_urb+0x50/0xdc)
[ 68.024827] [<c05b5b60>] (usb_hcd_unlink_urb) from [<bf13190c>]
(deactivate_urbs+0xc8/0xdc [snd_usb_audio])
[ 68.024874] [<bf13190c>] (deactivate_urbs [snd_usb_audio]) from
[<bf132a18>] (snd_usb_endpoint_stop+0x30/0x64 [snd_usb_audio])
[ 68.024927] [<bf132a18>] (snd_usb_endpoint_stop [snd_usb_audio])
from [<bf13a5c4>] (stop_endpoints+0x5c/0x74 [snd_usb_audio])
[ 68.024978] [<bf13a5c4>] (stop_endpoints [snd_usb_audio]) from
[<bf13a724>] (snd_usb_substream_playback_trigger+0x9c/0xb8
[snd_usb_audio])
[ 68.025074] [<bf13a724>] (snd_usb_substream_playback_trigger
[snd_usb_audio]) from [<bf0f90e8>] (snd_pcm_do_stop+0x54/0x58 [snd_pcm])
[ 68.025119] [<bf0f90e8>] (snd_pcm_do_stop [snd_pcm]) from
[<bf0f8d10>] (snd_pcm_action_single+0x38/0x78 [snd_pcm])
[ 68.025160] [<bf0f8d10>] (snd_pcm_action_single [snd_pcm]) from
[<bf0f8f20>] (snd_pcm_drop+0x6c/0xc4 [snd_pcm])
[ 68.025202] [<bf0f8f20>] (snd_pcm_drop [snd_pcm]) from [<bf0f95ec>]
(snd_pcm_release_substream.part.29+0xc/0x94 [snd_pcm])
[ 68.025245] [<bf0f95ec>] (snd_pcm_release_substream.part.29
[snd_pcm]) from [<bf0f9718>] (snd_pcm_release+0x8c/0xa8 [snd_pcm])
[ 68.025278] [<bf0f9718>] (snd_pcm_release [snd_pcm]) from
[<c0135464>] (__fput+0x80/0x1f4)
[ 68.025299] [<c0135464>] (__fput) from [<c006417c>]
(task_work_run+0xa8/0xd8)
[ 68.025317] [<c006417c>] (task_work_run) from [<c00125a4>]
(do_work_pending+0xb0/0xb4)
[ 68.025332] [<c00125a4>] (do_work_pending) from [<c000efb8>]
(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] [<c001607c>] (unwind_backtrace) from [<c0012b60>]
(show_stack+0x10/0x14)
[ 86.338391] [<c0012b60>] (show_stack) from [<c07ca6f4>]
(dump_stack+0x7c/0xbc)
[ 86.338439] [<c07ca6f4>] (dump_stack) from [<c00468b8>]
(warn_slowpath_common+0x70/0x8c)
[ 86.338486] [<c00468b8>] (warn_slowpath_common) from [<c0046970>]
(warn_slowpath_null+0x1c/0x24)
[ 86.338532] [<c0046970>] (warn_slowpath_null) from [<c04960f8>]
(cppi41_dma_control+0x2cc/0x2f8)
[ 86.338728] [<c04960f8>] (cppi41_dma_control) from [<bf088ba0>]
(cppi41_dma_channel_abort+0xe0/0x178 [musb_hdrc])
[ 86.338903] [<bf088ba0>] (cppi41_dma_channel_abort [musb_hdrc])
from [<bf0829f4>] (musb_cleanup_urb.isra.11+0x48/0x158 [musb_hdrc])
[ 86.339054] [<bf0829f4>] (musb_cleanup_urb.isra.11 [musb_hdrc])
from [<bf082d68>] (musb_urb_dequeue+0x10c/0x194 [musb_hdrc])
[ 86.339165] [<bf082d68>] (musb_urb_dequeue [musb_hdrc]) from
[<c05b5b60>] (usb_hcd_unlink_urb+0x50/0xdc)
[ 86.339336] [<c05b5b60>] (usb_hcd_unlink_urb) from [<bf13190c>]
(deactivate_urbs+0xc8/0xdc [snd_usb_audio])
[ 86.339486] [<bf13190c>] (deactivate_urbs [snd_usb_audio]) from
[<bf132a18>] (snd_usb_endpoint_stop+0x30/0x64 [snd_usb_audio])
[ 86.339649] [<bf132a18>] (snd_usb_endpoint_stop [snd_usb_audio])
from [<bf13a5c4>] (stop_endpoints+0x5c/0x74 [snd_usb_audio])
[ 86.339819] [<bf13a5c4>] (stop_endpoints [snd_usb_audio]) from
[<bf13a724>] (snd_usb_substream_playback_trigger+0x9c/0xb8
[snd_usb_audio])
[ 86.340042] [<bf13a724>] (snd_usb_substream_playback_trigger
[snd_usb_audio]) from [<bf0f90e8>] (snd_pcm_do_stop+0x54/0x58 [snd_pcm])
[ 86.340187] [<bf0f90e8>] (snd_pcm_do_stop [snd_pcm]) from
[<bf0f8d10>] (snd_pcm_action_single+0x38/0x78 [snd_pcm])
[ 86.340324] [<bf0f8d10>] (snd_pcm_action_single [snd_pcm]) from
[<bf0f8f20>] (snd_pcm_drop+0x6c/0xc4 [snd_pcm])
[ 86.340464] [<bf0f8f20>] (snd_pcm_drop [snd_pcm]) from [<bf0f95ec>]
(snd_pcm_release_substream.part.29+0xc/0x94 [snd_pcm])
[ 86.340604] [<bf0f95ec>] (snd_pcm_release_substream.part.29
[snd_pcm]) from [<bf0f9718>] (snd_pcm_release+0x8c/0xa8 [snd_pcm])
[ 86.340704] [<bf0f9718>] (snd_pcm_release [snd_pcm]) from
[<c0135464>] (__fput+0x80/0x1f4)
[ 86.340759] [<c0135464>] (__fput) from [<c006417c>]
(task_work_run+0xa8/0xd8)
[ 86.340816] [<c006417c>] (task_work_run) from [<c00125a4>]
(do_work_pending+0xb0/0xb4)
[ 86.340864] [<c00125a4>] (do_work_pending) from [<c000efb8>]
(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] [<c001607c>] (unwind_backtrace) from [<c0012b60>]
(show_stack+0x10/0x14)
[ 146.093418] [<c0012b60>] (show_stack) from [<c07ca6f4>]
(dump_stack+0x7c/0xbc)
[ 146.093445] [<c07ca6f4>] (dump_stack) from [<c00468b8>]
(warn_slowpath_common+0x70/0x8c)
[ 146.093468] [<c00468b8>] (warn_slowpath_common) from [<c0046970>]
(warn_slowpath_null+0x1c/0x24)
[ 146.093492] [<c0046970>] (warn_slowpath_null) from [<c04960f8>]
(cppi41_dma_control+0x2cc/0x2f8)
[ 146.093619] [<c04960f8>] (cppi41_dma_control) from [<bf088ba0>]
(cppi41_dma_channel_abort+0xe0/0x178 [musb_hdrc])
[ 146.093709] [<bf088ba0>] (cppi41_dma_channel_abort [musb_hdrc])
from [<bf0829f4>] (musb_cleanup_urb.isra.11+0x48/0x158 [musb_hdrc])
[ 146.093785] [<bf0829f4>] (musb_cleanup_urb.isra.11 [musb_hdrc])
from [<bf082d68>] (musb_urb_dequeue+0x10c/0x194 [musb_hdrc])
[ 146.093842] [<bf082d68>] (musb_urb_dequeue [musb_hdrc]) from
[<c05b5b60>] (usb_hcd_unlink_urb+0x50/0xdc)
[ 146.093952] [<c05b5b60>] (usb_hcd_unlink_urb) from [<bf13190c>]
(deactivate_urbs+0xc8/0xdc [snd_usb_audio])
[ 146.094028] [<bf13190c>] (deactivate_urbs [snd_usb_audio]) from
[<bf132a18>] (snd_usb_endpoint_stop+0x30/0x64 [snd_usb_audio])
[ 146.094113] [<bf132a18>] (snd_usb_endpoint_stop [snd_usb_audio])
from [<bf13a5c4>] (stop_endpoints+0x5c/0x74 [snd_usb_audio])
[ 146.094197] [<bf13a5c4>] (stop_endpoints [snd_usb_audio]) from
[<bf13a724>] (snd_usb_substream_playback_trigger+0x9c/0xb8
[snd_usb_audio])
[ 146.094329] [<bf13a724>] (snd_usb_substream_playback_trigger
[snd_usb_audio]) from [<bf0f90e8>] (snd_pcm_do_stop+0x54/0x58 [snd_pcm])
[ 146.094403] [<bf0f90e8>] (snd_pcm_do_stop [snd_pcm]) from
[<bf0f8d10>] (snd_pcm_action_single+0x38/0x78 [snd_pcm])
[ 146.094472] [<bf0f8d10>] (snd_pcm_action_single [snd_pcm]) from
[<bf0f8f20>] (snd_pcm_drop+0x6c/0xc4 [snd_pcm])
[ 146.094542] [<bf0f8f20>] (snd_pcm_drop [snd_pcm]) from [<bf0f95ec>]
(snd_pcm_release_substream.part.29+0xc/0x94 [snd_pcm])
[ 146.094613] [<bf0f95ec>] (snd_pcm_release_substream.part.29
[snd_pcm]) from [<bf0f9718>] (snd_pcm_release+0x8c/0xa8 [snd_pcm])
[ 146.094666] [<bf0f9718>] (snd_pcm_release [snd_pcm]) from
[<c0135464>] (__fput+0x80/0x1f4)
[ 146.094697] [<c0135464>] (__fput) from [<c006417c>]
(task_work_run+0xa8/0xd8)
[ 146.094723] [<c006417c>] (task_work_run) from [<c0047bc8>]
(do_exit+0x2f0/0x970)
[ 146.094745] [<c0047bc8>] (do_exit) from [<c0049110>]
(do_group_exit+0x40/0xb0)
[ 146.094774] [<c0049110>] (do_group_exit) from [<c0057594>]
(get_signal_to_deliver+0x278/0x6c8)
[ 146.094802] [<c0057594>] (get_signal_to_deliver) from [<c0012044>]
(do_signal+0x88/0x444)
[ 146.094828] [<c0012044>] (do_signal) from [<c0012570>]
(do_work_pending+0x7c/0xb4)
[ 146.094852] [<c0012570>] (do_work_pending) from [<c000efb8>]
(work_pending+0xc/0x20)
[ 146.094869] ---[ end trace 770c8771af4818c5 ]---
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google
Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.