Quadriplegic needs help with software problem

I’m a Quadripligelic here to ask for help in using OpenSUSE and if anyone is wondering how I’m using a computer then look up Smartnav by NaturalPoint for more info on guiding the cursor using head movements. Windows and Mac only. They have no plans for Linux, I already asked them.

Linux now has a similar program which uses the webcam and it’s called Eviacam. It was developed in Catalonia and is free of charge. It’s available along with the source code at Sourceforge.net. I have it working on Ubuntu 9.10 installed along with Windows 7 and I am looking for someone to help me install it to Open Suse which I find to be a beautiful and slick distro. I’ve played around with it in Vbox and I find it to be clean compared with Ubuntu which is quite buggy.

Can anyone help this Quad and all disabled people to get onto OpenSUSE? There is very little in the way of these types of assistive technologies for Linux because of the costs but the Eviacam looks to be a success so far.

Thanks,
Alex

Hi
What version of openSUSE are you using?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 15:31, 2 users, load average: 0.29, 0.33, 0.33
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

Whilst testing and typing it seems Malcom has taken it on, perhaps it’ll help Malcom with the leg work.

Any way what i had typed out may help others looking to rebuild from a src.rpm.

Mmm I can’t test this but I did build it.

Now I really can’t remember exactly but here goes perhaps some with a build account will put it up for you.

I got the rpm from here Fedora People now this is fore fedora so I had some dependencies to find. First I hit it with rpmbuild this then led me to missing devel libs specifically…

opencv-devel wxGTK-devel libXtst-devel libXext-devel

Now these are wrong, xorg-x11-libXext-devel is the Suse version and the other from my googling I suspect is provided by xorg-x11-devel. So after trcaking that down I ammended the spec file tbh I removed both and just added xorg-x11-devel this built fine. As for whether its working I think it is but can’t find a device no surprise I’ve not got one plugged in.

So …

wget http://julian.fedorapeople.org/eviacam/packages/eviacam-1.2-1.fc12.src.rpm

2)This will unpack it into the build environment at /usr/src/packages but fail with dependencies

rpmbuild --rebuild /path/to/file/eviacam-1.2-1.fc12.src.rpm
sudo zypper in opencv-devel wxGTK-devel xorg-x11-devel xorg-x11-libXext-devel gcc-c++
  1. So now the spec file fix. You need to open the spec file at and fix to look like this one Name: eviacam Version: 1.2 - Anonymous - maLCDzjU - Pastebin.com changing as the highlighted line.
kwrite /usr/src/packages/SPECS/eviacam.spec

5)So now the spec file is fixed it should build fine with.

rpmbuild -bb /usr/src/packages/SPECS/eviacam.spec

6)Install

sudo zypper in /usr/src/packages/RPMS/i586/eviacam-1.2-1.i586.rpm

I going to suspect thats may be a little to convuluted hopefully someone else will persist further and put it onto a OBS home. Otherwise I’ve outline the way to achieve this.

11.2 in Vbox on Windows 7 but I want to run it normally. For that I would need the rpm you created. Any chance I could try it?

If not then I’ll have to wait for more help. Did I mention I prefer Gnome or does that matter? Kde is fine I have no problems with it.

Thanks for trying and for being the first to reply!

Hi
Just building on my netbook (as it has a webcam). I have some stuff to
do today (yard work) so will get a look at it later on and
(hopefully) put it up on the build service.

@FeatherMonkey thanks was playing on Factory with it, but dropped back
to 11.2 so thanks for that spec file :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 16:52, 2 users, load average: 0.25, 0.11, 0.08
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

I look forward to it - thanks again

BTW how did you know it was also on the Fedora people page? I never once Googled up Eviacam on Fedora. That’s amazing but I’m not crazy for Fedora. It’s hugely popular now but it’s beyond my comprehension as to why.

@alexandre100 I went to the src site and saw a fed rpm knowing that whilst different it is possible to tweak a Fed/RH src.rpm for Suse based system. I persisted and went looking for a src.rpm. So really just googled it. Unlike Malcom I have some very basic knowledge of rpm building so tend to borrow others work.

@Malcom NP have to admit thought you might be the one to put it up, nearly deleted what I had typed but thought hell I started so I’ll finish. Can’t claim much for the spec except some google skills.

As for libXtst-devel that baffled me a bit but I came to the conclusion the normal lib was in xorg-x11-lib. Therefore more hopefully guessed the x11-devel would be the one but having quite a clean environment I have to admit I downloaded a fair few deps.

Hi
I use the advanced features here to find other rpms for possible
conversion to openSUSE;
http://rpm.pbone.net/


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 17:27, 2 users, load average: 0.61, 0.17, 0.08
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

I just realized there are two of you. I never expected two people to reply so quickly after posting for the first time.

Much obliged and I shall be waiting patiently for whatever happens next. I have never been in a more responsive forum. This is great.

Hi
I just looked at the library it was looking for and found the
corresponding openSUSE lib file :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 17:50, 2 users, load average: 1.00, 0.49, 0.19
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

FeatherMonkey wrote:
> Unlike Malcom I have some very basic knowledge of rpm
> building so tend to borrow others work.

yep, need to send that Mal to school…


palladium

Hi
Have just realized the opencv from openSUSE is missing a config file
(ffmpeg related) so you need to see if packman can build it for you as
it can’t be built for openSUSE on the openSUSE Build Service.

See http://packman.links2linux.org/help and contact via the mailing
list or IRC to request it.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 19:20, 2 users, load average: 0.14, 0.10, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

Hi
So I’ve manually built the rpms and are available here until packman
can build…
http://www.fileden.com/files/2009/4/6/2393623/RPMs/Misc/eviacam-1.2.1-1.1.x86_64.rpm
http://www.fileden.com/files/2009/4/6/2393623/RPMs/Misc/eviacam-1.2.1-1.1.i586.rpm
http://www.fileden.com/files/2009/4/6/2393623/RPMs/Misc/eviacam-1.2.1-1.1.src.rpm


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 2 days 1:05, 3 users, load average: 0.09, 0.59, 0.63
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

OK so if I understand you correctly these rpm’s are missing that config file and Packman can do it but it could take some time. Should I post these to Packman or or have you done it already? I’m a little unclear on that. I guess I will wait to do the 64bit installation of OpenSUSE.

Hi
I have spoken with user Yaloki on IRC, I will send the details to
packman and it should get packaged up in due course :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 2 days 4:08, 3 users, load average: 0.08, 0.12, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

Hello Malcolm - Have you heard anything about the Eviacam stuff from Packman?

Alex

Hi Alex
No I haven’t, will send them a chaser :wink:

Did you try the ones I built?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 3 days 7:03, 3 users, load average: 2.11, 1.15, 0.60
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

No I thought they weren’t complete for some reason. Geez now I really feel a fool. Do they really work? Only one way to find out I guess.

I’m waiting on a friend to assist me, should be here in a couple of hours.

Thanks - I’ll get back to you about the rpms.

Hi
Yes they do work, I tested on my ASUS netbook. If they get onto
packman, the will be maintained for updates to associated packages etc.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 3 days 7:31, 3 users, load average: 0.15, 0.38, 0.41
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Hello again,

We installed the 64 bit OS and then did the massive update but the rpm could not install due to dependency problems related to opencv etc. I guess we’ll have to wait for Packman to sort it out. I can’t wait for them to finish up.