Nah.. Depends on the USB camera and kernel version... The USB bus on the BBB is very picky..
--
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 beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Feb 15, 2016, at 10:57 AM, joelk <nikst...@gmail.com> wrote:
[ 601.019165] INFO: task v4l_id:551 blocked for more than 120 seconds.
[ 601.025624] Not tainted 4.1.15-ti-rt-r40 #1
[ 601.031932] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 601.040887] v4l_id D c09d0558 0 551 1 0x00000001
[ 601.041028] [<c09d0558>] (__schedule) from [<c09d08ac>] (schedule+0x58/0xe4)
[ 601.041089] [<c09d08ac>] (schedule) from [<c09d1c88>] (__rt_mutex_slowlock+0xf4/0x188)
[ 601.041142] [<c09d1c88>] (__rt_mutex_slowlock) from [<c09d2284>] (rt_mutex_slowlock+0x13c/0x338)
[ 601.041192] [<c09d2284>] (rt_mutex_slowlock) from [<c09d24f4>] (rt_mutex_lock+0x74/0x78)
[ 601.041245] [<c09d24f4>] (rt_mutex_lock) from [<c0094e4c>] (__rt_down_read+0x3c/0x4c)
[ 601.041298] [<c0094e4c>] (__rt_down_read) from [<c0094e78>] (rt_down_read+0x1c/0x20)
[ 601.041515] [<c0094e78>] (rt_down_read) from [<bf0f0064>] (snd_usb_autoresume+0x24/0x60 [snd_usb_audio])
[ 601.041710] [<bf0f0064>] (snd_usb_autoresume [snd_usb_audio]) from [<bf0f43d4>] (snd_usb_mixer_set_ctl_value+0xb8/0x24c [snd_usb_audio])
[ 601.041895] [<bf0f43d4>] (snd_usb_mixer_set_ctl_value [snd_usb_audio]) from [<bf0f4764>] (snd_usb_set_cur_mix_value+0x7c/0xe4 [snd_usb_audio])
[ 601.042073] [<bf0f4764>] (snd_usb_set_cur_mix_value [snd_usb_audio]) from [<bf0f51c0>] (restore_mixer_value+0xa8/0xb0 [snd_usb_audio])
[ 601.042255] [<bf0f51c0>] (restore_mixer_value [snd_usb_audio]) from [<bf0f7104>] (snd_usb_mixer_resume+0x48/0x8c [snd_usb_audio])
[ 601.042426] [<bf0f7104>] (snd_usb_mixer_resume [snd_usb_audio]) from [<bf0ef078>] (__usb_audio_resume+0x78/0x104 [snd_usb_audio])
[ 601.042579] [<bf0ef078>] (__usb_audio_resume [snd_usb_audio]) from [<bf0ef120>] (usb_audio_reset_resume+0x1c/0x20 [snd_usb_audio])
[ 601.042705] [<bf0ef120>] (usb_audio_reset_resume [snd_usb_audio]) from [<c072c4f0>] (usb_resume_interface+0xa0/0x158)
[ 601.042768] [<c072c4f0>] (usb_resume_interface) from [<c072c7d0>] (usb_resume_both+0x80/0x14c)
[ 601.042822] [<c072c7d0>] (usb_resume_both) from [<c072d78c>] (usb_runtime_resume+0x20/0x24)
[ 601.042889] [<c072d78c>] (usb_runtime_resume) from [<c066d744>] (__rpm_callback+0x34/0x4c)
[ 601.042945] [<c066d744>] (__rpm_callback) from [<c066d78c>] (rpm_callback+0x30/0x90)
[ 601.042999] [<c066d78c>] (rpm_callback) from [<c066eb00>] (rpm_resume+0x438/0x6d8)
[ 601.043053] [<c066eb00>] (rpm_resume) from [<c066e96c>] (rpm_resume+0x2a4/0x6d8)
[ 601.043107] [<c066e96c>] (rpm_resume) from [<c066edfc>] (__pm_runtime_resume+0x5c/0x74)
[ 601.043163] [<c066edfc>] (__pm_runtime_resume) from [<c072c2b4>] (usb_autopm_get_interface+0x28/0x6c)
[ 601.043291] [<c072c2b4>] (usb_autopm_get_interface) from [<bf14a5dc>] (uvc_v4l2_open+0x50/0x140 [uvcvideo])
[ 601.043558] [<bf14a5dc>] (uvc_v4l2_open [uvcvideo]) from [<bf0ab5ec>] (v4l2_open+0xb4/0xf0 [videodev])
[ 601.043706] [<bf0ab5ec>] (v4l2_open [videodev]) from [<c01b4048>] (chrdev_open+0xbc/0x1a8)
[ 601.043765] [<c01b4048>] (chrdev_open) from [<c01adc58>] (do_dentry_open+0x1e4/0x310)
[ 601.043817] [<c01adc58>] (do_dentry_open) from [<c01ae960>] (vfs_open+0x70/0x78)
[ 601.043871] [<c01ae960>] (vfs_open) from [<c01bbe60>] (do_last+0x3c8/0xf08)
[ 601.043923] [<c01bbe60>] (do_last) from [<c01be618>] (path_openat+0x90/0x618)
[ 601.043975] [<c01be618>] (path_openat) from [<c01bfc08>] (do_filp_open+0x3c/0x90)
[ 601.044026] [<c01bfc08>] (do_filp_open) from [<c01aecbc>] (do_sys_open+0x11c/0x1e0)
[ 601.044075] [<c01aecbc>] (do_sys_open) from [<c01aedac>] (SyS_open+0x2c/0x30)
[ 601.044135] [<c01aedac>] (SyS_open) from [<c0010720>] (ret_fast_syscall+0x0/0x3c)
Processing triggers for initramfs-tools (0.103ubuntu4.2-1rcnee1~bpo1404+20151007+1) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-armv7-x3
WARNING: missing /lib/modules/4.4.0-armv7-x3
Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/4.4.0-armv7-x3: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_T9g7pP/lib/modules/4.4.0-armv7-x3/modules.order: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_T9g7pP/lib/modules/4.4.0-armv7-x3/modules.builtin: No such file or directory
RT plays with a lot of things to try and make the kernel tasks operate
in Real Time... It's a work and progress, looking at your dmesg, your
camera driver had issues with it. It was still 50/50 that it would
help, we just got lucky..
More than that, I seriously doubt an RT kernel is going to help with this type of situation. RT kernels are meant to help with real time situations, and camera applications do not to my knowledge do not need, or even want real time operation. In fact, I do believe if you do the research a real time kernel can potentially slow down disk access, disk caching, and the like.
For the most part, RT shouldn’t break anything.