Notices


Reply
Thread Tools
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#161
Originally Posted by smoku View Post
You want us to sponsor you one?
thanks haha
 
Posts: 152 | Thanked: 49 times | Joined on Dec 2009
#162
Originally Posted by f2thak View Post
wont let me install sixaxis-support due to kernels ??
tried apt-get?
 

The Following User Says Thank You to CrckMc For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#163
Originally Posted by CrckMc View Post
tried apt-get?
thanks, had to do apt-get -f install first to fix kernels

then apt-get install sixaxis-support

think its installed now, but dont have controller to config and test
.
..

Last edited by F2thaK; 2010-02-06 at 11:00.
 
Posts: 152 | Thanked: 49 times | Joined on Dec 2009
#164
i installed everything, got a connection but i can't map buttons in DrNokSnes any advice?

Edit:
/home/user # jstest /dev/input/js0

shows me that he detects the controls, where can i check i they get translated?

Last edited by CrckMc; 2010-02-06 at 10:05.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#165
Originally Posted by smoku View Post
Unfortunetely the stock kernel does not support mouse and joystick at all, so you need to flash the kernel to.
(I tried insmod'ing the modules on standard kernel, but the devices did not appear.)
I'm a bit late to the party, but which modules and devices exactly are we talking about here ? I know for sure that joystick module(s) *do* work to an extent as accelemote is used to feed them with events (used in, for example, Ur Quan Masters).
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Posts: 152 | Thanked: 49 times | Joined on Dec 2009
#166
oh man i'm such an idiot

i wanted to start from scratch so i removed kernel-modules and kernel

knowing that this wasn't the best idea i made a backup of my files but now i can really start from scratch lol



EDIT:

After restoring my backup and reinstalling everything i'm still stuck with a connected sixaxis but no keys are recognized

Can it be that some other program inteferes?

Last edited by CrckMc; 2010-02-06 at 12:37.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#167
Originally Posted by wickedgtr1 View Post
is there any process (ps -ef | grep ????) that I can look for to see if the key-mapper is running ? or something I can test with ?

Side note -- is your installer/package optified ?
You may look at /tmp/Xorg.0.log to see whether the joystick driver was loaded and enabled.

You may test the joystick with: jstest /dev/input/js0

SixAd is optified. The rest does not need to.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 258 | Thanked: 138 times | Joined on Oct 2009 @ St. Louis, MO, USA
#168
Originally Posted by smoku View Post
I've updated the kernel and kernel packages yesterday with properly build ones from the original sources. If you used any of my .install files, you have 'Xiaoka Maemo Extras' repository added to application manager. Just install sixaxis-support package and do an update - this will update your kernel packages.
I did all that (I had to update via apt, but still worked)... and I have the same symptom. It keeps asking me to connect (5-6 times), then it gives up. I see there is sixad-bin running, so I assume it launched properly. Are there any tests I can perform to ensure things are running the way they're supposed to? (e.g. proper kernel, modules loaded, sixad ready, etc).

there is nothing under /dev/input/js*, so something isn't right.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#169
Some checkpoints:

Code:
Nokia-N900-51-1:~# dpkg -l kernel kernel-modules xserver-xorg-input-joystick sixad
ii  kernel                            2.6.28-20094803.3+0m5+0hid0
ii  kernel-modules                    2.6.28-20094803.3+0m5+0hid0
ii  sixad                             1.2.0-0maemo0
ii  xserver-xorg-input-joystick       1:1.5.0-1maemo0

Nokia-N900-51-1:~# ls -l /etc/udev/rules.d/98-sixad.rules /usr/sbin/sixad-udev /usr/share/hal/fdi/policy/20thirdparty/x11-sony-sixaxis.fdi /dev/input/js0
crw-rw-r--    1 root     root      13,   0 Feb  6 16:11 /dev/input/js0
-rw-r--r--    1 root     root          333 Feb  2 22:40 /etc/udev/rules.d/98-sixad.rules
-rwxr-xr-x    1 root     root          607 Feb  2 23:23 /usr/sbin/sixad-udev
lrwxrwxrwx    1 root     root           69 Feb  2 23:36 /usr/share/hal/fdi/policy/20thirdparty/x11-sony-sixaxis.fdi -> /opt/maemo/usr/share/hal/fdi/policy/20thirdparty/x11-sony-sixaxis.fdi

Nokia-N900-51-1:~# lsmod | grep joydev
joydev                 10368  1 

Nokia-N900-51-1:~# grep -i joy /tmp/Xorg.0.log 
(II) Loading /usr/lib/xorg/modules/input/joystick_drv.so
(II) Module joystick: vendor="X.Org Foundation"
(II) Joystick: PLAYSTATION(R)3 Controller (00:23:06:BA:BE:C8). bus 0x5 vendor 0x54c product 0x268 version 0x100
(II) Joystick: found 29 axes, 17 buttons
JOYSTICK: DebugLevel set to 0

Nokia-N900-51-1:~# ps -e | grep six
 1417 root      1660 S    /usr/sbin/sixad-bin 1 1 1 1 1 0 
 4562 root      1652 S    /usr/sbin/sixad-uinput-sixaxis 1 00:23:06:BA:BE:XX 
 4596 root      2088 R    grep six
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#170
Originally Posted by twoboxen View Post
there is nothing under /dev/input/js*, so something isn't right.
As root do:
Code:
insmod joydev
lsmod | grep joydev
Did you get any errors?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:34.