 |
knoppmyth.net The home of KnoppMyth.
|
| View previous topic :: View next topic |
| Author |
Message |
arnljot
Joined: 08 Dec 2004 Posts: 43 Location: Oslo
|
Posted: Tue Jul 11, 2006 1:36 pm Post subject: R5C7 - joystickmenurc - joypad not responding [SOLVED] |
|
|
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 10:35 am; edited 1 time in total |
|
| Back to top |
|
 |
arnljot
Joined: 08 Dec 2004 Posts: 43 Location: Oslo
|
Posted: Sat Jul 15, 2006 4:38 pm Post subject: *bump* |
|
|
*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?  _________________ --
R5C7 user - Tier 2
Unsolved issue: Joypad problem |
|
| Back to top |
|
 |
arnljot
Joined: 08 Dec 2004 Posts: 43 Location: Oslo
|
Posted: Wed Jul 19, 2006 10:36 am Post subject: The FIX: |
|
|
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 |
|
| Back to top |
|
 |
lovek
Joined: 18 Aug 2005 Posts: 5
|
Posted: Sat Nov 04, 2006 3:48 am Post subject: Saitek wireless gamepad |
|
|
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. |
|
| Back to top |
|
 |
|
|
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 vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|