LinHES Forums http://forum.linhes.org/ |
|
R5C7 - joystickmenurc - joypad not responding [SOLVED] http://forum.linhes.org/viewtopic.php?f=2&t=10791 |
Page 1 of 1 |
Author: | arnljot [ Tue Jul 11, 2006 3: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! |
Author: | arnljot [ Sat Jul 15, 2006 6: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? ![]() |
Author: | arnljot [ Wed Jul 19, 2006 12:36 pm ] |
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 |
Author: | lovek [ Sat Nov 04, 2006 5: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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |