View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jul 11, 2006 3:36 pm 
Offline
Joined: Wed Dec 08, 2004 8:00 am
Posts: 43
Location: Oslo
Hi

Here's my setup:
-Asus motherboard (Asus A7N8X-E Deluxe)
-Terratec tuner (Cinergy 600 TV w/saa7134)
-Gainward GeForce FX 5200
-ATI Remote Wonder
-Logitech Dual Action Joypad (on /dev/js0)
-Saitek P880 USB joypad (on /dev/js1)
-Logitech MediaPlay USB mouse
-Creative USB Desktop Wireless 6000 (Mouse&Keyb)

I installed KnoppMyth R5C7.

After successful setup I followed two instructionsset on how to compile the subversion source of MythTV:

KnoppmythWiki/CompileCVS_MythTV
And:
svn.myth
Steps I did (I always 'get' and compile as root, don't like to mess around with different users during the process, bad of me?):
Code:
$ su root
$ mkdir ~mythtv/mythtvsrc
$ cd ~mythtv/mythtvsrc
$ svn co http://svn.mythtv.org/svn/trunk/mythtv
$ svn co http://svn.mythtv.org/svn/trunk/mythplugins
$ svn co http://svn.mythtv.org/svn/trunk/myththemes

$ /etc/init.d/mythtv-backend stop
$ cd mythtv
$ ./configure --prefix=/usr
$ export QTDIR=/usr/share/qt3
$ qmake mythtv.pro
$ make
$ make install

$ cd ../mythplugins
$ export QTDIR=/usr/share/qt3
$ qmake mythplugins.pro
$ make
$ make install

$ cd ../myththemes
$ export QTDIR=/usr/share/qt3
$ qmake myththemes.pro
$ make
$ make install


So, after this I had a perfectly good working version of the subervsion MythTV source.

But I wanted more, I also want the joystick to work, so I did the following:
KnoppMythWiki/JoystickMenuNavigationHowTo:
Code:
$ su mythtv
$ vi /home/mythtv/.mythtv/joystickmenurc

Because (it says in the wiki to do it as root, but the file belongs to mythtv):
Code:
-rw-r--r--   1 mythtv mythtv  840 Jul 11 22:53 joystickmenurc

The content:
Code:
devicename /dev/input/js0
button 2                    Escape
button 0                    I
button 3                    P
button 1                    Enter
axis   0    -32767  -15000  Left
axis   0     15000   32767  Right
axis   1    -32767  -15000  Up
axis   1     15000   32767  Down

Then in shell
Code:
$ chmod 777 /dev/js0


But this didn't work.

Still no joystick action here. Using "jstest /dev/js0" confirms that I have the device right. And also the buttons.

So I googled, and found this:
HOWTO_Gamepad_in_Mythfrontend
Code:
./configure --prefix=/usr --enable-joystick-menu

So having done that, i used "make clean" then "make" and "make install".

Stil no joystick action.

Question 1
What have I missed, is there anyone of you fine gentlemen who can point me in the right direction here?

Question 2
Also, I have two joysticks, and I'd really like it if they both worked so I didn't have to choose one before I navigate :)

Question 3
Then there is listed four units on my system, any ideas what they can be?
Code:
$ ls -al /dev/js*
crwxrwxrwx  1 root root 13, 0 Apr 10  2005 /dev/js0
crwxrwxrwx  1 root root 13, 1 Apr 10  2005 /dev/js1
cr--r--r--  1 root root 13, 2 Apr 10  2005 /dev/js2
cr--r--r--  1 root root 13, 3 Apr 10  2005 /dev/js3


I hope I've supplied enough info here for ya. If not I'll be happy to supply more if you tell me to pick it up. Please be overbearing; I'm a linux newbie.

Cheers!


Last edited by arnljot on Wed Jul 19, 2006 12:35 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: *bump*
PostPosted: Sat Jul 15, 2006 6:38 pm 
Offline
Joined: Wed Dec 08, 2004 8:00 am
Posts: 43
Location: Oslo
*bump*

Sorry if it's not allowed to bump, but please chastise me on PM if that's the case, and I'll never do it again.

But is there noone that has a clue as to what might be wrong with my setup here? :cry:

_________________
--
R5C7 user - Tier 2
Unsolved issue: Joypad problem


Top
 Profile  
 
 Post subject: The FIX:
PostPosted: Wed Jul 19, 2006 12:36 pm 
Offline
Joined: Wed Dec 08, 2004 8:00 am
Posts: 43
Location: Oslo
I finally figured out what was wrong.

Eventhough joytest worked, and gave the same test results for /dev/input/js1 and /dev/js1.

It turned out that MythTV would only work with /dev/js1

_________________
--
R5C7 user - Tier 2
Unsolved issue: Joypad problem


Top
 Profile  
 
 Post subject: Saitek wireless gamepad
PostPosted: Sat Nov 04, 2006 5:48 am 
Offline
Joined: Thu Aug 18, 2005 11:05 am
Posts: 5
run jstest --mode device. to find which port the device is located, press the buttons on the gamepad after running the command, if you have the right port you will see each buttom press on the screen.
try js0 - js3

jstest --normal /dev/js0

jstest --normal /dev/js1

and so on

change /home/mythtv/.mythtv/joystickmenurc
to match the device

devicename /dev/js0
button 2 Escape
button 0 I
button 3 P
button 1 Enter
axis 0 -32767 -15000 Left
axis 0 15000 32767 Right
axis 1 -32767 -15000 Up
axis 1 15000 32767 Down

good luck to all great mod thanks.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu