Forums/Version 2/Knowledge base articles

Resolving 'No valid local video devices were detected.'

Curtis Hall
posted this on November 10, 2011 12:39

We require a Bluecherry (BC- series) analog capture card if you plan to connect analog cameras.

?name=media_1320949764067.png

This message means either the driver is not loaded, or a BC- series card is not detected. Make sure that you installed the solo6010-dkms module. If you haven't, you can run this command:

sudo apt-get install solo6010-dkms

Verify the driver is installed

?name=Verify_the_driver_is_installed.png

Run this command:

dpkg -l solo6010-dkms

The output should show the current version of the driver as shown above.

Verify your capture card shows up in lspci

?name=Verify_your_capture_card_shows_up_in_lspci.png

Verify that the card is detected in 'lspci'. Running lspci should show a Multimedia video controller:

curt@blackbox:~$ lspci |grep -i video
04:05.0 Multimedia video controller: Bluecherry BC-H16480A 16 port H.264 video and audio encoder / decoder

If the card shows up here, then restart the computer to see if the devices now populate in the setup interface.

Reinstall the driver

Currently there is a bug in the driver that causes a new module not to be built when a new kernel is installed.  This will be resolved in 2.3.8 of the driver, but for now you can run this command:

sudo apt-get install --reinstall solo6010-dkms

 

 

Comments

User photo
Cmanton

I had the same problem, but got it working differently.

1. My driver was not the same version:

$ dpkg -l solo6010-dkms
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  solo6010-dkms          2.4.0-1                Softlogic 6010 Video4Linux MPEG-4 Encoder/Decoder support

 

2. My device didn't show up exactly as described, but was visible...good enough.

$ lspci |grep -i video
02:05.0 Multimedia video controller: Bluecherry Device 5310

 

3. The module wasn't loaded, and didn't exist in the /lib/modules tree !

$ lsmod | grep solo6
$

$ find /lib/modules | grep solo6
$

4. Turns out I had to build the solo6 driver after dpkg it.

$ cd /usr/src/solo6010-2.4.0/ && make install

5. Would not load due to symbol resolution issues.

$ sudo dmesg

6. Had to explicitly install the dependent modules specified in

cat /usr/src/solo6010-2.4.0/solo6x10.mod.c  | egrep '"depends'

sudo modprobe videobuf-core

...

 

Got it running !! Now I have to see if the above steps are automated for after a reboot.  Any pointers would be welcome as to better ways to how I solved it.

January 14, 2012 23:02.
User photo
Cmanton

Forgot to add, had to signal the bc-server with USR1 to force a reload/restart.

January 14, 2012 23:33.
User photo
Cmanton

Found more time to play with it, and all I need to do at step 6 was this:

sudo depmod -a

I still need to ping the bc-server to re-poll the video devices because it seems the module loads after the bc-server starts, so there are no devices.  So I just needed to add this to a late init.d routine.  (Or you can manually do it with sudo)


kill -USR1 $(ps -efw | egrep '^999' | awk '{ print $2}'


January 15, 2012 23:08.
User photo
Curtis Hall
Bluecherry

I added a bug for the server process here:  http://improve.bluecherrydvr.com/issues/1066

January 16, 2012 01:16.