Notices


Reply
Thread Tools
Posts: 17 | Thanked: 1 time | Joined on Jan 2010
#41
Hi Smoku,
i try to download sixaxisd from this link:

http://mail.pdaxrom.org/downloads/PS...-0.2.1.tar.bz2

I try to compile with Maemo SDK Image for VMWare. I extract this TAR.BZ2 and from Terminal i just type MAKE.
Now i have the compiled SIXAXISD.
I transfer to N900 in directory /usr/bin and after Permission Denied to lunch these, i type CHMOD 777 sixaxisd.
The results is this error:

/usr/bin/sixaxisd: line 1: syntax error: "(" unexpected

Where I wrong?

If you send me your compiled sixaxisd, i should not have problems? Or I miss the libraries?
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#42
Originally Posted by puffo83 View Post
If you send me your compiled sixaxisd, i should not have problems? Or I miss the libraries?
Here you are...

I also attached sixpair compiled on Ubuntu.
Attached Files
File Type: gz sixaxisd.gz (6.5 KB, 350 views)
File Type: gz sixpair.gz (4.4 KB, 308 views)
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following User Says Thank You to smoku For This Useful Post:
Posts: 17 | Thanked: 1 time | Joined on Jan 2010
#43
Thanks Smoku! Your compiled sixaxisd now work.
Listening for connections state.
But when i press PS button, sixaxis try to connect to n900 for 5 - 6 time but not concluded connection.
Why?
Is possible that i jump this procedure, and not connect correctly?

[sbox-MaemoKernel: ~/maemo_kernel/kernel-2.6.28] > patch .config < ../rx51_defconfig+mouse+joystick.diff
[sbox-MaemoKernel: ~/maemo_kernel/kernel-2.6.28] > make EXTRAVERSION=-omap1 oldconfig
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#44
Does anyone know if this controller would work?
http://shop.01media.com/info.asp?ProductID=38339
I assume it does, but you can never be too sure.
 

The Following User Says Thank You to ToJa92 For This Useful Post:
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#45
Originally Posted by puffo83 View Post
But when i press PS button, sixaxis try to connect to n900 for 5 - 6 time but not concluded connection.
Have you "paired" your sixaxis with your N900 using sixpair?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 17 | Thanked: 1 time | Joined on Jan 2010
#46
Yes Smoku.
The Sixaxis connect to N900 correctly but N900 not establish the connection.
To N900 appear the message that Sixaxis try to connect. Accept? Yes or No?
Even if I press Yes, it asks me continuously for 5 - 6 time.

I followed closely your guide, but I missed part of the kernel:

[sbox-MaemoKernel: ~/maemo_kernel/kernel-2.6.28] > patch .config < ../rx51_defconfig+mouse+joystick.diff
[sbox-MaemoKernel: ~/maemo_kernel/kernel-2.6.28] > make EXTRAVERSION=-omap1 oldconfig

Is possible that I avoid these 2 steps, my N900can not connect to the Sixaxis?
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#47
These steps are for the ones wanting to compile kernel themselves.

You cannot normally connect sixaxis to N900, because BlueZ 4 used by Maemo5 does not support device initiated connections yet.

You need to run sixaxisd first and press PS button after you have it listening for connections.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#48
farkkk yeah! keep it up man. would be great if you can make the bluetooth stack up more than 1 controller.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#49
sixaxisd is able to handle up to 7 controllers
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 17 | Thanked: 1 time | Joined on Jan 2010
#50
Smoku,
I run sixaxisd first and press PS button after i have it listening for connections.
The 2 line of compiling kernel is necessary?
I type this line for insert and flashed the new module:

/home/user # mv *.ko /lib/modules/2.6.28-omap1/
$ sudo flasher-3.5 -f -k sbhome/..../kernel-2.6.28/arch/arm/boot/zImage -R

First i power on the N900 with 'U' key pressed and the flasher, flashed correctly!

Smoku, il possible chat with you with MSN or IRC? I don't have Jabber
Very Thanks!

Last edited by puffo83; 2010-02-02 at 11:24.
 

The Following User Says Thank You to puffo83 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 07:47.