Forums/Bluecherry BC- series driver support/Hardware compression MPEG-4 / H.264 driver

Answered

Ubuntu 11.10 Driver support

Gary Davidson
asked this on November 08, 2011 08:26

I tried to install the solo drivers a couple of days/weeks ago and noticed that the  DKMS drivers did not compile correctly will this be fixed any time soon?

 

Comments

User photo
Curtis Hall
Bluecherry

Can you paste the error that you are getting during installation of the DKMS package?  Can you also attach /var/lib/dkms/solo6010-dkms/2.3.6-1/build/make.log

November 08, 2011 08:41
User photo
Gary Davidson

will do.. but later..

November 08, 2011 09:33
User photo
Gary Davidson

make -C /lib/modules/3.0.0-12-generic/build M=/usr/src/solo6x10 modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-12-generic'
CC [M] /usr/src/solo6x10/solo6010-core.o
/usr/src/solo6x10/solo6010-core.c: In function ‘solo6010_pci_probe’:
/usr/src/solo6x10/solo6010-core.c:429:2: error: implicit declaration of function ‘mdelay’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[2]: *** [/usr/src/solo6x10/solo6010-core.o] Error 1
make[1]: *** [_module_/usr/src/solo6x10] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-12-generic'
make: *** [all] Error 2

 

Could I just remove the warnings as errors?

November 08, 2011 11:19
User photo
Gary Davidson

Sorry forgot to say I'm pulling the source and compiling.. 

November 08, 2011 11:20
User photo
Veaceslav Falico
Ajax_loader_small Answer

Hi Gary,

We're currently working to support the upstream version, however it's really hard to follow it.

Try applying this patch https://gist.github.com/5b6d7730251f4778f611 to the source and build it. Also, you should have your kernel built with CONFIG_VIDEOBUF_DMA_CONTIG.


Thanks!

November 08, 2011 12:15
User photo
Gary Davidson

Ok after patching it works fine.. well at least it compiles.. dont have a card at home to test with

November 08, 2011 12:23
User photo
Curtis Hall
Bluecherry

Once you get a chance to test the card with a 11.10 install let us know if everything works fine.

November 08, 2011 13:44
User photo
Gary Davidson

Will do but the cards are only installed in our shops at the moment, and they are like 600km away ;) ill be there on Saturday to re-install a base system (using just a virtual-machine at the moment to test, and relinux to duplicate everything) 

I also had to drop back to a zoneminder installation, due to the bandwidth of the clients killing the internet (and our VPN) every time it was opened. Plus at the moment there is no motion detection for network cameras in your system.. I have confidence however that this will come soon ;)

November 08, 2011 14:07
User photo
tconway

Good day all, I believe my issue is related to this.  I'm running Ubuntu Server 11.10.  Bluecherry server is installed, working just fine.  I am still having trouble with the driver.

I am a complete Linux "noob", but I am trying hard to learn.  Please bear with me.  How would I apply the patch?  Here's how I've gone about the driver install so far:

 sudo apt-get install solo6010-dkms

Result>> Adding [solo6010-2.3.7] Module to DKMS build system Doing initial module build Error! Bad return status for module build on kernel: 3.0.0-12-server (x86_64) Consult /var/lib/dkms/solo6010/2.3.7/build/make.log for more information. dpkg: error processing solo6010-dkms (--configure):  subprocess installed post-installation script returned error exit status 10 Errors were encountered while processing:  solo6010-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)

My make.log says:

make: Entering directory `/usr/src/linux-headers-3.0.0-12-server'   LD      /var/lib/dkms/solo6010/2.3.7/build/built-in.o   CC [M]  /var/lib/dkms/solo6010/2.3.7/build/solo6010-core.o /var/lib/dkms/solo6010/2.3.7/build/solo6010-core.c: In function âsolo6010_pci_probeâ: /var/lib/dkms/solo6010/2.3.7/build/solo6010-core.c:428:2: error: implicit declaration of function âmdelayâ [-Werror=imp$ cc1: some warnings being treated as errors

make[1]: *** [/var/lib/dkms/solo6010/2.3.7/build/solo6010-core.o] Error 1 make: *** [_module_/var/lib/dkms/solo6010/2.3.7/build] Error 2 make: Leaving directory `/usr/src/linux-headers-3.0.0-12-server'

Anything that points me in the right direction would be greatly appreciated!

December 15, 2011 12:20
User photo
Curtis Hall
Bluecherry

We don't officially support 11.10, so you can either downgrade to a older version (or the LTS version), or try to download the latest driver from here: https://github.com/bluecherrydvr/solo6x10/zipball/master

Unzip it, then enter the directory and type: make ; sudo make install ; sudo depmod -a 

December 15, 2011 13:02
User photo
tconway

Ahh, understood and thanks for the information.  I'll give that a shot and see if it helps.

Thanks!

December 15, 2011 13:11