You are not logged in.

#1 2008-02-07 02:41:54

clodhopper
Member
Registered: 2008-02-07
Posts: 31

jscalibrator and jscal/jstest will not compile.

Hi,
I'me new to Arch and love it except for my joystick...cat /dev/input/jso and the stick is registering all axis and buttons...But play any game and the stick is full bore to left.In ubuntu i used  jscal to set the left-right axis properly and then no probs.

So what chance is there of getting jscal/jstest on the repository or at least jscalibrator????,please.

Trying to compile any of the above and i get loads of errors,including;

jscalibrator= 'undefined reference to gxx personality',NB solution is use g++ compiler but thats not on repo either.
jscal/jstest='missing ()',solution not found.

Best Wishes to you all,Chris,

Offline

#2 2008-02-07 05:03:30

cuevaquebrada
Member
Registered: 2008-02-07
Posts: 5

Re: jscalibrator and jscal/jstest will not compile.

hey clodhopper,

i dont know what the chances are, but I just ran into your exact same problem today. I have a joystick, but it needs cali. Where did you get the source for jscal and jscalibrator? I would like to check it out, we might be able to work through this together.

thanks
matt


Ἐρατοσθένης

Offline

#3 2008-02-07 06:47:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: jscalibrator and jscal/jstest will not compile.

Check out joyutils in AUR: http://aur.archlinux.org/packages.php?d … =1&ID=6693

If you don't know about AUR and makepkg check out the wiki: http://wiki.archlinux.org/index.php/AUR

Edit: Also install the "base-devel" group (pacman -S base-devel).  AUR packages assume that you have it installed.

Last edited by Allan (2008-02-07 06:49:14)

Offline

#4 2008-02-07 14:47:36

clodhopper
Member
Registered: 2008-02-07
Posts: 31

Re: jscalibrator and jscal/jstest will not compile.

cuevaquebrada wrote:

hey clodhopper,

i dont know what the chances are, but I just ran into your exact same problem today. I have a joystick, but it needs cali. Where did you get the source for jscal and jscalibrator? I would like to check it out, we might be able to work through this together.

thanks
matt

jscalibrator is available at;
http://www.battlefieldlinux.com/wolfpack/libjsw/    libjsw includes jscalibrator.

jstest/jscal is available at;
ftp://atrey.karlin.mff.cuni.cz/pub/linu … .15.tar.gz

What stick you use mine is  saitek st 200 ?,has usb adapter and can also be used on gameport without.

Best wishes,chris.

Offline

#5 2008-02-07 14:49:51

clodhopper
Member
Registered: 2008-02-07
Posts: 31

Re: jscalibrator and jscal/jstest will not compile.

Allan wrote:

Check out joyutils in AUR: http://aur.archlinux.org/packages.php?d … =1&ID=6693

If you don't know about AUR and makepkg check out the wiki: http://wiki.archlinux.org/index.php/AUR

Edit: Also install the "base-devel" group (pacman -S base-devel).  AUR packages assume that you have it installed.

Thanks will check this out.BW Chris.

Offline

#6 2008-02-07 15:38:50

clodhopper
Member
Registered: 2008-02-07
Posts: 31

Re: jscalibrator and jscal/jstest will not compile.

Allan wrote:

Check out joyutils in AUR: http://aur.archlinux.org/packages.php?d … =1&ID=6693

If you don't know about AUR and makepkg check out the wiki: http://wiki.archlinux.org/index.php/AUR

Edit: Also install the "base-devel" group (pacman -S base-devel).  AUR packages assume that you have it installed.

when i try makepkg within the joyutils build directory on home/chris i get an error 'PKGBUILD does not exist.'.I have tried as user and as fakeroot .

BW,Chris.

Allan,

EDIT...OK found the PKGBUILD file,ho-hum,its just me getting used to the Arch way of things,still get an error though 'joyutils is not available for the i686 architecture' but of to investigate that.32 bit machine here btw,makes diference?.

EDIT.......PKGBUILD file needs a line  'arch=('i686')'  and above error gone  but new error  'validating source files.with md5 sums ...joyutils.tar.gz...failed.....'ERROR one or more files did not pass.........'.

Hope for your help here.

BW.

Last edited by clodhopper (2008-02-07 17:30:45)

Offline

#7 2008-02-08 06:55:22

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: jscalibrator and jscal/jstest will not compile.

I just had a look at this.  Man this package is old....  it hasn't been updated in three years and was for kernel versions prior to 2.4! 

I also found another version at http://linuxconsole.sourceforge.net/input/joystick.html and it appears that gentoo and debian use this.  I downloaded the code and patch from Debian and it built.

Hang on.... inpututils-cvs from AUR is what you want! It is what gentoo and debian call "joystick"

Offline

#8 2008-02-09 03:00:14

clodhopper
Member
Registered: 2008-02-07
Posts: 31

Re: jscalibrator and jscal/jstest will not compile.

Allan wrote:

I just had a look at this.  Man this package is old....  it hasn't been updated in three years and was for kernel versions prior to 2.4! 

I also found another version at http://linuxconsole.sourceforge.net/input/joystick.html and it appears that gentoo and debian use this.  I downloaded the code and patch from Debian and it built.

Hang on.... inpututils-cvs from AUR is what you want! It is what gentoo and debian call "joystick"

Thanks,but unsure what to do from here.Been onto the AUR and downloaded 'inpututils-cvs' also installed cvs with pacman but dont know what to do from here.I am going to look over your links above again to see what i can find out.But all help i am glad off.

BW,Chris.

Offline

#9 2008-02-09 03:50:29

clodhopper
Member
Registered: 2008-02-07
Posts: 31

Re: jscalibrator and jscal/jstest will not compile.

Success!!!!!!!,

Extracted the cvs files,cd'd to the directory and did a makepkg which did some downloading and created a src directory.cd'd to that and did a make.jscal and jstest compiled ok .Make install came up with an error so copied the new  jscal and jstest binaries over to a new directory  and ran my old (ubuntu) calibration file after amending path to jscal .

Joystick now working just fine.Back on track literally.I will say  the above is a bit of a hack and i will find out how to do things properly.This Saitek stick does have its left-right axis transposed compared with most generic sticks so jscal has to be run and the calibration file saved and  tweaked.Then used prior to gameplay..

Incidentally,Tuxracer framerates in;UBUNTU 40-60,much tweaked Win98 60-100,Arch 110-200. Arch seems to be the fastest OS i have ever been on!.

Best Wishes Chris.

PS.Allan,should this thread be now marked as solved,how do you do that?.Yes see your point about renaming inpututils joystick.

Last edited by clodhopper (2008-02-09 14:27:16)

Offline

Board footer

Powered by FluxBB